
:root {
    --bg: #080b10;
    --panel: #0d1118;
    --panel-2: #10151d;
    --line: rgba(255,255,255,.075);
    --line-strong: rgba(255,255,255,.12);
    --text: #f4f6f8;
    --muted: #8d98a5;
    --muted-2: #626d79;
    --silver: #b8c0cc;
    --blue: #7ebdff;
    --green: #70dda5;
    --amber: #e2b86d;
    --red: #ff9292;
    --purple: #b3a0ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 82% 3%, rgba(66,132,194,.08), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.client-shell { min-height: 100vh; }
.client-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: 248px;
    display: flex;
    flex-direction: column;
    padding: 25px 17px;
    border-right: 1px solid var(--line);
    background: rgba(9,13,19,.98);
}
.client-brand {
    display: block;
    width: 132px;
    margin: 0 12px 34px;
}
.client-nav { display: grid; gap: 5px; }
.client-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    color: #838e9a;
    font-size: 12px;
    text-decoration: none;
    transition: .18s ease;
}
.client-nav a i { width: 18px; text-align: center; }
.client-nav a:hover { background: rgba(255,255,255,.035); color: #dce1e6; }
.client-nav a.active { background: rgba(255,255,255,.06); color: #fff; }
.client-sidebar-bottom { margin-top: auto; padding-top: 18px; }
.client-help-card {
    margin-bottom: 12px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0d1219;
}
.client-help-card small {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1.2px;
}
.client-help-card strong { display: block; margin-bottom: 5px; font-size: 10px; }
.client-help-card p { color: var(--muted-2); font-size: 8px; line-height: 1.55; }
.client-signout {
    width: 100%; min-height: 42px;
    display: flex; align-items: center; gap: 12px;
    padding: 0 14px;
    border: 0; border-radius: 8px;
    background: transparent; color: #858f9a;
    cursor: pointer;
}
.client-signout:hover { background: rgba(255,100,100,.055); color: var(--red); }

.client-main { margin-left: 248px; padding: 30px 36px 60px; }
.client-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 22px; margin-bottom: 32px;
}
.client-kicker {
    display: block; margin-bottom: 6px;
    color: #6f7a86; font-size: 8px; font-weight: 800; letter-spacing: 1.5px;
}
.client-title { font-size: clamp(24px, 3vw, 34px); letter-spacing: -1.3px; }
.client-account { display: flex; align-items: center; gap: 10px; }
.client-avatar {
    width: 39px; height: 39px; display: grid; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 50%;
    background: #111720; color: #d7dde3; font-size: 12px; font-weight: 800;
}
.client-account-copy strong { display: block; max-width: 200px; font-size: 11px; }
.client-account-copy small { display: block; margin-top: 3px; color: #68737f; font-size: 8px; }
.client-nav-toggle {
    display: none; width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 9px;
    background: var(--panel); color: white; cursor: pointer;
}
.client-overlay { display: none; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.stat-card {
    min-height: 132px; padding: 20px;
    border: 1px solid var(--line); border-radius: 12px;
    background: linear-gradient(145deg, var(--panel-2), var(--panel));
}
.stat-icon {
    width: 36px; height: 36px; display: grid; place-items: center;
    margin-bottom: 17px; border-radius: 9px;
    background: rgba(255,255,255,.045); color: #9da8b4; font-size: 14px;
}
.stat-card strong { display: block; margin-bottom: 5px; font-size: 25px; letter-spacing: -1px; }
.stat-card span { color: #727d89; font-size: 9px; }

.portal-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.8fr); gap: 18px; }
.portal-panel {
    border: 1px solid var(--line); border-radius: 13px; background: var(--panel); overflow: hidden;
}
.portal-panel-inner { padding: 22px; }
.panel-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 15px; padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.panel-head span { display: block; margin-bottom: 5px; color: #6c7783; font-size: 7px; font-weight: 800; letter-spacing: 1.35px; }
.panel-head h2 { font-size: 15px; letter-spacing: -.4px; }
.panel-link { color: #aeb7c1; font-size: 9px; text-decoration: none; }
.panel-link:hover { color: white; }

.hero-project { padding: 24px; }
.project-ref { display: block; margin-bottom: 8px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.hero-project h2 { margin-bottom: 7px; font-size: 21px; }
.hero-project .project-type { margin-bottom: 22px; color: var(--muted); font-size: 10px; }
.project-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.meta-box { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #0a0e14; }
.meta-box small { display: block; margin-bottom: 5px; color: #5f6a76; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.meta-box strong { font-size: 9px; color: #ccd3da; }
.progress-line { height: 7px; overflow: hidden; border-radius: 20px; background: #171d25; }
.progress-line > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#86b9ec,#d0d6dd); }
.progress-copy { display: flex; justify-content: space-between; gap: 20px; margin: 8px 0 19px; color: var(--muted); font-size: 8px; }
.client-update { padding: 14px; border-left: 2px solid #8292a4; background: rgba(255,255,255,.025); color: #aab3bc; font-size: 9px; line-height: 1.65; }

.quick-list { display: grid; }
.quick-row {
    display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
    padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.055); text-decoration: none;
}
.quick-row:last-child { border-bottom: 0; }
.quick-row:hover { background: rgba(255,255,255,.02); }
.quick-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #121821; color: #9ca7b2; font-size: 12px; }
.quick-row strong { display: block; margin-bottom: 4px; font-size: 10px; }
.quick-row small { color: #67727e; font-size: 8px; }
.quick-row > i { color: #58636e; font-size: 9px; }

.toolbar { display: flex; gap: 12px; justify-content: space-between; margin-bottom: 17px; }
.search-wrap { position: relative; flex: 1; max-width: 480px; }
.search-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #65707b; font-size: 10px; }
.search-wrap input, .filter-select {
    height: 42px; border: 1px solid var(--line); border-radius: 9px;
    outline: none; background: var(--panel); color: #e8ebee; font-size: 10px;
}
.search-wrap input { width: 100%; padding: 0 14px 0 38px; }
.filter-select { padding: 0 12px; }

.data-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 18px; align-items: start; }
.data-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.data-row {
    display: grid; grid-template-columns: 115px 1.5fr 1fr 105px; gap: 15px; align-items: center;
    padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.055); cursor: pointer;
}
.data-row:hover, .data-row.active { background: rgba(255,255,255,.028); }
.data-row:last-child { border-bottom: 0; }
.data-header { color: #5d6874; font-size: 7px; font-weight: 800; letter-spacing: 1px; cursor: default; }
.data-primary strong { display: block; margin-bottom: 4px; color: #ecf0f3; font-size: 10px; }
.data-primary small, .data-secondary { color: #737e89; font-size: 8px; }
.reference { color: #aeb8c2; font-size: 8px; font-weight: 800; }

.detail-panel { position: sticky; top: 28px; padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.detail-empty { min-height: 390px; display: grid; place-items: center; text-align: center; color: #697480; }
.detail-empty i { display: block; margin-bottom: 13px; font-size: 26px; color: #4c5661; }
.detail-empty strong { display: block; margin-bottom: 7px; color: #d8dde2; font-size: 11px; }
.detail-empty p { max-width: 250px; font-size: 9px; line-height: 1.6; }
.detail-content { display: none; }
.detail-content.show { display: block; }
.detail-heading { padding-bottom: 18px; margin-bottom: 19px; border-bottom: 1px solid var(--line); }
.detail-heading .reference { display: block; margin-bottom: 7px; }
.detail-heading h2 { margin-bottom: 6px; font-size: 18px; }
.detail-heading p { color: var(--muted-2); font-size: 8px; }
.detail-field { margin-bottom: 16px; }
.detail-field label { display: block; margin-bottom: 6px; color: #5f6a76; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.detail-field p { color: #b7c0c8; font-size: 9px; line-height: 1.6; white-space: pre-wrap; }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.detail-grid .detail-field { margin-bottom: 0; }

.status-pill { display: inline-block; padding: 6px 9px; border-radius: 999px; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.s-neutral, .s-draft, .s-not_started, .s-pending { background: rgba(160,170,180,.09); color: #aeb7c0; }
.s-blue, .s-sent, .s-in_progress, .s-scheduled, .s-open { background: rgba(90,155,230,.11); color: #7ab5f7; }
.s-green, .s-accepted, .s-paid, .s-completed, .s-confirmed, .s-resolved { background: rgba(93,205,145,.11); color: #71d99f; }
.s-amber, .s-partially_paid, .s-overdue, .s-on_hold, .s-in_progress_ticket, .s-waiting_client, .s-requested { background: rgba(219,174,91,.11); color: #dfb66e; }
.s-red, .s-declined, .s-cancelled, .s-failed, .s-closed, .s-expired, .s-refunded { background: rgba(245,113,113,.09); color: #f39494; }

.form-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.form-card-head { margin-bottom: 21px; }
.form-card-head span { display:block; margin-bottom:6px; color:var(--blue); font-size:7px; font-weight:800; letter-spacing:1.2px; }
.form-card-head h2 { margin-bottom:6px; font-size:17px; }
.form-card-head p { color: var(--muted); font-size:9px; line-height:1.6; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.form-field { margin-bottom: 14px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display:block; margin-bottom:7px; color:#76818c; font-size:8px; font-weight:700; }
.form-field input, .form-field select, .form-field textarea {
    width:100%; border:1px solid var(--line-strong); border-radius:8px; outline:none;
    background:#090d13; color:#eef1f4; font-size:10px;
}
.form-field input, .form-field select { height:43px; padding:0 11px; }
.form-field textarea { min-height:115px; padding:11px; resize:vertical; line-height:1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color:rgba(176,192,208,.35); }
.primary-button, .secondary-button, .danger-button {
    min-height:42px; padding:0 16px; border-radius:8px; font-weight:800; font-size:10px; cursor:pointer;
}
.primary-button { border:0; background:#f2f4f6; color:#070a0e; }
.secondary-button { border:1px solid var(--line-strong); background:#10151d; color:#d8dde2; }
.danger-button { border:1px solid rgba(255,130,130,.2); background:rgba(255,100,100,.06); color:#f39a9a; }
.primary-button:disabled, .secondary-button:disabled, .danger-button:disabled { opacity:.5; cursor:not-allowed; }
.button-row { display:flex; gap:9px; flex-wrap:wrap; }
.form-message { min-height:16px; margin-top:10px; color:var(--green); font-size:9px; }
.form-message.error { color:var(--red); }

.empty-state { padding:60px 20px; text-align:center; color:#68737f; }
.empty-state i { display:block; margin-bottom:13px; color:#4d5762; font-size:25px; }
.empty-state strong { display:block; margin-bottom:7px; color:#d9dee3; font-size:11px; }
.empty-state p { font-size:9px; line-height:1.6; }

.notice { margin-bottom:18px; padding:13px 15px; border:1px solid var(--line); border-radius:9px; background:rgba(255,255,255,.025); color:#8d98a4; font-size:9px; line-height:1.6; }
.notice strong { color:#d9dfe5; }

.client-support-fab {
    position:fixed; right:23px; bottom:22px; z-index:45;
    display:flex; align-items:center; gap:9px; min-height:43px; padding:0 16px;
    border:1px solid var(--line-strong); border-radius:999px;
    background:#111720; color:#e4e8eb; text-decoration:none; font-size:10px; font-weight:800;
    box-shadow:0 14px 35px rgba(0,0,0,.25);
}
.client-support-fab:hover { background:#161d27; }

/* Authentication */
.auth-page { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(420px,.7fr); }
.auth-visual { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; padding:45px 55px; border-right:1px solid var(--line); background:linear-gradient(145deg,#090d13,#0e141d); }
.auth-visual:before { content:""; position:absolute; width:600px; height:600px; right:-260px; top:-240px; border:1px solid rgba(126,189,255,.13); border-radius:50%; box-shadow:0 0 0 80px rgba(126,189,255,.018),0 0 0 160px rgba(126,189,255,.01); }
.auth-logo { position:relative; z-index:1; width:150px; }
.auth-copy { position:relative; z-index:1; max-width:620px; }
.auth-copy span { display:block; margin-bottom:14px; color:var(--blue); font-size:8px; font-weight:800; letter-spacing:1.8px; }
.auth-copy h1 { max-width:590px; margin-bottom:16px; font-size:clamp(42px,5.2vw,76px); line-height:.98; letter-spacing:-3.5px; }
.auth-copy p { max-width:510px; color:#8994a0; font-size:13px; line-height:1.75; }
.auth-foot { position:relative; z-index:1; color:#596470; font-size:8px; }
.auth-form-side { display:grid; place-items:center; padding:38px; }
.auth-card { width:min(100%,430px); }
.auth-card .auth-kicker { display:block; margin-bottom:8px; color:#788490; font-size:8px; font-weight:800; letter-spacing:1.4px; }
.auth-card h2 { margin-bottom:9px; font-size:29px; letter-spacing:-1.1px; }
.auth-card > p { margin-bottom:27px; color:#78838f; font-size:10px; line-height:1.65; }
.auth-card .form-field { margin-bottom:16px; }
.auth-submit { width:100%; min-height:45px; margin-top:4px; border:0; border-radius:8px; background:#f2f4f6; color:#070a0e; font-weight:800; cursor:pointer; }
.auth-links { display:flex; justify-content:space-between; gap:15px; margin-top:17px; }
.auth-links a { color:#8f9aa6; font-size:9px; text-decoration:none; }
.auth-links a:hover { color:white; }
.auth-message { min-height:18px; margin-top:14px; color:var(--green); font-size:9px; line-height:1.5; }
.auth-message.error { color:var(--red); }
.auth-divider { display:flex; align-items:center; gap:12px; margin:24px 0; color:#525d68; font-size:7px; }
.auth-divider:before,.auth-divider:after { content:""; height:1px; flex:1; background:var(--line); }
.auth-note { padding:13px; border:1px solid var(--line); border-radius:8px; background:#0d1219; color:#707b86; font-size:8px; line-height:1.6; }

@media (max-width: 1180px) {
    .data-layout { grid-template-columns:1fr; }
    .detail-panel { position:static; }
    .portal-grid { grid-template-columns:1fr; }
}
@media (max-width: 940px) {
    .stats-grid { grid-template-columns:repeat(2,1fr); }
    .auth-page { grid-template-columns:1fr; }
    .auth-visual { min-height:390px; padding:38px; border-right:0; border-bottom:1px solid var(--line); }
    .auth-copy h1 { font-size:48px; }
}
@media (max-width: 800px) {
    .client-sidebar { transform:translateX(-102%); transition:.2s ease; box-shadow:18px 0 45px rgba(0,0,0,.3); }
    body.nav-open .client-sidebar { transform:translateX(0); }
    .client-overlay { position:fixed; inset:0; z-index:40; background:rgba(0,0,0,.55); }
    body.nav-open .client-overlay { display:block; }
    .client-main { margin-left:0; padding:22px 18px 70px; }
    .client-nav-toggle { display:block; }
    .client-account-copy { display:none; }
    .client-topbar { margin-bottom:24px; }
    .data-header { display:none; }
    .data-row { grid-template-columns:1fr auto; }
    .data-row > :nth-child(3) { display:none; }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns:1fr 1fr; gap:10px; }
    .stat-card { min-height:118px; padding:16px; }
    .project-meta, .detail-grid, .form-grid { grid-template-columns:1fr; }
    .toolbar { flex-direction:column; }
    .search-wrap { max-width:none; }
    .filter-select { width:100%; }
    .client-title { font-size:25px; }
    .auth-visual { min-height:330px; padding:30px 24px; }
    .auth-copy h1 { font-size:38px; letter-spacing:-2px; }
    .auth-form-side { padding:30px 20px; }
    .client-support-fab span { display:none; }
    .client-support-fab { width:44px; padding:0; justify-content:center; }
}

/* Step 8: notifications, identity verification, payment/domain workflow */
.client-notification-bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #111720;
    color: #cfd6dc;
    text-decoration: none;
    font-size: 12px;
}
.client-notification-bell:hover { background:#161d27; color:#fff; }
.client-notification-badge {
    position:absolute;
    top:-4px;
    right:-4px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    display:grid;
    place-items:center;
    border:2px solid #080b10;
    border-radius:999px;
    background:#e86d6d;
    color:white;
    font-size:7px;
    font-weight:800;
}
.client-notification-badge[hidden] { display:none; }

.notification-list { display:grid; gap:10px; }
.notification-card {
    display:grid;
    grid-template-columns:38px 1fr auto;
    gap:13px;
    align-items:flex-start;
    padding:16px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#0d1219;
    cursor:pointer;
}
.notification-card.unread { border-color:rgba(126,189,255,.22); background:#101720; }
.notification-card:hover { background:#121922; }
.notification-icon {
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:rgba(255,255,255,.045);
    color:#9db4ca;
}
.notification-copy strong { display:block; margin-bottom:5px; font-size:10px; }
.notification-copy p { color:#7e8995; font-size:9px; line-height:1.55; }
.notification-copy small { display:block; margin-top:7px; color:#59646f; font-size:7px; }
.notification-dot { width:7px; height:7px; margin-top:5px; border-radius:50%; background:#7ebdff; }

.identity-box {
    margin-top:18px;
    padding:17px;
    border:1px solid rgba(126,189,255,.16);
    border-radius:10px;
    background:rgba(126,189,255,.035);
}
.identity-box h3 { margin-bottom:7px; font-size:12px; }
.identity-box p { margin-bottom:14px; color:#7f8a96; font-size:9px; line-height:1.65; }
.identity-requirements {
    margin:0 0 15px 17px;
    color:#87929e;
    font-size:8px;
    line-height:1.8;
}
.file-note { margin-top:6px; color:#606b76; font-size:7px; line-height:1.5; }
.pending-request {
    padding:14px;
    border:1px solid rgba(219,174,91,.2);
    border-radius:9px;
    background:rgba(219,174,91,.05);
}
.pending-request strong { display:block; margin-bottom:6px; font-size:10px; }
.pending-request p { margin:0; color:#8d8068; font-size:8px; }

.workflow-strip {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:17px 0;
}
.workflow-box {
    padding:12px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#0a0e14;
}
.workflow-box small { display:block; margin-bottom:5px; color:#5f6a76; font-size:7px; font-weight:800; letter-spacing:.7px; }
.workflow-box strong { font-size:9px; color:#cbd2d9; }
.approval-box {
    margin-top:18px;
    padding:15px;
    border:1px solid rgba(126,189,255,.16);
    border-radius:9px;
    background:rgba(126,189,255,.035);
}
.approval-box h3 { margin-bottom:6px; font-size:11px; }
.approval-box p { margin-bottom:12px; color:#82909c; font-size:8px; line-height:1.6; }
.approval-box textarea {
    width:100%; min-height:78px; margin-bottom:10px; padding:10px;
    border:1px solid var(--line-strong); border-radius:8px; outline:none;
    background:#090d13; color:#eef1f4; font-size:9px; resize:vertical;
}
.domain-box {
    margin-top:18px;
    padding:15px;
    border:1px solid var(--line);
    border-radius:9px;
    background:#0a0e14;
}
.domain-box h3 { margin-bottom:10px; font-size:11px; }
.domain-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:11px; }
.domain-item small { display:block; margin-bottom:4px; color:#5f6a76; font-size:7px; font-weight:800; }
.domain-item strong { color:#b9c2cb; font-size:9px; }

@media (max-width:600px) {
    .workflow-strip, .domain-grid { grid-template-columns:1fr; }
    .client-notification-bell { margin-left:auto; }
}


/* ==========================================================
   XAQIL STEP 9 — FINAL PORTAL VISUAL POLISH
   Dark graphite + restrained steel-blue accents
   ========================================================== */
:root{
    --xq-accent:#7f9fb8;
    --xq-accent-soft:#9db8ca;
    --xq-accent-deep:#46647b;
    --xq-glow:rgba(91,137,171,.13);
}
.client-sidebar{
    background:
        linear-gradient(180deg,rgba(13,19,27,.99),rgba(8,12,18,.99));
    box-shadow:18px 0 45px rgba(0,0,0,.18);
}
.client-nav a.active{
    background:linear-gradient(90deg,rgba(91,137,171,.14),rgba(255,255,255,.035));
    box-shadow:inset 2px 0 0 var(--xq-accent);
}
.client-kicker,.panel-head span,.auth-kicker,.client-help-card small{
    color:var(--xq-accent-soft)!important;
}
.stat-card,.portal-panel,.data-panel,.detail-panel,.form-card{
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}
.stat-card:hover{
    border-color:rgba(127,159,184,.23);
}
.stat-icon,.quick-icon{
    background:linear-gradient(145deg,rgba(91,137,171,.12),rgba(255,255,255,.035));
    color:#a9bdcc;
}
.primary-button,.auth-submit{
    background:linear-gradient(135deg,#dfe7ed,#aebdca);
    color:#081019;
    box-shadow:0 8px 22px rgba(62,96,122,.16);
}
.primary-button:hover,.auth-submit:hover{
    filter:brightness(1.06);
}
.client-support-fab{
    border:1px solid rgba(127,159,184,.26);
    background:linear-gradient(145deg,#182431,#101820);
    box-shadow:0 16px 38px rgba(0,0,0,.28),0 0 0 1px rgba(127,159,184,.05);
}
.client-support-fab i{color:#b8cad8}
.progress-line>span{
    background:linear-gradient(90deg,#557a96,#a7bac8);
}
.notice{
    border-color:rgba(127,159,184,.18)!important;
    background:linear-gradient(135deg,rgba(77,112,139,.09),rgba(255,255,255,.02))!important;
}

/* Invoice payment area */
.payment-actions{
    display:grid;
    gap:10px;
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--line);
}
.payment-choice-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.payment-choice{
    min-height:86px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border:1px solid var(--line);
    border-radius:11px;
    background:linear-gradient(145deg,#111822,#0b1118);
    color:#dce3e8;
}
.payment-choice i{
    width:34px;height:34px;
    display:grid;place-items:center;
    flex:0 0 34px;
    border-radius:9px;
    background:rgba(127,159,184,.11);
    color:#a9c0d0;
}
.payment-choice strong{display:block;font-size:10px;margin-bottom:4px}
.payment-choice small{display:block;color:#6f7a86;font-size:8px;line-height:1.45}
.payment-choice.disabled{opacity:.48}
.bank-transfer-form{
    display:none;
    margin-top:10px;
    padding:16px;
    border:1px solid rgba(127,159,184,.16);
    border-radius:11px;
    background:rgba(7,11,17,.7);
}
.bank-transfer-form.show{display:block}
.bank-transfer-form .form-field{margin-bottom:12px}
.bank-transfer-form label{
    display:block;margin-bottom:6px;
    color:#75818d;font-size:7px;font-weight:800;letter-spacing:.8px;
}
.bank-transfer-form input{
    width:100%;height:42px;padding:0 11px;
    border:1px solid var(--line);border-radius:8px;
    outline:none;background:#090d13;color:#e8edf1;font-size:10px;
}
.bank-transfer-form input[type=file]{height:auto;padding:10px}
.bank-transfer-form input:focus{border-color:rgba(127,159,184,.4)}
.payment-note{
    margin:8px 0 0;
    color:#687480;font-size:8px;line-height:1.55;
}
.payment-success{
    padding:13px 14px;
    border:1px solid rgba(112,221,165,.18);
    border-radius:9px;
    background:rgba(112,221,165,.055);
    color:#8eddb2;font-size:9px;line-height:1.55;
}
@media(max-width:620px){
    .payment-choice-grid{grid-template-columns:1fr}
}


/* =========================================================
   XAQIL TECHNOLOGIES — CLIENT PORTAL PROFESSIONAL POLISH
   ========================================================= */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.client-nav a { font-size: 12.5px; font-weight: 600; }
.client-nav a i { font-size: 13px; color: #93a9b8; }
.client-kicker { font-size: 9px; color: #8196a5; }
.client-title { font-weight: 750; }
.client-account-copy strong { font-size: 12px; }
.client-account-copy small { font-size: 9px; }
.client-help-card small { font-size: 8px; }
.client-help-card strong { font-size: 11.5px; }
.client-help-card p { font-size: 9.5px; line-height: 1.6; }
.stat-icon { width: 39px; height: 39px; font-size: 15px; color: #aec0cc; }
.stat-card span { font-size: 10px; }
.panel-head span { font-size: 8px; }
.panel-head h2 { font-size: 16px; }
.panel-link { font-size: 10px; }
.hero-project .project-type { font-size: 11px; }
.meta-box small { font-size: 8px; }
.meta-box strong { font-size: 10px; }
.progress-copy { font-size: 9px; }
.client-update { font-size: 10.5px; }
.quick-icon { width: 37px; height: 37px; font-size: 13px; color: #a9bac6; }
.quick-row strong { font-size: 11px; }
.quick-row small { font-size: 9px; }
.data-header { font-size: 8px; }
.data-primary strong { font-size: 11px; }
.data-primary small, .data-secondary { font-size: 9px; }
.reference { font-size: 9px; }
.detail-field label { font-size: 8px; }
.detail-field p { font-size: 10px; }
.status-pill { font-size: 8px; }
.auth-copy p,
.auth-card > p { line-height: 1.7; }
.auth-card label { letter-spacing: .8px; }
