:root {
    --fastbgp-ink: #07111f;
    --fastbgp-navy: #0b1728;
    --fastbgp-muted: #64748b;
    --fastbgp-line: #dce5ef;
    --fastbgp-lime: #72ff22;
    --fastbgp-blue: #1b66ff;
}

.fastbgp-registration-page {
    background:
        radial-gradient(circle at 10% 12%, rgba(114, 255, 34, .10), transparent 26rem),
        radial-gradient(circle at 88% 82%, rgba(27, 102, 255, .10), transparent 30rem),
        #f5f8fc;
    color: var(--fastbgp-ink);
}

.fastbgp-registration-page #header,
.fastbgp-registration-page .master-breadcrumb,
.fastbgp-registration-page #footer,
.fastbgp-registration-page .sidebar,
.fastbgp-registration-page .sidebar-secondary,
.fastbgp-registration-page > .alert,
.fastbgp-registration-page #main-body > .container > .row > [class*="col-lg-4"] {
    display: none !important;
}

.fastbgp-registration-page #main-body,
.fastbgp-registration-page #main-body > .container,
.fastbgp-registration-page #main-body > .container > .row,
.fastbgp-registration-page .primary-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.fastbgp-registration-page .primary-content {
    flex: 0 0 100%;
}

.fastbgp-registration-page #main-body {
    min-height: 100vh;
}

.fastbgp-register-topbar {
    min-height: 64px;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(7, 17, 31, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.fastbgp-register-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.fastbgp-register-brand:hover { color: #fff; text-decoration: none; }

.fastbgp-register-brand-mark {
    display: inline-grid;
    place-items: center;
    min-width: 84px;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    color: #07111f;
    background: var(--fastbgp-lime);
    box-shadow: 0 8px 30px rgba(114, 255, 34, .18);
}

.fastbgp-register-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fastbgp-register-nav a {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 999px;
}

.fastbgp-register-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

.fastbgp-register-layout {
    width: min(960px, calc(100% - 48px));
    min-height: 600px;
    margin: 28px auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 36px 90px -52px rgba(15, 23, 42, .58);
}

/* WHMCS defines #registration with zero margins; keep the branded card centered. */
.fastbgp-registration-page #registration.fastbgp-register-layout {
    margin: 28px auto;
}

.fastbgp-register-panel {
    padding: 38px 42px 34px;
}

.fastbgp-register-eyebrow {
    color: var(--fastbgp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fastbgp-register-title {
    margin: 9px 0 6px;
    color: var(--fastbgp-ink);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.045em;
}

.fastbgp-register-subtitle {
    margin: 0 0 23px;
    color: var(--fastbgp-muted);
    font-size: 13px;
    line-height: 1.7;
}

.fastbgp-register-subtitle a { color: var(--fastbgp-blue); font-weight: 700; }

.fastbgp-register-form .form-group { margin-bottom: 14px; }

.fastbgp-register-form label:not(.fastbgp-policy-check) {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.fastbgp-register-form .form-control,
.fastbgp-register-form input[type="email"],
.fastbgp-register-form input[type="password"],
.fastbgp-register-form input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: var(--fastbgp-ink);
    border: 1px solid var(--fastbgp-line);
    border-radius: 11px;
    background: #f8fafc;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.fastbgp-register-form .form-control:focus,
.fastbgp-register-form input:focus {
    border-color: var(--fastbgp-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 102, 255, .10);
    outline: 0;
}

.fastbgp-register-form .field-help-text {
    display: block;
    margin-top: 7px;
    color: var(--fastbgp-muted);
    font-size: 11px;
}

.fastbgp-register-password-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fastbgp-register-form #passwdFeedback {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.fastbgp-register-form .password-strength-meter { margin: -3px 0 14px; }
.fastbgp-register-form .password-strength-meter .progress { height: 5px; border-radius: 999px; }
.fastbgp-register-form .password-strength-meter p { margin: 7px 0 0; text-align: left !important; }

.fastbgp-policy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 17px;
    color: #475569;
    font-size: 11px;
    line-height: 1.7;
}

.fastbgp-policy-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--fastbgp-blue);
}

.fastbgp-policy-check a { color: var(--fastbgp-blue); font-weight: 700; }

.fastbgp-register-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    color: #07111f;
    background: var(--fastbgp-lime);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 16px 34px -18px rgba(85, 210, 20, .75);
}

.fastbgp-register-submit:hover,
.fastbgp-register-submit:focus {
    color: #07111f;
    background: #8aff4a;
    transform: translateY(-1px);
}

.fastbgp-register-visual {
    position: relative;
    min-height: 600px;
    padding: 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background: #07162a url('../register-network-hero-v1.png') center / cover no-repeat;
    isolation: isolate;
}

.fastbgp-register-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3, 14, 31, .88) 0%, rgba(3, 14, 31, .46) 52%, rgba(3, 14, 31, .86) 100%);
}

.fastbgp-register-visual-badge {
    align-self: flex-start;
    padding: 7px 10px;
    border: 1px solid rgba(114, 255, 34, .45);
    border-radius: 999px;
    color: #c9ffac;
    background: rgba(4, 19, 34, .58);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.fastbgp-register-visual h2 {
    max-width: 330px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.fastbgp-register-visual p {
    max-width: 330px;
    margin: 12px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.75;
}

.fastbgp-register-benefits {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.fastbgp-register-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eef6ff;
    font-size: 12px;
    font-weight: 600;
}

.fastbgp-register-benefits li::before {
    content: '';
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: var(--fastbgp-lime);
    box-shadow: 0 0 18px rgba(114, 255, 34, .9);
}

.fastbgp-register-assurance {
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: .04em;
}

.fastbgp-registration-page .alert {
    border: 0;
    border-radius: 12px;
    font-size: 13px;
}

@media (max-width: 860px) {
    .fastbgp-register-layout {
        width: min(620px, calc(100% - 28px));
        grid-template-columns: 1fr;
    }
    .fastbgp-registration-page #registration.fastbgp-register-layout { margin: 24px auto; }
    .fastbgp-register-visual {
        min-height: 330px;
        order: -1;
        padding: 34px;
    }
    .fastbgp-register-visual h2 { max-width: 430px; font-size: 34px; }
    .fastbgp-register-visual p { max-width: 430px; }
    .fastbgp-register-panel { padding: 38px 34px 34px; }
}

@media (max-width: 560px) {
    .fastbgp-register-topbar { min-height: 66px; padding: 0 18px; }
    .fastbgp-register-brand { font-size: 16px; }
    .fastbgp-register-brand-mark { min-width: 88px; height: 36px; }
    .fastbgp-register-nav .fastbgp-home-link { display: none; }
    .fastbgp-register-layout { width: calc(100% - 20px); border-radius: 20px; }
    .fastbgp-register-panel { padding: 30px 22px 26px; }
    .fastbgp-register-visual { min-height: 290px; padding: 28px 24px; }
    .fastbgp-register-password-grid { grid-template-columns: 1fr; gap: 0; }
}

/* Dedicated Fast-BGP portal home and login */
.fastbgp-public-homepage #main-body > .container,
.fastbgp-public-login #main-body > .container { max-width: 1180px; }
.fastbgp-public-homepage #main-body .primary-content,
.fastbgp-public-login #main-body .primary-content { width: 100%; }

.fastbgp-portal-home,
.fastbgp-login-shell { font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
.fastbgp-portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    overflow: hidden;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(30, 58, 88, .07);
}
.fastbgp-portal-hero > div:first-child { padding: 46px; }
.fastbgp-portal-kicker,
.fastbgp-login-kicker { color: var(--fastbgp-client-blue); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.fastbgp-portal-hero h1 { margin: 12px 0 14px; color: var(--fastbgp-client-ink); font-size: 34px; font-weight: 900; letter-spacing: -.045em; }
.fastbgp-portal-hero p { max-width: 700px; margin: 0; color: #637389; font-size: 13px; line-height: 1.9; }
.fastbgp-portal-actions { display: flex; gap: 10px; margin-top: 26px; }
.fastbgp-portal-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 9px; font-size: 12px; font-weight: 850; }
.fastbgp-portal-actions .primary { color: #fff; background: var(--fastbgp-client-blue); }
.fastbgp-portal-actions .secondary { border: 1px solid #d9e2ed; color: #455a70; background: #fff; }
.fastbgp-portal-hero-panel { display: flex; flex-direction: column; justify-content: center; padding: 38px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(100,255,28,.18), transparent 34%), linear-gradient(145deg, #07172e, #0b2447); }
.fastbgp-portal-hero-panel span { color: #9fb4cc; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.fastbgp-portal-hero-panel strong { margin: 12px 0 26px; font-size: 20px; line-height: 1.5; }
.fastbgp-portal-hero-panel a { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid rgba(100,255,28,.48); border-radius: 9px; color: #b9ff95; font-size: 11px; font-weight: 800; }
.fastbgp-portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.fastbgp-portal-grid > a { min-height: 148px; padding: 24px; border: 1px solid var(--fastbgp-client-line); border-radius: 14px; color: var(--fastbgp-client-ink); background: #fff; box-shadow: 0 5px 18px rgba(30,58,88,.04); }
.fastbgp-portal-grid > a:hover { transform: translateY(-2px); border-color: #aec8ff; text-decoration: none; box-shadow: 0 12px 28px rgba(34,108,255,.09); }
.fastbgp-portal-grid i { display: block; margin-bottom: 18px; color: var(--fastbgp-client-blue); font-size: 20px; }
.fastbgp-portal-grid strong { display: block; margin-bottom: 7px; font-size: 14px; }
.fastbgp-portal-grid span { color: #718095; font-size: 11px; line-height: 1.7; }
.fastbgp-portal-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 22px 26px; border: 1px solid var(--fastbgp-client-line); border-radius: 14px; background: #f9fbfe; }
.fastbgp-portal-bottom span { display: block; color: var(--fastbgp-client-blue); font-size: 10px; font-weight: 850; }
.fastbgp-portal-bottom strong { color: var(--fastbgp-client-ink); font-size: 12px; }
.fastbgp-portal-bottom > div:last-child { display: flex; gap: 8px; }
.fastbgp-portal-bottom a { padding: 9px 12px; border: 1px solid #d9e2ed; border-radius: 8px; color: #526477; background: #fff; font-size: 11px; font-weight: 750; }

.fastbgp-login-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); overflow: hidden; max-width: 930px; margin: 0 auto; border: 1px solid var(--fastbgp-client-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 46px rgba(30,58,88,.1); }
.fastbgp-login-form-side { padding: 38px 44px; }
.fastbgp-login-form-side h1 { margin: 10px 0 8px; color: var(--fastbgp-client-ink); font-size: 29px; font-weight: 900; letter-spacing: -.04em; }
.fastbgp-login-form-side > p { margin-bottom: 24px; color: #718095; font-size: 12px; }
.fastbgp-login-form-side .login-form { padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.fastbgp-login-form-side .login-form::before { display: none !important; }
.fastbgp-login-form-side label { color: #536477; font-size: 11px; font-weight: 800; }
.fastbgp-login-label-row { display: flex; align-items: center; justify-content: space-between; }
.fastbgp-login-label-row a { color: var(--fastbgp-client-blue); font-size: 10px; font-weight: 750; }
.fastbgp-login-remember { display: flex; align-items: center; gap: 7px; margin: 4px 0 16px; font-weight: 650 !important; }
.fastbgp-login-register { margin: 16px 0 0 !important; text-align: center; }
.fastbgp-login-register a { color: var(--fastbgp-client-blue); font-weight: 800; }
.fastbgp-login-assurance { display: flex; flex-direction: column; justify-content: space-between; padding: 38px; color: #fff; background: radial-gradient(circle at 92% 12%, rgba(100,255,28,.17), transparent 32%), linear-gradient(150deg,#061328,#0b2b52); }
.fastbgp-login-assurance-pill { align-self: flex-start; padding: 8px 11px; border: 1px solid rgba(100,255,28,.5); border-radius: 999px; color: #baff9a; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.fastbgp-login-assurance h2 { margin: 34px 0 12px; font-size: 25px; font-weight: 900; line-height: 1.35; }
.fastbgp-login-assurance p { color: #aabbd0; font-size: 11px; line-height: 1.8; }
.fastbgp-login-assurance ul { margin: 23px 0 0; padding: 0; list-style: none; }
.fastbgp-login-assurance li { display: flex; gap: 9px; margin: 11px 0; color: #e1eaf5; font-size: 11px; }
.fastbgp-login-assurance li i { color: #64ff1c; }
.fastbgp-login-assurance > a { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; color: #baff9a; font-size: 11px; font-weight: 850; }

@media (max-width: 900px) {
    .fastbgp-portal-hero, .fastbgp-login-card { grid-template-columns: 1fr; }
    .fastbgp-portal-grid { grid-template-columns: repeat(2, 1fr); }
    .fastbgp-login-assurance { min-height: 330px; }
}
@media (max-width: 560px) {
    .fastbgp-portal-hero > div:first-child, .fastbgp-login-form-side { padding: 28px 22px; }
    .fastbgp-portal-hero-panel, .fastbgp-login-assurance { padding: 28px 22px; }
    .fastbgp-portal-hero h1, .fastbgp-login-form-side h1 { font-size: 27px; }
    .fastbgp-portal-actions, .fastbgp-portal-bottom { align-items: stretch; flex-direction: column; }
    .fastbgp-portal-actions a { justify-content: center; }
    .fastbgp-portal-grid { grid-template-columns: 1fr; }
    .fastbgp-portal-bottom > div:last-child { width: 100%; }
    .fastbgp-portal-bottom a { flex: 1; text-align: center; }
}

/* Fast-BGP authenticated client workspace */
.fastbgp-client-logged-in {
    --fastbgp-client-navy: #071526;
    --fastbgp-client-navy-soft: #0d2037;
    --fastbgp-client-blue: #226cff;
    --fastbgp-client-lime: #72ff22;
    --fastbgp-client-ink: #101c2c;
    --fastbgp-client-muted: #66758a;
    --fastbgp-client-line: #e3eaf2;
    --fastbgp-client-bg: #f3f7fb;
    min-height: 100vh;
    color: var(--fastbgp-client-ink);
    background: var(--fastbgp-client-bg);
}

.fastbgp-client-logged-in #header,
.fastbgp-client-logged-in .master-breadcrumb {
    display: none;
}

.fastbgp-client-topbar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    left: 0;
    height: 64px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: var(--fastbgp-client-navy);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.fastbgp-client-topbar a { text-decoration: none; }

.fastbgp-client-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.fastbgp-client-topbar-brand:hover { color: #fff; }

.fastbgp-client-topbar-mark {
    padding: 7px 13px;
    border-radius: 10px;
    color: #07111f;
    background: var(--fastbgp-client-lime);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.fastbgp-client-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fastbgp-client-topbar-actions > a {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9px;
    color: #cbd6e4;
    font-size: 12px;
    font-weight: 700;
    transition: color .18s ease, background .18s ease;
}

.fastbgp-client-language-trigger {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 9px;
    color: #cbd6e4;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
}
.fastbgp-client-language-trigger:hover,
.fastbgp-client-language-trigger:focus { color: #fff; background: rgba(255,255,255,.08); outline: 0; }

.fastbgp-client-topbar-actions > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.fastbgp-client-account-link {
    margin-left: 4px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.fastbgp-client-nav {
    position: fixed;
    z-index: 1030;
    top: 64px;
    bottom: 0;
    left: 0;
    width: 218px;
    padding: 24px 14px 18px;
    display: flex;
    flex-direction: column;
    color: #c8d3e0;
    background: #0b1b2e;
    box-shadow: 1px 0 0 rgba(255, 255, 255, .05);
}

.fastbgp-client-nav-label {
    margin: 0 10px 13px;
    color: #6f8095;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.fastbgp-client-nav nav,
.fastbgp-client-nav-footer {
    display: grid;
    gap: 4px;
}

.fastbgp-client-nav nav a,
.fastbgp-client-nav-footer a {
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 9px;
    color: #b9c6d5;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.fastbgp-client-nav nav a i,
.fastbgp-client-nav-footer a i {
    width: 17px;
    color: #7790aa;
    text-align: center;
}

.fastbgp-client-nav nav a:hover,
.fastbgp-client-nav-footer a:hover,
.fastbgp-client-nav nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .075);
}

.fastbgp-client-nav nav a.active {
    box-shadow: inset 3px 0 0 var(--fastbgp-client-lime);
}

.fastbgp-client-nav nav a.active i { color: var(--fastbgp-client-lime); }

.fastbgp-client-nav-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.fastbgp-client-logged-in #main-body {
    min-height: calc(100vh - 64px);
    margin: 64px 0 0 218px;
    padding: 26px;
    background: var(--fastbgp-client-bg);
}

.fastbgp-client-logged-in #main-body > .container {
    width: 100%;
    max-width: 1380px;
}

.fastbgp-client-logged-in footer.footer {
    display: none !important;
}

.fastbgp-client-dashboard-page #main-body > .container > .row > .col-lg-4,
.fastbgp-client-dashboard-page #main-body > .container > .row > .col-xl-3 {
    display: none;
}

.fastbgp-client-dashboard-page #main-body .primary-content {
    flex: 0 0 100%;
    max-width: 100%;
}

.fastbgp-dashboard {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.fastbgp-dashboard-hero {
    min-height: 166px;
    padding: 28px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(34, 108, 255, .34), transparent 33%),
        linear-gradient(125deg, #071526 0%, #0b2038 64%, #0c2842 100%);
    box-shadow: 0 12px 34px rgba(9, 27, 47, .11);
}

.fastbgp-dashboard-hero::after {
    content: '';
    position: absolute;
    top: -76px;
    right: -30px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(114, 255, 34, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(34, 108, 255, .035), 0 0 0 88px rgba(34, 108, 255, .025);
}

.fastbgp-dashboard-hero > * { position: relative; z-index: 1; }

.fastbgp-dashboard-kicker {
    display: block;
    margin-bottom: 9px;
    color: #a9ff7b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.fastbgp-dashboard-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    letter-spacing: -.04em;
}

.fastbgp-dashboard-hero p {
    max-width: 610px;
    margin: 8px 0 0;
    color: #b9c9da;
    font-size: 13px;
    line-height: 1.7;
}

.fastbgp-dashboard-hero-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.fastbgp-dashboard-btn {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.fastbgp-dashboard-btn:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
.fastbgp-dashboard-btn.secondary { background: rgba(255, 255, 255, .075); }
.fastbgp-dashboard-btn.primary { border-color: var(--fastbgp-client-lime); color: #071526; background: var(--fastbgp-client-lime); }
.fastbgp-dashboard-btn.primary:hover { color: #071526; }

.fastbgp-dashboard-stats {
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fastbgp-dashboard-stats > a {
    min-height: 86px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 14px;
    color: var(--fastbgp-client-ink);
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 58, 88, .045);
    text-decoration: none;
}

.fastbgp-dashboard-stats > a:hover { border-color: #cbd8e7; text-decoration: none; transform: translateY(-1px); }
.fastbgp-dashboard-stats > a > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.fastbgp-dashboard-stats small { color: var(--fastbgp-client-muted); font-size: 11px; font-weight: 700; }
.fastbgp-dashboard-stats strong { color: var(--fastbgp-client-ink); font-size: 23px; line-height: 1.05; }
.fastbgp-dashboard-stats > a > .fa-chevron-right { margin-left: auto; color: #b4c0cf; font-size: 10px; }

.fastbgp-dashboard-stat-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 15px;
}

.fastbgp-dashboard-stat-icon.blue { color: #226cff; background: #eaf1ff; }
.fastbgp-dashboard-stat-icon.amber { color: #e38a0a; background: #fff4df; }
.fastbgp-dashboard-stat-icon.green { color: #249e62; background: #e7f8ef; }

.fastbgp-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 16px;
}

.fastbgp-dashboard-main,
.fastbgp-dashboard-aside {
    display: grid;
    align-content: start;
    gap: 16px;
}

.fastbgp-dashboard-card {
    padding: 22px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 58, 88, .04);
}

.fastbgp-dashboard-card-head {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fastbgp-dashboard-card-head span {
    display: block;
    margin-bottom: 3px;
    color: #7d8da1;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fastbgp-dashboard-card-head h2,
.fastbgp-advisor-card h2 {
    margin: 0;
    color: var(--fastbgp-client-ink);
    font-size: 17px;
    font-weight: 800;
}

.fastbgp-dashboard-card-head > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fastbgp-client-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.fastbgp-service-ready,
.fastbgp-service-empty {
    min-height: 126px;
    padding: 19px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e7edf4;
    border-radius: 13px;
    background: #f8fafc;
}

.fastbgp-service-ready > span,
.fastbgp-service-empty > span {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #226cff;
    background: #e7efff;
}

.fastbgp-service-ready > span { color: #198b53; background: #e5f7ed; }
.fastbgp-service-ready strong,
.fastbgp-service-empty strong { display: block; color: var(--fastbgp-client-ink); font-size: 14px; }
.fastbgp-service-ready p,
.fastbgp-service-empty p { margin: 5px 0 0; color: var(--fastbgp-client-muted); font-size: 12px; line-height: 1.65; }
.fastbgp-service-empty > a { margin-left: auto; flex: 0 0 auto; color: var(--fastbgp-client-blue); font-size: 11px; font-weight: 800; }

.fastbgp-dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.fastbgp-dashboard-shortcuts > a {
    min-height: 76px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e7edf4;
    border-radius: 11px;
    color: var(--fastbgp-client-ink);
    background: #fbfcfe;
    text-decoration: none;
}

.fastbgp-dashboard-shortcuts > a:hover { border-color: #cdd9e7; background: #fff; text-decoration: none; }
.fastbgp-dashboard-shortcuts > a > i { width: 31px; color: var(--fastbgp-client-blue); font-size: 16px; text-align: center; }
.fastbgp-dashboard-shortcuts span { min-width: 0; display: grid; gap: 3px; }
.fastbgp-dashboard-shortcuts strong { color: var(--fastbgp-client-ink); font-size: 12px; }
.fastbgp-dashboard-shortcuts small { color: var(--fastbgp-client-muted); font-size: 10px; }

.fastbgp-account-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.fastbgp-account-avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #226cff, #50a2ff);
}

.fastbgp-account-card small { display: block; color: #8090a3; font-size: 10px; }
.fastbgp-account-card strong { display: block; overflow: hidden; color: var(--fastbgp-client-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fastbgp-account-card p { margin: 2px 0 0; overflow: hidden; color: var(--fastbgp-client-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.fastbgp-account-card > a { color: var(--fastbgp-client-blue); font-size: 10px; font-weight: 800; }

.fastbgp-advisor-card {
    color: #dce8f4;
    background: linear-gradient(145deg, #071526, #0d2945);
}

.fastbgp-advisor-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #071526;
    background: var(--fastbgp-client-lime);
    font-size: 17px;
}

.fastbgp-advisor-card > small { color: #96a9bc; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.fastbgp-advisor-card h2 { margin-top: 6px; color: #fff; font-size: 17px; line-height: 1.4; }
.fastbgp-advisor-card p { margin: 9px 0 16px; color: #aebfd0; font-size: 11px; line-height: 1.65; }
.fastbgp-advisor-card > a { display: inline-flex; align-items: center; gap: 8px; color: #baff93; font-size: 11px; font-weight: 800; }

.fastbgp-notice-card .fastbgp-dashboard-card-head { margin-bottom: 8px; }
.fastbgp-notice-card > a {
    min-height: 39px;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 7px;
    border-top: 1px solid #edf1f5;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.fastbgp-notice-card > a > i:first-child { color: #72859a; }
.fastbgp-notice-card > a > i:last-child { color: #aeb9c5; font-size: 8px; }
.fastbgp-dashboard-addon { margin-top: 16px; }

@media (max-width: 1080px) {
    .fastbgp-dashboard-grid { grid-template-columns: minmax(0, 1fr) 285px; }
    .fastbgp-dashboard-hero { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) {
    .fastbgp-client-topbar { position: relative; height: 60px; padding: 0 16px; }
    .fastbgp-client-topbar-actions > a { padding: 0 9px; }
    .fastbgp-client-account-link span { display: none; }
    .fastbgp-client-nav {
        position: relative;
        top: auto;
        bottom: auto;
        width: 100%;
        padding: 8px 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .fastbgp-client-nav-label,
    .fastbgp-client-nav-footer { display: none; }
    .fastbgp-client-nav nav { display: flex; width: max-content; }
    .fastbgp-client-nav nav a { min-height: 38px; padding: 0 12px; }
    .fastbgp-client-nav nav a.active { box-shadow: inset 0 -3px 0 var(--fastbgp-client-lime); }
    .fastbgp-client-logged-in #main-body { min-height: 0; margin: 0; padding: 18px 14px 28px; }
    .fastbgp-client-logged-in footer.footer { margin-left: 0; }
    .fastbgp-dashboard-grid { grid-template-columns: 1fr; }
    .fastbgp-dashboard-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fastbgp-notice-card { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .fastbgp-client-topbar-brand > span:last-child,
    .fastbgp-client-topbar-actions > a span { display: none; }
    .fastbgp-client-topbar-actions { gap: 2px; }
    .fastbgp-client-topbar-actions > a { min-width: 36px; justify-content: center; }
    .fastbgp-dashboard-hero { min-height: 0; padding: 24px 21px; border-radius: 15px; }
    .fastbgp-dashboard-hero-actions { width: 100%; }
    .fastbgp-dashboard-btn { flex: 1 1 0; }
    .fastbgp-dashboard-stats { grid-template-columns: 1fr; gap: 8px; }
    .fastbgp-dashboard-stats > a { min-height: 72px; padding: 12px 14px; }
    .fastbgp-dashboard-grid,
    .fastbgp-dashboard-main,
    .fastbgp-dashboard-aside { gap: 11px; }
    .fastbgp-dashboard-aside { grid-template-columns: 1fr; }
    .fastbgp-dashboard-card { padding: 18px; border-radius: 13px; }
    .fastbgp-service-ready,
    .fastbgp-service-empty { align-items: flex-start; flex-wrap: wrap; }
    .fastbgp-service-empty > a { width: 100%; margin-left: 64px; }
    .fastbgp-dashboard-shortcuts { grid-template-columns: 1fr; }
}

/* Fast-BGP core client pages: services, invoices, tickets and profile */
.fastbgp-client-core-page #main-body > .container > .row > .col-lg-4,
.fastbgp-client-core-page #main-body > .container > .row > .col-xl-3 {
    display: none;
}

.fastbgp-client-core-page #main-body .primary-content {
    flex: 0 0 100%;
    max-width: 100%;
}

.fastbgp-client-page-heading {
    min-height: 122px;
    margin: 0 0 16px;
    padding: 24px 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(circle at 88% -25%, rgba(34, 108, 255, .48), transparent 40%),
        linear-gradient(125deg, #071526, #0c223b);
    box-shadow: 0 9px 26px rgba(9, 27, 47, .09);
}

.fastbgp-client-page-heading::after {
    content: '';
    position: absolute;
    right: 9%;
    bottom: -64px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(114, 255, 34, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(34, 108, 255, .035), 0 0 0 56px rgba(34, 108, 255, .025);
}

.fastbgp-client-page-heading > * { position: relative; z-index: 1; }
.fastbgp-client-page-kicker { display: block; margin-bottom: 7px; color: #a9ff7b; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.fastbgp-client-page-heading h1 { margin: 0; color: #fff; font-size: clamp(22px, 2.8vw, 30px); font-weight: 850; letter-spacing: -.035em; }
.fastbgp-client-page-heading p { margin: 6px 0 0; color: #b9c9da; font-size: 12px; line-height: 1.6; }

.fastbgp-client-page-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.fastbgp-client-page-actions > a {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.fastbgp-client-page-actions > a:hover { color: #fff; background: rgba(255, 255, 255, .12); text-decoration: none; transform: translateY(-1px); }
.fastbgp-client-page-actions > a.primary { border-color: var(--fastbgp-client-lime); color: #071526; background: var(--fastbgp-client-lime); }
.fastbgp-client-page-actions > a.primary:hover { color: #071526; background: #8aff4a; }

.fastbgp-client-core-page .primary-content > .alert,
.fastbgp-client-core-page .primary-content > form > .alert {
    border: 0;
    border-radius: 11px;
    font-size: 12px;
}

.fastbgp-client-core-page .primary-content > .table-container {
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 58, 88, .04);
}

.fastbgp-client-core-page .dataTables_wrapper {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.fastbgp-client-core-page .dataTables_wrapper .dataTables_length,
.fastbgp-client-core-page .dataTables_wrapper .dataTables_filter {
    margin-bottom: 14px;
    color: var(--fastbgp-client-muted);
    font-size: 11px;
}

.fastbgp-client-core-page .dataTables_wrapper .dataTables_filter label,
.fastbgp-client-core-page .dataTables_wrapper .dataTables_length label {
    margin: 0;
    color: var(--fastbgp-client-muted);
    font-weight: 700;
}

.fastbgp-client-core-page .dataTables_wrapper select,
.fastbgp-client-core-page .dataTables_wrapper input[type='search'] {
    height: 36px;
    margin-left: 7px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    color: var(--fastbgp-client-ink);
    background: #f8fafc;
    font-size: 12px;
    box-shadow: none;
}

.fastbgp-client-core-page .dataTables_wrapper input[type='search'] { width: 210px; padding: 0 11px; }
.fastbgp-client-core-page .table-container { width: 100%; overflow-x: auto; }
.fastbgp-client-core-page table.table-list { min-width: 700px; margin: 0 !important; border-collapse: separate; border-spacing: 0; }
.fastbgp-client-core-page table.table-list thead th {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #dce5ef;
    color: #718196;
    background: #f6f9fc;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.fastbgp-client-core-page table.table-list tbody td {
    padding: 15px 14px;
    vertical-align: middle;
    border-top: 0;
    border-bottom: 1px solid #edf1f5;
    color: #314155;
    background: #fff;
    font-size: 12px;
}

.fastbgp-client-core-page table.table-list tbody tr { cursor: pointer; }
.fastbgp-client-core-page table.table-list tbody tr:hover td { background: #f8fbff; }
.fastbgp-client-core-page table.table-list tbody td strong { color: var(--fastbgp-client-ink); font-weight: 800; }
.fastbgp-client-core-page table.table-list .label.status {
    min-width: 70px;
    padding: 6px 9px;
    display: inline-flex;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}

.fastbgp-client-core-page .status-active,
.fastbgp-client-core-page .status-paid,
.fastbgp-client-core-page .status-open,
.fastbgp-client-core-page .status-answered { color: #16764a !important; background: #e4f7ed !important; }
.fastbgp-client-core-page .status-pending,
.fastbgp-client-core-page .status-unpaid,
.fastbgp-client-core-page .status-customer-reply { color: #9a620b !important; background: #fff2d8 !important; }
.fastbgp-client-core-page .status-cancelled,
.fastbgp-client-core-page .status-closed,
.fastbgp-client-core-page .status-terminated { color: #6d7b8d !important; background: #edf1f5 !important; }

.fastbgp-client-core-page .dataTables_info {
    padding-top: 15px !important;
    color: #7d8da1 !important;
    font-size: 10px;
}

.fastbgp-client-core-page .dataTables_paginate { padding-top: 10px !important; }
.fastbgp-client-core-page .dataTables_paginate .paginate_button,
.fastbgp-client-core-page .pagination .page-link {
    min-width: 32px;
    height: 32px;
    margin: 0 2px;
    padding: 6px 9px !important;
    border: 1px solid #dce5ef !important;
    border-radius: 7px !important;
    color: #54657a !important;
    background: #fff !important;
    font-size: 10px;
}

.fastbgp-client-core-page .dataTables_paginate .paginate_button.current,
.fastbgp-client-core-page .pagination .page-item.active .page-link {
    border-color: var(--fastbgp-client-blue) !important;
    color: #fff !important;
    background: var(--fastbgp-client-blue) !important;
}

.fastbgp-client-supportticketslist table.table-list td:nth-child(2) a {
    display: grid;
    gap: 3px;
    border-left: 0 !important;
    color: var(--fastbgp-client-ink);
    text-decoration: none;
}
.fastbgp-client-supportticketslist .ticket-number { color: #8190a2; font-size: 9px; font-weight: 800; }
.fastbgp-client-supportticketslist .ticket-subject { font-size: 12px; font-weight: 750; }

.fastbgp-client-clientareadetails .primary-content > form {
    max-width: 1040px;
    margin: 0 auto;
}

.fastbgp-client-clientareadetails .primary-content > form > .card {
    margin-bottom: 14px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 58, 88, .04);
}

.fastbgp-client-clientareadetails .primary-content > form > .card .card-body { padding: 24px; }
.fastbgp-client-clientareadetails .card-title {
    margin: 0 0 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf1f5;
    color: var(--fastbgp-client-ink);
    font-size: 16px;
    font-weight: 850;
}

.fastbgp-client-clientareadetails .form-group { margin-bottom: 14px; }
.fastbgp-client-clientareadetails .col-form-label { padding-top: 0; color: #5d6d81; font-size: 10px; font-weight: 800; }
.fastbgp-client-clientareadetails .form-control,
.fastbgp-client-clientareadetails .custom-select,
.fastbgp-client-clientareadetails .iti .form-control {
    min-height: 40px;
    border: 1px solid #dbe3ec;
    border-radius: 9px;
    color: var(--fastbgp-client-ink);
    background-color: #fbfcfe;
    font-size: 12px;
    box-shadow: none;
}

.fastbgp-client-clientareadetails .form-control:focus,
.fastbgp-client-clientareadetails .custom-select:focus {
    border-color: #8fb4ff;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(34, 108, 255, .1);
}

.fastbgp-client-clientareadetails .primary-content > form > .form-group.text-center {
    margin-top: 18px;
    padding: 17px 20px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 13px;
    background: #fff;
}

.fastbgp-client-clientareadetails .btn-primary,
.fastbgp-client-clientareadetails input.btn-primary {
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid var(--fastbgp-client-blue);
    border-radius: 9px;
    color: #fff;
    background: var(--fastbgp-client-blue);
    font-size: 11px;
    font-weight: 800;
}

.fastbgp-client-clientareadetails input.btn-default {
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid #d9e2ec;
    border-radius: 9px;
    color: #5b6b7e;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
}

@media (max-width: 760px) {
    .fastbgp-client-page-heading { min-height: 0; padding: 21px; align-items: flex-start; flex-direction: column; }
    .fastbgp-client-page-actions { width: 100%; }
    .fastbgp-client-page-actions > a { flex: 1 1 0; }
    .fastbgp-client-core-page .primary-content > .table-container { padding: 13px; border-radius: 12px; }
    .fastbgp-client-core-page .dataTables_wrapper .dataTables_length,
    .fastbgp-client-core-page .dataTables_wrapper .dataTables_filter { float: none; width: 100%; text-align: left; }
    .fastbgp-client-core-page .dataTables_wrapper input[type='search'] { width: calc(100% - 58px); }
    .fastbgp-client-clientareadetails .primary-content > form > .card .card-body { padding: 18px; }
}

/* Fast-BGP public client pages */
.fastbgp-public-client-page {
    --fastbgp-client-navy: #071526;
    --fastbgp-client-blue: #226cff;
    --fastbgp-client-lime: #72ff22;
    --fastbgp-client-ink: #101c2c;
    --fastbgp-client-muted: #66758a;
    --fastbgp-client-line: #e2eaf3;
    min-height: 100vh;
    color: var(--fastbgp-client-ink);
    background: #f3f7fb;
}

.fastbgp-public-client-page #header,
.fastbgp-public-client-page .master-breadcrumb {
    display: none;
}

.fastbgp-public-topbar {
    min-height: 66px;
    padding: 0 max(24px, calc((100vw - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    background: #071526;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.fastbgp-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}

.fastbgp-public-brand:hover { color: #fff; text-decoration: none; }
.fastbgp-public-brand > span { padding: 7px 12px; border-radius: 9px; color: #071526; background: #72ff22; font-size: 15px; font-weight: 900; }
.fastbgp-public-brand > strong { font-size: 14px; font-weight: 800; }

.fastbgp-public-nav,
.fastbgp-public-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fastbgp-public-nav a,
.fastbgp-public-actions a {
    min-height: 38px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #bcc9d8;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

.fastbgp-public-nav a:hover,
.fastbgp-public-actions a:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.fastbgp-public-actions { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .1); }
.fastbgp-public-actions a.primary { color: #071526; background: #72ff22; }
.fastbgp-public-actions a.primary:hover { color: #071526; background: #8aff4a; }

.fastbgp-public-client-page #main-body {
    min-height: calc(100vh - 162px);
    padding: 34px 20px 48px;
    background:
        radial-gradient(circle at 8% 4%, rgba(114, 255, 34, .075), transparent 21%),
        radial-gradient(circle at 92% 8%, rgba(34, 108, 255, .075), transparent 24%),
        #f3f7fb;
}

.fastbgp-public-client-page #main-body > .container { width: 100%; max-width: 1180px; }
.fastbgp-public-client-page #main-body .primary-content > h1,
.fastbgp-public-client-page #main-body .primary-content > .header-lined h1 {
    color: var(--fastbgp-client-ink);
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -.035em;
}

.fastbgp-public-client-page #main-body .card,
.fastbgp-public-client-page #main-body .panel,
.fastbgp-public-client-page #main-body .list-group,
.fastbgp-public-client-page #main-body .well {
    overflow: hidden;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(30, 58, 88, .05);
}

.fastbgp-public-client-page #main-body .card-header,
.fastbgp-public-client-page #main-body .panel-heading {
    border-color: #e9eef4;
    color: var(--fastbgp-client-ink);
    background: #f7f9fc;
    font-weight: 800;
}

.fastbgp-public-client-page #main-body .form-control,
.fastbgp-public-client-page #main-body .custom-select {
    min-height: 41px;
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    color: var(--fastbgp-client-ink);
    background-color: #fbfcfe;
    font-size: 12px;
    box-shadow: none;
}

.fastbgp-public-client-page #main-body .form-control:focus,
.fastbgp-public-client-page #main-body .custom-select:focus {
    border-color: #8fb4ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 108, 255, .1);
}

.fastbgp-public-client-page #main-body .btn-primary,
.fastbgp-public-client-page #main-body .btn-success {
    border-color: var(--fastbgp-client-blue);
    border-radius: 9px;
    color: #fff;
    background: var(--fastbgp-client-blue);
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
}

.fastbgp-public-client-page #main-body .btn-default,
.fastbgp-public-client-page #main-body .btn-secondary {
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    color: #526477;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.fastbgp-public-client-page .sidebar .card,
.fastbgp-public-client-page .sidebar .panel { box-shadow: none; }
.fastbgp-public-client-page .sidebar a[href*="domain=register"],
.fastbgp-public-client-page .sidebar a[href*="domain=transfer"],
.fastbgp-public-client-page a[href*="domain-pricing"],
.fastbgp-public-client-page a[href*="domain=register"],
.fastbgp-public-client-page a[href*="domain=transfer"] { display: none !important; }

.fastbgp-public-login #main-body > .container,
.fastbgp-public-password-reset-container #main-body > .container,
.fastbgp-public-password-reset-email-prompt #main-body > .container,
.fastbgp-public-password-reset-security-prompt #main-body > .container,
.fastbgp-public-password-reset-change-prompt #main-body > .container,
.fastbgp-public-two-factor-challenge #main-body > .container {
    max-width: 520px;
}

.fastbgp-public-login #main-body .primary-content > form,
.fastbgp-public-password-reset-container #main-body .primary-content > form,
.fastbgp-public-password-reset-email-prompt #main-body .primary-content > form,
.fastbgp-public-password-reset-security-prompt #main-body .primary-content > form,
.fastbgp-public-password-reset-change-prompt #main-body .primary-content > form,
.fastbgp-public-two-factor-challenge #main-body .primary-content > form {
    padding: 28px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(30, 58, 88, .08);
}

.fastbgp-public-login #main-body .primary-content > form::before {
    content: 'FAST-BGP SECURE ACCESS';
    display: block;
    margin-bottom: 15px;
    color: var(--fastbgp-client-blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.fastbgp-public-login #main-body .primary-content > form .btn-primary { width: 100%; min-height: 43px; }
.fastbgp-public-client-page footer.footer { border-top: 1px solid var(--fastbgp-client-line); background: #fff; }
.fastbgp-public-client-page footer.footer .container { max-width: 1180px; }

/* Fast-BGP styling for authenticated detail and account pages */
.fastbgp-client-detail-page #main-body .primary-content > .card,
.fastbgp-client-detail-page #main-body .primary-content > .panel,
.fastbgp-client-detail-page #main-body .primary-content > form > .card,
.fastbgp-client-detail-page #main-body .primary-content > form > .panel,
.fastbgp-client-detail-page #main-body .primary-content > .table-container,
.fastbgp-client-detail-page #main-body .primary-content > .invoice-container,
.fastbgp-client-detail-page #main-body .primary-content > .ticket-reply,
.fastbgp-client-detail-page #main-body .primary-content > .ticket-replies {
    overflow: hidden;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 58, 88, .04);
}

.fastbgp-client-detail-page #main-body .card-header,
.fastbgp-client-detail-page #main-body .panel-heading {
    border-color: #e8edf3;
    color: var(--fastbgp-client-ink);
    background: #f7f9fc;
    font-size: 12px;
    font-weight: 800;
}

.fastbgp-client-detail-page #main-body .sidebar .card,
.fastbgp-client-detail-page #main-body .sidebar .panel {
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.fastbgp-client-detail-page #main-body .sidebar .list-group-item {
    border-color: #edf1f5;
    color: #536477;
    background: #fff;
    font-size: 11px;
}

.fastbgp-client-detail-page #main-body .sidebar .list-group-item:hover,
.fastbgp-client-detail-page #main-body .sidebar .list-group-item.active {
    color: var(--fastbgp-client-blue);
    background: #f1f6ff;
}

.fastbgp-client-detail-page #main-body .form-control,
.fastbgp-client-detail-page #main-body .custom-select,
.fastbgp-client-detail-page #main-body select {
    min-height: 40px;
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    color: var(--fastbgp-client-ink);
    background-color: #fbfcfe;
    font-size: 12px;
    box-shadow: none;
}

.fastbgp-client-detail-page #main-body .form-control:focus,
.fastbgp-client-detail-page #main-body .custom-select:focus {
    border-color: #8fb4ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 108, 255, .1);
}

.fastbgp-client-detail-page #main-body .btn-primary,
.fastbgp-client-detail-page #main-body .btn-success,
.fastbgp-client-detail-page #main-body .btn-info {
    border-color: var(--fastbgp-client-blue);
    border-radius: 9px;
    color: #fff;
    background: var(--fastbgp-client-blue);
    font-size: 11px;
    font-weight: 800;
    box-shadow: none;
}

.fastbgp-client-detail-page #main-body .btn-default,
.fastbgp-client-detail-page #main-body .btn-secondary {
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    color: #526477;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}

.fastbgp-client-detail-page #main-body .nav-tabs {
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 11px;
    background: #fff;
}

.fastbgp-client-detail-page #main-body .nav-tabs .nav-link {
    border: 0;
    border-radius: 8px;
    color: #617287;
    font-size: 11px;
    font-weight: 750;
}

.fastbgp-client-detail-page #main-body .nav-tabs .nav-link.active {
    color: #fff;
    background: var(--fastbgp-client-blue);
}

.fastbgp-client-detail-page #main-body table {
    border-color: #e8edf3;
    color: #34455a;
    background: #fff;
    font-size: 11px;
}
.fastbgp-client-detail-page #main-body table thead th { border-color: #e1e8f0; color: #6b7b8f; background: #f6f9fc; font-size: 10px; font-weight: 850; }
.fastbgp-client-detail-page #main-body table td { border-color: #edf1f5; vertical-align: middle; }
.fastbgp-client-detail-page #main-body .label.status { border: 0; border-radius: 999px; font-size: 10px; font-weight: 800; }

.fastbgp-client-viewinvoice .invoice-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
}
.fastbgp-client-viewinvoice .invoice-status { border-radius: 999px; font-size: 12px; font-weight: 850; }
.fastbgp-client-viewticket .ticket-reply,
.fastbgp-client-viewticket .ticket-replies { margin-bottom: 12px; }
.fastbgp-client-supportticketsubmit-stepone .primary-content,
.fastbgp-client-supportticketsubmit-steptwo .primary-content,
.fastbgp-client-supportticketsubmit-customfields .primary-content { max-width: 980px; }

.fastbgp-client-detail-page a[href*="domain=register"],
.fastbgp-client-detail-page a[href*="domain=transfer"],
.fastbgp-client-detail-page a[href*="clientareadomains"],
.fastbgp-client-detail-page a[href*="domain-pricing"] { display: none !important; }

@media (max-width: 820px) {
    .fastbgp-public-topbar { padding: 0 15px; }
    .fastbgp-public-nav { display: none; }
    .fastbgp-public-client-page #main-body { padding: 24px 12px 34px; }
    .fastbgp-public-client-page #main-body > .container > .row { margin-right: -6px; margin-left: -6px; }
    .fastbgp-public-client-page #main-body > .container > .row > [class*="col-"] { padding-right: 6px; padding-left: 6px; }
}

@media (max-width: 560px) {
    .fastbgp-public-brand > strong { display: none; }
    .fastbgp-public-actions { gap: 2px; }
    .fastbgp-public-actions a { padding: 0 8px; }
    .fastbgp-public-client-page #main-body .primary-content > form { padding: 20px; }
    .fastbgp-client-page-heading-generic .fastbgp-client-page-actions { width: 100%; }
}

/* The dedicated two-column login intentionally overrides the legacy compact auth width. */
.fastbgp-public-login #main-body > .container {
    width: 100%;
    max-width: 1180px;
}

/* Announcements, email history and account security */
.fastbgp-section-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 13px;
    background: #fff;
}
.fastbgp-section-intro h2 { margin: 0 0 4px; color: var(--fastbgp-client-ink); font-size: 17px; font-weight: 850; }
.fastbgp-section-intro p { margin: 0; color: #708095; font-size: 11px; line-height: 1.7; }

.fastbgp-announcement-list { display: grid; gap: 11px; }
.fastbgp-announcement-card,
.fastbgp-announcement-detail,
.fastbgp-email-history-card,
.fastbgp-empty-state {
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 58, 88, .04);
}
.fastbgp-announcement-card { padding: 22px 24px; }
.fastbgp-announcement-meta,
.fastbgp-announcement-detail-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; color: #7b899a; font-size: 10px; font-weight: 700; }
.fastbgp-announcement-type,
.fastbgp-email-type-tag { padding: 4px 8px; border-radius: 999px; color: #1d5bd7; background: #edf4ff; font-size: 9px; font-weight: 850; letter-spacing: .04em; }
.fastbgp-announcement-card h2 { margin: 0 0 10px; font-size: 18px; font-weight: 850; line-height: 1.4; }
.fastbgp-announcement-card h2 a { color: #183a60; }
.fastbgp-announcement-card h2 a:hover { color: var(--fastbgp-client-blue); text-decoration: none; }
.fastbgp-announcement-summary { color: #64758a; font-size: 12px; line-height: 1.8; }
.fastbgp-announcement-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--fastbgp-client-blue); font-size: 11px; font-weight: 800; }
.fastbgp-announcement-admin,
.fastbgp-admin-edit { float: right; color: #94a3b8; font-size: 10px; }
.fastbgp-announcement-detail { padding: 26px 28px; }
.fastbgp-announcement-detail h2 { margin: 0 0 12px; color: #183a60; font-size: 24px; font-weight: 900; line-height: 1.35; }
.fastbgp-announcement-body { padding-top: 18px; border-top: 1px solid #edf1f5; color: #43556a; font-size: 12px; line-height: 1.9; }
.fastbgp-announcement-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf1f5; }

.fastbgp-empty-state { padding: 48px 28px; text-align: center; }
.fastbgp-empty-icon { width: 54px; height: 54px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 16px; color: var(--fastbgp-client-blue); background: #edf4ff; font-size: 20px; }
.fastbgp-empty-state h2 { margin: 0 0 7px; color: var(--fastbgp-client-ink); font-size: 18px; font-weight: 850; }
.fastbgp-empty-state p { max-width: 560px; margin: 0 auto; color: #718095; font-size: 11px; line-height: 1.8; }
.fastbgp-empty-actions { display: flex; justify-content: center; gap: 9px; margin-top: 19px; }
.fastbgp-empty-actions a { min-width: 116px; padding: 10px 14px; border: 1px solid #d8e2ed; border-radius: 9px; color: #526477; background: #fff; font-size: 11px; font-weight: 800; }
.fastbgp-empty-actions a.primary { border-color: var(--fastbgp-client-blue); color: #fff; background: var(--fastbgp-client-blue); }

.fastbgp-email-history-card { overflow: hidden; }
.fastbgp-email-history-card .table-container { margin: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.fastbgp-email-history-card .dataTables_wrapper { padding: 14px; }
.fastbgp-email-type-grid,
.fastbgp-notification-types { max-width: 610px; margin: 18px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fastbgp-email-type-grid span,
.fastbgp-notification-types span { padding: 9px 8px; border: 1px solid #e3eaf2; border-radius: 9px; color: #5f7185; background: #f9fbfd; font-size: 10px; font-weight: 750; }
.fastbgp-notification-types i { margin-right: 6px; color: var(--fastbgp-client-blue); }

.fastbgp-service-list-card { overflow: hidden; border: 1px solid var(--fastbgp-client-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(30,58,88,.04); }
.fastbgp-service-list-card .fastbgp-section-intro { margin: 0; border: 0; border-bottom: 1px solid #edf1f5; border-radius: 0; }
.fastbgp-service-list-card .table-container { margin: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.fastbgp-service-list-card .dataTables_wrapper { padding: 14px; }
.fastbgp-service-empty-note { max-width: 640px; margin: 20px auto 0; padding-top: 16px; border-top: 1px solid #edf1f5; color: #8290a2; font-size: 10px; line-height: 1.7; }
.fastbgp-service-empty-note i { margin-right: 6px; color: var(--fastbgp-client-blue); }

/* Compact service detail summary; WHMCS actions and data remain native. */
.fastbgp-client-clientareaproductdetails .primary-content > .tab-content > #tabOverview > .card {
    overflow: hidden;
    border: 1px solid var(--fastbgp-client-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30,58,88,.04);
}
.fastbgp-client-clientareaproductdetails #main-body > .container > .row > .col-lg-4,
.fastbgp-client-clientareaproductdetails #main-body > .container > .row > .col-xl-3,
.fastbgp-client-clientareaproductdetails .sidebar-secondary {
    display: none !important;
}
.fastbgp-client-clientareaproductdetails #main-body .primary-content {
    flex: 0 0 100%;
    max-width: 100%;
}
.fastbgp-client-clientareaproductdetails .primary-content > .tab-content > #tabOverview > .card > .card-body { padding: 24px; }
.fastbgp-client-clientareaproductdetails .product-details > .row {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.35fr);
    gap: 22px;
}
.fastbgp-client-clientareaproductdetails .product-details > .row > .col-md-6 {
    width: auto;
    max-width: none;
    padding: 0;
    flex: none;
}
.fastbgp-client-clientareaproductdetails .product-status {
    min-height: 100%;
    margin: 0 !important;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #dfe7f0;
    border-radius: 13px;
    color: #17293e;
    background: linear-gradient(145deg, #f8fafc, #f1f6fb);
}
.fastbgp-client-clientareaproductdetails .product-status .product-icon { padding: 0; }
.fastbgp-client-clientareaproductdetails .product-status .fa-stack { margin-bottom: 13px; color: #0b1b2e; font-size: 22px; }
.fastbgp-client-clientareaproductdetails .product-status h3 { max-width: 360px; margin: 0 auto; color: #142238; font-size: 16px; font-weight: 850; line-height: 1.45; overflow-wrap: anywhere; }
.fastbgp-client-clientareaproductdetails .product-status h4 { margin: 7px 0 0; color: #718095; font-size: 11px; font-weight: 700; }
.fastbgp-client-clientareaproductdetails .product-status-text {
    align-self: center;
    width: auto;
    min-width: 88px;
    margin-top: 17px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #9a5b00;
    background: #fff1d6;
    font-size: 10px;
    font-weight: 850;
    text-align: center;
}
.fastbgp-client-clientareaproductdetails .fastbgp-service-facts {
    align-content: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    text-align: left !important;
}
.fastbgp-client-clientareaproductdetails .fastbgp-service-fact {
    min-height: 82px;
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #e2e9f1;
    border-radius: 11px;
    color: #17293e;
    background: #fbfcfe;
    font-size: 13px;
    font-weight: 750;
}
.fastbgp-client-clientareaproductdetails .fastbgp-service-fact h4 { margin: 0 0 7px; color: #7a899b; font-size: 10px; font-weight: 800; }
.fastbgp-test-value { color: #1c5bd7; font-size: 12px; }
.fastbgp-test-service-banner {
    margin-bottom: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #bcd0ff;
    border-radius: 11px;
    color: #24466f;
    background: #eef4ff;
}
.fastbgp-test-service-banner > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #226cff; }
.fastbgp-test-service-banner strong,
.fastbgp-test-service-banner span { display: block; }
.fastbgp-test-service-banner strong { color: #173a68; font-size: 11px; font-weight: 850; }
.fastbgp-test-service-banner span { margin-top: 2px; color: #6680a0; font-size: 10px; }
.fastbgp-client-clientareaproductdetails .product-actions-wrapper { margin-top: 10px; }
.fastbgp-client-clientareaproductdetails .product-actions-wrapper > div { margin-top: 7px; }

@media (max-width: 840px) {
    .fastbgp-client-clientareaproductdetails .product-details > .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .fastbgp-client-clientareaproductdetails .primary-content > .tab-content > #tabOverview > .card > .card-body { padding: 15px; }
    .fastbgp-client-clientareaproductdetails .product-status { padding: 21px 17px; }
    .fastbgp-client-clientareaproductdetails .fastbgp-service-facts { grid-template-columns: 1fr; }
    .fastbgp-test-service-banner { align-items: flex-start; }
}

/* Compact Fast-BGP language chooser; WHMCS still handles the locale change. */
#modalChooseLanguage { background: rgba(5, 16, 31, .58); }
#modalChooseLanguage .fastbgp-language-dialog { max-width: 480px; margin: 10vh auto; }
#modalChooseLanguage .modal-content {
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 28px 80px rgba(2, 12, 27, .28);
}
#modalChooseLanguage .fastbgp-language-header {
    padding: 22px 24px 17px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e8edf3;
    background: #f8fafc;
}
#modalChooseLanguage .fastbgp-language-header > div > span { color: #226cff; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
#modalChooseLanguage .fastbgp-language-header h5 { margin: 4px 0 2px; color: #102238; font-size: 20px; font-weight: 900; }
#modalChooseLanguage .fastbgp-language-header p { margin: 0; color: #768598; font-size: 11px; }
#modalChooseLanguage .fastbgp-language-header .close { margin: 0; padding: 2px; color: #53657a; opacity: 1; text-shadow: none; }
#modalChooseLanguage .modal-body { padding: 20px 24px; background: #fff !important; }
#modalChooseLanguage .fastbgp-language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#modalChooseLanguage .fastbgp-language-option {
    min-height: 82px;
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    border: 1px solid #dce5ef;
    border-radius: 11px;
    color: #23364d;
    background: #fbfcfe;
}
#modalChooseLanguage .fastbgp-language-option:hover,
#modalChooseLanguage .fastbgp-language-option.active { border-color: #226cff; color: #173a68; background: #f1f6ff; text-decoration: none; }
#modalChooseLanguage .fastbgp-language-code { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #102238; font-size: 12px; font-weight: 900; }
#modalChooseLanguage .fastbgp-language-option.active .fastbgp-language-code { background: #226cff; }
#modalChooseLanguage .fastbgp-language-copy strong,
#modalChooseLanguage .fastbgp-language-copy small { display: block; }
#modalChooseLanguage .fastbgp-language-copy strong { font-size: 13px; font-weight: 850; }
#modalChooseLanguage .fastbgp-language-copy small { margin-top: 3px; color: #8491a2; font-size: 9px; }
#modalChooseLanguage .fastbgp-language-check { color: #226cff; opacity: 0; }
#modalChooseLanguage .fastbgp-language-option.active .fastbgp-language-check { opacity: 1; }
#modalChooseLanguage .modal-footer { padding: 0 24px 20px; border: 0; background: #fff; }
#modalChooseLanguage .modal-footer .btn { min-width: 92px; border-radius: 9px; font-size: 11px; font-weight: 850; }
#modalChooseLanguage .modal-footer .btn-primary { border-color: #226cff; background: #226cff; }

@media (max-width: 560px) {
    #modalChooseLanguage .fastbgp-language-dialog { margin: 12px; }
    #modalChooseLanguage .fastbgp-language-options { grid-template-columns: 1fr; }
}

/* WHMCS loads the setup UI into #modalAjax. Only presentation is changed here. */
#modalAjax.fastbgp-twofa-modal .modal-dialog,
#modalAjax .modal-dialog.twofa-setup,
.modal-dialog.twofa-setup { max-width: 680px; }
#modalAjax.fastbgp-twofa-modal .modal-content,
#modalAjax .modal-dialog.twofa-setup .modal-content,
.modal-dialog.twofa-setup .modal-content { overflow: hidden; border: 1px solid #dbe5ef; border-radius: 16px; box-shadow: 0 28px 80px rgba(2, 12, 27, .28); }
#modalAjax.fastbgp-twofa-modal .modal-header,
#modalAjax .modal-dialog.twofa-setup .modal-header { padding: 20px 24px; border-bottom: 1px solid #e8edf3; background: #f8fafc; }
#modalAjax.fastbgp-twofa-modal .modal-title,
#modalAjax .modal-dialog.twofa-setup .modal-title { color: #102238; font-size: 20px; font-weight: 900; }
#modalAjax.fastbgp-twofa-modal .modal-body,
#modalAjax .modal-dialog.twofa-setup .modal-body { padding: 24px; color: #405269; font-size: 12px; line-height: 1.75; }
#modalAjax.fastbgp-twofa-modal .modal-footer,
#modalAjax .modal-dialog.twofa-setup .modal-footer { padding: 14px 24px; border-top: 1px solid #e8edf3; background: #fff; }
#modalAjax.fastbgp-twofa-modal .modal-submit,
#modalAjax .modal-dialog.twofa-setup .modal-submit { border-color: #226cff; border-radius: 9px; background: #226cff; font-size: 12px; font-weight: 850; }
#modalAjax.fastbgp-twofa-modal .modal-body label,
#modalAjax .modal-dialog.twofa-setup .modal-body label { width: 100%; margin: 7px 0; padding: 15px 17px; border: 1px solid #dbe5ef; border-radius: 11px; background: #fbfcfe; }
#modalAjax.fastbgp-twofa-modal .modal-body label:hover,
#modalAjax .modal-dialog.twofa-setup .modal-body label:hover { border-color: #9dbbff; background: #f4f8ff; }
#modalAjax.fastbgp-twofa-modal.fastbgp-single-twofa .modal-body input[type='radio'] { position: absolute; opacity: 0; pointer-events: none; }
.fastbgp-client-user-security .primary-content > .card,
.fastbgp-client-clientareasecurity .primary-content > .card { border-radius: 14px; box-shadow: 0 5px 18px rgba(30,58,88,.04); }

@media (max-width: 700px) {
    .fastbgp-section-intro { align-items: flex-start; flex-direction: column; }
    .fastbgp-announcement-card, .fastbgp-announcement-detail { padding: 20px; }
    .fastbgp-announcement-detail h2 { font-size: 20px; }
    .fastbgp-email-type-grid, .fastbgp-notification-types { grid-template-columns: repeat(2, 1fr); }
    .fastbgp-empty-actions { align-items: stretch; flex-direction: column; }
    #modalAjax.fastbgp-twofa-modal .modal-dialog,
    #modalAjax .modal-dialog.twofa-setup { margin: 12px; }
}

/* Compact account profile; values remain inside the original form. */
body.fastbgp-client-clientareadetails .fastbgp-client-page-heading {
    min-height: 0; padding: 8px 0 20px; margin-bottom: 0;
    border: 0; background: transparent; box-shadow: none; color: #102238;
}
body.fastbgp-client-clientareadetails .fastbgp-client-page-heading::before,
body.fastbgp-client-clientareadetails .fastbgp-client-page-heading::after,
body.fastbgp-client-clientareadetails .fastbgp-client-page-actions { display: none; }
body.fastbgp-client-clientareadetails .fastbgp-client-page-heading h1 { color: #102238; font-size: 26px; }
body.fastbgp-client-clientareadetails #main-body .fastbgp-compact-profile .card { margin-bottom: 14px; }
body.fastbgp-client-clientareadetails #main-body .fastbgp-compact-profile .card-body { padding: 22px; }
.fastbgp-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.fastbgp-compact-profile .form-group { margin-bottom: 0; min-width: 0; }
.fastbgp-profile-name { min-width: 0; margin: 0; padding: 0; border: 0; }
.fastbgp-profile-name legend { width: auto; margin: 0; font-size: 14px; font-weight: 700; }
.fastbgp-profile-name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fastbgp-profile-email { min-width: 0; }
.fastbgp-profile-email summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; cursor: pointer; }
.fastbgp-profile-email summary strong { display: block; margin-top: 8px; font-size: 15px; overflow-wrap: anywhere; }
.fastbgp-profile-email summary > span:last-child { color: #226cff; flex-shrink: 0; }
.fastbgp-profile-fold > summary { padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 16px; }
.fastbgp-profile-fold[open] > summary { border-bottom: 1px solid #edf1f5; }
.fastbgp-compact-profile .controls.form-check { padding: 0; }
.fastbgp-compact-profile .controls label,
.fastbgp-profile-marketing { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; cursor: pointer; }
.fastbgp-compact-profile .form-check-input { position: static; margin: 0; width: 18px; height: 18px; }
.fastbgp-profile-extra summary { min-height: 44px; padding-top: 12px; cursor: pointer; }
.fastbgp-profile-save { padding: 4px 0 20px; }
.fastbgp-profile-save .btn { min-height: 44px; padding: 10px 26px; }
@media (max-width: 767px) {
    .fastbgp-profile-grid { grid-template-columns: 1fr; }
    body.fastbgp-client-clientareadetails #main-body .fastbgp-compact-profile .form-control,
    body.fastbgp-client-clientareadetails #main-body .fastbgp-compact-profile select { font-size: 16px; min-height: 48px; }
    body.fastbgp-client-clientareadetails #main-body .fastbgp-compact-profile .card-body { padding: 16px; }
}

/* Mobile touch targets; no changes to authentication or desktop layout. */
@media (max-width: 767px) {
    body #main-body .fastbgp-login-shell .login-form .form-control {
        font-size: 16px;
        min-height: 48px;
    }
    body .fastbgp-login-shell .login-form label { font-size: 14px; }
    body .fastbgp-login-shell .login-form #login {
        font-size: 16px;
        min-height: 48px;
    }
    body .fastbgp-login-shell .fastbgp-login-remember {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        cursor: pointer;
    }
    body .fastbgp-login-shell .fastbgp-login-remember input {
        width: 20px;
        height: 20px;
        margin: 0;
    }
    body .fastbgp-login-shell .fastbgp-login-label-row a,
    body .fastbgp-login-shell .fastbgp-login-register a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 14px;
    }
}
