* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f8fafc;
    color: #1e293b;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

.topbar {
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-left img {
    height: 38px;
    width: auto;
}

.support-box {
    font-size: 14px;
    color: #475569;
}

.layout {
    display: flex;
    min-height: calc(100vh - 64px);
}

.sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 20px 0;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: #334155;
    font-size: 15px;
}

.sidebar a:hover,
.sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    border-right: 3px solid #1d4ed8;
}

.main {
    flex: 1;
    padding: 24px;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.page-title {
    margin: 0 0 20px;
    font-size: 24px;
    color: #0f172a;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.stat-box h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.stat-box p {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

input, select, textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    margin-top: 6px;
    margin-bottom: 14px;
    font-size: 14px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.btn {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

table th,
table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-yellow {
    background: #fef3c7;
    color: #92400e;
}

.badge-red {
    background: #fee2e2;
    color: #991b1b;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.login-logo {
    text-align: center;
    margin-bottom: 18px;
}

.login-logo img {
    max-height: 60px;
    width: auto;
}

.login-title {
    text-align: center;
    font-size: 24px;
    margin: 0 0 8px;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.help-text {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin-top: 16px;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}
.engine-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.engine-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.engine-title h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #0f172a;
}

.engine-title p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.engine-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #bfdbfe;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.engine-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.engine-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.engine-card::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(59,130,246,0) 70%);
}

.engine-card h3 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.engine-big-number {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.engine-subtext {
    color: #64748b;
    font-size: 13px;
}

.progress-ring-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
}

.progress-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
}

.progress-ring::before {
    content: "";
    position: absolute;
    inset: 14px;
    background: #fff;
    border-radius: 50%;
}

.progress-ring-center {
    position: relative;
    text-align: center;
    z-index: 1;
}

.progress-ring-center .score {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.progress-ring-center .label {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.panel-title {
    margin: 0 0 16px;
    font-size: 18px;
    color: #0f172a;
}

.health-list {
    display: grid;
    gap: 12px;
}

.health-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
}

.health-item .left {
    font-size: 14px;
    color: #334155;
    font-weight: 600;
}

.health-item .right {
    font-size: 13px;
    color: #64748b;
}

.meter-bar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-top: 10px;
}

.meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.alert-stack {
    display: grid;
    gap: 12px;
}

.alert-box {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid;
}

.alert-critical {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mini-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mini-stat h4 {
    margin: 0 0 8px;
    font-size: 13px;
    color: #64748b;
}

.mini-stat p {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563eb;
    margin-top: 4px;
    flex-shrink: 0;
}

.timeline-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    width: 100%;
}

.timeline-content strong {
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.timeline-content span {
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .engine-grid,
    .dual-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }
}
.exec-hero {
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
}

.exec-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.exec-hero h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #0f172a;
}

.exec-hero p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.pipeline-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.pipeline-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.pipeline-card h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

.pipeline-card p {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
}

.exec-dual-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.live-table-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.visual-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.visual-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid #bfdbfe;
    font-weight: 700;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #15803d;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
    font-weight: 700;
    font-size: 13px;
}

.status-new {
    color: #1d4ed8;
    font-weight: 700;
}

.status-contacted,
.status-followup {
    color: #92400e;
    font-weight: 700;
}

.status-proposal_sent {
    color: #7c3aed;
    font-weight: 700;
}

.status-converted {
    color: #15803d;
    font-weight: 700;
}

.status-lost {
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .pipeline-grid,
    .exec-dual-grid {
        grid-template-columns: 1fr;
    }
}
img {
    max-width: 100%;
    height: auto;
}

.topbar {
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left {
    min-width: 0;
}

.topbar-left strong {
    display: block;
    word-break: break-word;
}

.support-box {
    text-align: right;
    word-break: break-word;
}

.sidebar {
    transition: all 0.3s ease;
}

.mobile-id-box {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    margin-top: 10px;
}

.brand-footer {
    margin-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.brand-footer img {
    height: 18px;
    vertical-align: middle;
    margin-left: 6px;
}

.client-brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.client-brand-box img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 0;
    }

    .sidebar a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .main {
        padding: 16px;
    }

    .topbar {
        padding: 12px 16px;
    }

    .topbar-left img {
        height: 32px;
    }

    .support-box {
        width: 100%;
        text-align: left;
        font-size: 13px;
    }

    .page-title,
    .exec-hero h1,
    .engine-title h1 {
        font-size: 24px !important;
        line-height: 1.2;
    }

    .engine-big-number,
    .pipeline-card p,
    .mini-stat p,
    .stat-box p {
        font-size: 24px;
    }

    table th,
    table td {
        font-size: 13px;
        padding: 10px;
    }

    .card,
    .engine-card,
    .live-table-card,
    .pipeline-card,
    .mini-stat,
    .stat-box {
        padding: 16px;
        border-radius: 14px;
    }
}
.engine-machine {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 26px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.08);
    margin-bottom: 20px;
}

.engine-machine::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px),
        linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.engine-machine-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.engine-machine-title h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #0f172a;
}

.engine-machine-title p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    max-width: 760px;
}

.engine-runner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.engine-core-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    margin-top: 22px;
}

.engine-core-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.engine-core-card h3 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #334155;
}

.machine-ring-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}

.machine-ring {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.machine-ring::before,
.machine-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    border: 2px dashed rgba(37, 99, 235, 0.35);
    animation: rotateRing 14s linear infinite;
}

.machine-ring::after {
    inset: 18px;
    border-style: solid;
    border-color: rgba(96, 165, 250, 0.45) transparent rgba(96, 165, 250, 0.45) transparent;
    animation-direction: reverse;
    animation-duration: 8s;
}

.machine-ring-inner {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #eff6ff 55%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    box-shadow:
        inset 0 0 25px rgba(37,99,235,0.08),
        0 0 25px rgba(59,130,246,0.10);
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.machine-ring-inner .value {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.machine-ring-inner .text {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.engine-scan-box {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    overflow: hidden;
}

.engine-scan-box::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(59,130,246,0) 0%, rgba(59,130,246,0.16) 50%, rgba(59,130,246,0) 100%);
    animation: scanMove 3.2s linear infinite;
}

@keyframes scanMove {
    0% { top: -100%; }
    100% { top: 100%; }
}

.engine-stat-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.engine-stat-line:last-child {
    margin-bottom: 0;
}

.engine-stat-line strong {
    color: #0f172a;
    font-size: 15px;
}

.engine-stat-line span {
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 800;
}

.turbine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.turbine-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.turbine-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.turbine-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.turbine-value {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.turbine-meter {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.turbine-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    position: relative;
}

.turbine-meter-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.75), rgba(255,255,255,0));
    animation: flowLight 2s linear infinite;
}

@keyframes flowLight {
    from { right: -30px; }
    to { right: 100%; }
}

.engine-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.engine-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.machine-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.machine-panel-title {
    margin: 0 0 16px;
    font-size: 18px;
    color: #0f172a;
}

.machine-dual-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.machine-timeline {
    display: grid;
    gap: 14px;
}

.machine-timeline-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.machine-timeline-gear {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563eb;
    margin-top: 4px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(37,99,235,0.10);
}

.machine-timeline-box {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
}

.machine-timeline-box strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}

.machine-timeline-box span {
    color: #64748b;
    font-size: 13px;
}

.machine-alert-stack {
    display: grid;
    gap: 12px;
}

.machine-alert {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

.machine-alert::after {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.55), rgba(255,255,255,0));
    animation: sweepAlert 2.8s linear infinite;
}

@keyframes sweepAlert {
    from { left: -40px; }
    to { left: 100%; }
}

.machine-alert-critical {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.machine-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.machine-alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

@media (max-width: 1100px) {
    .engine-core-grid,
    .turbine-grid,
    .machine-dual-grid {
        grid-template-columns: 1fr;
    }

    .machine-ring {
        width: 180px;
        height: 180px;
    }

    .machine-ring-inner {
        width: 110px;
        height: 110px;
    }
}
.client-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
}

.client-top-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.client-top-links a {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
}

.client-top-links a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.client-full-wrap {
    padding: 24px;
    min-height: calc(100vh - 64px);
    background: #f8fafc;
}

.client-page {
    max-width: 1600px;
    margin: 0 auto;
}

.client-page-full {
    width: 100%;
}

@media (max-width: 900px) {
    .client-top-links {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .client-full-wrap {
        padding: 14px;
    }

    .client-top-links a {
        font-size: 13px;
        padding: 8px 10px;
    }
}