/* Portal Modern UI - centralized styles (no inline CSS) */
/* Generated from Blade page style blocks */

/* ===== index.blade.php ===== */
    .customer-dash {
        --line: #dce3ee;
        --text-main: #132238;
        --text-muted: #5e6d83;
        --brand: #0b7285;
        --brand-2: #2a9d8f;
        --ok: #2b9348;
        --warn: #d97706;
        --danger: #b91c1c;
    }

    .customer-dash {
        color: var(--text-main);
        animation: cd-fade .28s ease;
    }

    @keyframes cd-fade {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dash-hero {
        border-radius: 18px;
        padding: 24px;
        color: #fff;
        margin-bottom: 16px;
        background:
            radial-gradient(circle at 10% 10%, rgba(42, 157, 143, .28) 0%, transparent 35%),
            radial-gradient(circle at 92% 12%, rgba(244, 162, 97, .23) 0%, transparent 32%),
            linear-gradient(145deg, #0f172a, #1e293b 60%, #1f4d67);
        box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
    }

    .dash-hero h1 {
        margin: 0;
        font-size: clamp(1.4rem, 2.2vw, 2rem);
        font-weight: 700;
    }

    .dash-hero p {
        margin: 8px 0 0;
        color: rgba(255, 255, 255, .86);
    }

    .kpi-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 14px;
    }

    .kpi {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 8px 18px rgba(12, 23, 44, .05);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .kpi-label {
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--text-muted);
        margin: 0;
    }

    .kpi-value {
        margin: 4px 0 0;
        font-size: 1.7rem;
        line-height: 1;
        font-weight: 700;
    }

    .kpi-link {
        margin-top: 7px;
        font-size: .79rem;
        color: var(--brand);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .kpi-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: 1.15rem;
    }

    .i-dom { background: linear-gradient(140deg, #0b7285, #2a9d8f); }
    .i-host { background: linear-gradient(140deg, #1d3557, #457b9d); }
    .i-voip { background: linear-gradient(140deg, #2b9348, #55a630); }
    .i-srv { background: linear-gradient(140deg, #d97706, #f4a261); }

    .panel {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 10px 20px rgba(12, 23, 44, .05);
        overflow: hidden;
        margin-bottom: 14px;
    }

    .panel-head {
        padding: 13px 16px;
        border-bottom: 1px solid var(--line);
        background: linear-gradient(180deg, #fff, #f8fbff);
    }

    .panel-head h5 {
        margin: 0;
        font-size: .95rem;
        font-weight: 700;
    }

    .table-modern {
        margin: 0;
    }

    .table-modern thead th {
        font-size: .77rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #46566c;
        background: #f7f9fc;
        border-bottom: 1px solid var(--line);
        white-space: nowrap;
    }

    .table-modern td {
        border-color: #edf1f6;
        vertical-align: middle;
    }

    .company-row td {
        background: #f1f7ff;
        font-weight: 700;
    }

    .pill {
        border-radius: 999px;
        padding: 3px 8px;
        font-size: .72rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .pill-ok { background: rgba(43, 147, 72, .15); color: #226c37; }
    .pill-muted { background: #edf1f6; color: #46566c; }
    .pill-warn { background: rgba(217, 119, 6, .16); color: #8a4d08; }

    .sim-text a {
        text-decoration: none;
    }

    .sim-text .small {
        margin-bottom: 4px;
    }

    @media (max-width: 1200px) {
        .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 768px) {
        .dash-hero { padding: 18px; }
        .kpi-grid { grid-template-columns: 1fr; }
    }

/* ===== services/domains.blade.php ===== */
    .svc-modern {
        --line: #dce3ee;
        --text-main: #132238;
        --text-muted: #5e6d83;
        --brand: #0b7285;
        --brand-2: #2a9d8f;
    }

    .svc-modern { color: var(--text-main); animation: sv-fade .28s ease; }
    @keyframes sv-fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform: translateY(0);} }

    .svc-hero {
        border-radius: 16px;
        padding: 22px;
        color: #fff;
        margin-bottom: 14px;
        background:
            radial-gradient(circle at 10% 10%, rgba(42, 157, 143, .28) 0%, transparent 35%),
            radial-gradient(circle at 92% 15%, rgba(244, 162, 97, .23) 0%, transparent 32%),
            linear-gradient(145deg, #0f172a, #1e293b 60%, #1f4d67);
    }

    .svc-hero h1 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700; }
    .svc-hero p { margin: 8px 0 0; color: rgba(255,255,255,.86); }

    .svc-panel {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(12, 23, 44, .05);
    }

    .svc-head {
        border-bottom: 1px solid var(--line);
        padding: 12px 14px;
        background: linear-gradient(180deg, #fff, #f8fbff);
    }

    .svc-title { margin: 0; font-size: .95rem; font-weight: 700; }

    .status-pill {
        display: inline-flex;
        border-radius: 999px;
        padding: 4px 10px;
        font-size: .72rem;
        font-weight: 700;
    }

    .st-active { background: rgba(43, 147, 72, .15); color: #226c37; }
    .st-inactive { background: #eef2f7; color: #485970; }

    .table-modern thead th {
        font-size: .77rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #46566c;
        background: #f7f9fc;
        border-bottom: 1px solid var(--line);
        white-space: nowrap;
    }

    .table-modern td { border-color: #edf1f6; vertical-align: middle; }

    .dataTables_wrapper .dataTables_filter input,
    .dataTables_wrapper .dataTables_length select {
        border: 1px solid #dce3ee;
        border-radius: 8px;
        padding: 6px 10px;
        background: #fff;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.25rem 0.5rem !important;
        margin: 0 2px !important;
        border-radius: 6px !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background: #e7f5f4 !important;
        border: 1px solid #c4e8e4 !important;
        color: #0b7285 !important;
    }

    /* Compact paginator for all customer /services/* DataTables views */
    .svc-modern .dataTables_wrapper .dataTables_paginate {
        margin-top: 8px;
        float: none;
        text-align: right;
    }

    .svc-modern .dataTables_wrapper .dataTables_paginate .pagination {
        margin: 0 !important;
        gap: 2px;
        justify-content: flex-end;
    }

    .svc-modern .dataTables_wrapper .dataTables_paginate .pagination .page-item {
        margin: 0 !important;
    }

    .svc-modern .dataTables_wrapper .dataTables_paginate .pagination .page-item:not(:first-child) .page-link {
        margin-left: 0 !important;
    }

    .svc-modern .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.2rem 0.45rem !important;
        min-width: 28px;
        border-radius: 6px !important;
    }

/* ===== services/hostings.blade.php ===== */
    .svc-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .svc-modern { color: var(--text-main); animation: sv-fade .28s ease; }
    @keyframes sv-fade { from { opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }
    .svc-hero { border-radius:16px; padding:22px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .svc-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .svc-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .svc-panel { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .svc-head { border-bottom:1px solid var(--line); padding:12px 14px; background:linear-gradient(180deg,#fff,#f8fbff); }
    .svc-title { margin:0; font-size:.95rem; font-weight:700; }
    .status-pill { display:inline-flex; border-radius:999px; padding:4px 10px; font-size:.72rem; font-weight:700; }
    .st-active { background:rgba(43,147,72,.15); color:#226c37; }
    .st-danger { background:rgba(185,28,28,.14); color:#8f1919; }
    .st-warn { background:rgba(217,119,6,.16); color:#8a4d08; }
    .st-default { background:#eef2f7; color:#485970; }
    .table-modern thead th { font-size:.77rem; letter-spacing:.04em; text-transform:uppercase; color:#46566c; background:#f7f9fc; border-bottom:1px solid var(--line); white-space:nowrap; }
    .table-modern td { border-color:#edf1f6; vertical-align:middle; }
    .dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { border:1px solid #dce3ee; border-radius:8px; padding:6px 10px; background:#fff; }

/* ===== shared customer helpers ===== */
.context-help-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(180deg, #f8fbff, #f3f8ff);
    border: 1px solid #dce8fb;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.context-help-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: #0b5ed7;
    background: #e8f1ff;
    flex-shrink: 0;
}

.context-help-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #17324f;
}

.context-help-list {
    margin: 0;
    padding-left: 18px;
    color: #345;
}

.context-help-list li {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 3px;
}

.portal-feedback-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    border: 0;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0b5ed7, #0a8f75);
    box-shadow: 0 10px 24px rgba(11, 94, 215, 0.25);
    transition: width 220ms ease, transform 220ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.portal-feedback-icon {
    font-size: 1.15rem;
    line-height: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: left 220ms ease, transform 220ms ease;
}

.portal-feedback-label {
    position: absolute;
    left: 40px;
    top: 50%;
    max-width: 90px;
    opacity: 0;
    transform: translate(8px, -50%);
    transition: opacity 160ms ease, transform 220ms ease;
    pointer-events: none;
}

.portal-feedback-btn:hover,
.portal-feedback-btn:focus-visible {
    width: 142px;
    transform: translateX(-6px); /* slide-out-left */
    filter: brightness(1.04);
}

.portal-feedback-btn:hover .portal-feedback-icon,
.portal-feedback-btn:focus-visible .portal-feedback-icon {
    left: 16px;
    transform: translateY(-50%);
}

.portal-feedback-btn:hover .portal-feedback-label,
.portal-feedback-btn:focus-visible .portal-feedback-label {
    opacity: 1;
    transform: translate(0, -50%);
}

.portal-feedback-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.portal-feedback-modal {
    border-radius: 14px;
}

.transfer-code-modal {
    border-radius: 14px;
}

.transfer-code-result {
    border: 1px dashed #c7d8f5;
    border-radius: 10px;
    background: #f8fbff;
    padding: 12px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.02em;
    color: #123;
    font-weight: 700;
    word-break: break-all;
}

@media (max-width: 768px) {
    .portal-feedback-btn {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
    }

    .context-help-banner {
        padding: 10px 12px;
    }
}
    .dataTables_wrapper .dataTables_paginate .paginate_button { padding:.25rem .5rem !important; margin:0 2px !important; border-radius:6px !important; }
    .dataTables_wrapper .dataTables_paginate .paginate_button.current { background:#e7f5f4 !important; border:1px solid #c4e8e4 !important; color:#0b7285 !important; }

/* ===== services/server.blade.php ===== */
    .svc-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .svc-modern { color: var(--text-main); animation: sv-fade .28s ease; }
    @keyframes sv-fade { from { opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }
    .svc-hero { border-radius:16px; padding:22px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .svc-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .svc-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .svc-panel { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .svc-head { border-bottom:1px solid var(--line); padding:12px 14px; background:linear-gradient(180deg,#fff,#f8fbff); }
    .svc-title { margin:0; font-size:.95rem; font-weight:700; }
    .status-pill { display:inline-flex; border-radius:999px; padding:4px 10px; font-size:.72rem; font-weight:700; }
    .st-active { background:rgba(43,147,72,.15); color:#226c37; }
    .st-danger { background:rgba(185,28,28,.14); color:#8f1919; }
    .st-warn { background:rgba(217,119,6,.16); color:#8a4d08; }
    .st-default { background:#eef2f7; color:#485970; }
    .table-modern thead th { font-size:.77rem; letter-spacing:.04em; text-transform:uppercase; color:#46566c; background:#f7f9fc; border-bottom:1px solid var(--line); white-space:nowrap; }
    .table-modern td { border-color:#edf1f6; vertical-align:middle; }
    .dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { border:1px solid #dce3ee; border-radius:8px; padding:6px 10px; background:#fff; }

/* ===== services/voip.blade.php ===== */
    .svc-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .svc-modern { color: var(--text-main); animation: sv-fade .28s ease; }
    @keyframes sv-fade { from { opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }
    .svc-hero { border-radius:16px; padding:22px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .svc-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .svc-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .svc-panel { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .svc-head { border-bottom:1px solid var(--line); padding:12px 14px; background:linear-gradient(180deg,#fff,#f8fbff); }
    .svc-title { margin:0; font-size:.95rem; font-weight:700; }
    .status-pill { display:inline-flex; border-radius:999px; padding:4px 10px; font-size:.72rem; font-weight:700; }
    .st-active { background:rgba(43,147,72,.15); color:#226c37; }
    .st-danger { background:rgba(185,28,28,.14); color:#8f1919; }
    .st-warn { background:rgba(217,119,6,.16); color:#8a4d08; }
    .st-default { background:#eef2f7; color:#485970; }
    .table-modern thead th { font-size:.77rem; letter-spacing:.04em; text-transform:uppercase; color:#46566c; background:#f7f9fc; border-bottom:1px solid var(--line); white-space:nowrap; }
    .table-modern td { border-color:#edf1f6; vertical-align:middle; }
    .dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { border:1px solid #dce3ee; border-radius:8px; padding:6px 10px; background:#fff; }

/* ===== invoices/index.blade.php ===== */
    .inv-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .inv-modern { color:var(--text-main); animation:iv-fade .28s ease; }
    @keyframes iv-fade { from { opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }
    .inv-hero { border-radius:16px; padding:22px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .inv-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .inv-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .inv-panel { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .inv-head { border-bottom:1px solid var(--line); padding:12px 14px; background:linear-gradient(180deg,#fff,#f8fbff); }
    .status-pill { display:inline-flex; border-radius:999px; padding:4px 9px; font-size:.72rem; font-weight:700; }
    .s-draft{background:#eef2f7;color:#4a5b72;} .s-sent{background:#e7f1ff;color:#1f4f85;} .s-paid{background:rgba(43,147,72,.15);color:#236b37;} .s-overdue{background:rgba(185,28,28,.14);color:#8f1919;} .s-cancelled{background:#e5e7eb;color:#334155;}
    .type-pill { display:inline-flex; border-radius:999px; padding:3px 8px; font-size:.72rem; font-weight:700; }
    .t-proforma { background:rgba(217,119,6,.16); color:#8a4d08; }
    .t-credit { background:rgba(185,28,28,.14); color:#8f1919; }
    .t-final { background:rgba(43,147,72,.15); color:#236b37; }
    .table-modern thead th { font-size:.77rem; letter-spacing:.04em; text-transform:uppercase; color:#46566c; background:#f7f9fc; border-bottom:1px solid var(--line); white-space:nowrap; }
    .table-modern td { border-color:#edf1f6; vertical-align:middle; }
    .small-btn { border-radius:999px; font-size:.74rem; }
    .inv-pagination-wrap .pagination {
        margin: 0;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .inv-pagination-wrap nav > div:first-child {
        display: none !important;
    }
    .inv-pagination-wrap nav > div:last-child {
        display: flex !important;
    }
    .inv-pagination-wrap nav > div:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .inv-pagination-wrap nav > div:last-child > div:first-child > p {
        margin: 0;
        text-align: center;
    }
    .inv-pagination-wrap nav > div:last-child > div:last-child {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .inv-pagination-wrap nav > div:last-child > div:last-child > nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .inv-pagination-wrap .page-item {
        margin: 0;
    }
    .inv-pagination-wrap .page-item:not(:first-child) .page-link {
        margin-left: 0;
    }
    .inv-pagination-wrap .page-link {
        min-width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border-radius: 8px !important;
        font-size: .82rem;
    }
    @media (max-width: 575.98px) {
        .inv-pagination-wrap .page-link {
            min-width: 32px;
            height: 32px;
            padding: 0 8px;
        }
    }

/* ===== invoices/show.blade.php ===== */
    .inv-show { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .inv-show { color:var(--text-main); animation:is-fade .28s ease; }
    @keyframes is-fade { from {opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }

    .inv-shell { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .inv-head { border-bottom:1px solid var(--line); padding:12px 14px; background:linear-gradient(180deg,#fff,#f8fbff); }
    .meta-pill { display:inline-flex; border-radius:999px; padding:4px 10px; font-size:.72rem; font-weight:700; background:#eef2f7; color:#485970; }
    .summary-card { border:1px solid #e8edf5; border-radius:12px; padding:10px 12px; background:#fbfdff; }
    .summary-card h6 { margin:0 0 4px; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); }
    .summary-card p { margin:0; font-weight:700; }
    .table-modern thead th { font-size:.77rem; letter-spacing:.04em; text-transform:uppercase; color:#46566c; background:#f7f9fc; border-bottom:1px solid var(--line); white-space:nowrap; }
    .table-modern td, .table-modern th { border-color:#edf1f6; }

    @media print {
        @page { size: A4; margin: 12mm; }
        .no-print { display:none !important; }
        .inv-shell { border:none !important; box-shadow:none !important; }
        .content-page { background:#fff !important; }
    }

/* ===== companies/show.blade.php ===== */
    .cmp-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .cmp-modern { color:var(--text-main); }
    .cmp-hero { border-radius:16px; padding:20px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .cmp-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .cmp-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .cmp-card { background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 10px 20px rgba(12,23,44,.05); }

/* ===== companies/edit.blade.php ===== */
    .cmp-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .cmp-modern { color:var(--text-main); }
    .cmp-hero {
        border-radius:16px;
        padding:20px;
        color:#fff;
        margin-bottom:14px;
        background:
            radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%),
            radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%),
            linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67);
    }
    .cmp-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .cmp-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .cmp-card { background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .cmp-card .section-title { font-weight:700; font-size:.95rem; color:#1d3557; margin-bottom:.8rem; }
    .cmp-card .form-control,
    .cmp-card .form-select { border-radius:10px; border-color:#d9e2ee; }
    .cmp-card .form-control:focus,
    .cmp-card .form-select:focus { border-color:#2d7fb8; box-shadow:0 0 0 .2rem rgba(45,127,184,.12); }
    .cmp-hint { font-size:.78rem; color:var(--text-muted); margin-top:.35rem; }

/* ===== auth/companies.blade.php ===== */
    .cmp-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .cmp-modern { color:var(--text-main); }
    .cmp-hero { border-radius:16px; padding:20px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .cmp-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .cmp-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .cmp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
    .cmp-card { background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 10px 20px rgba(12,23,44,.05); overflow:hidden; }
    .cmp-card-body { padding:14px; }
    .cmp-logo { width:62px; height:62px; object-fit:cover; border-radius:12px; border:1px solid #e5eaf3; }
    .cmp-type { display:inline-flex; border-radius:999px; padding:4px 9px; font-size:.72rem; font-weight:700; margin-top:8px; }
    .t-biz { background:#e8f1ff; color:#1f4f85; }
    .t-private { background:rgba(43,147,72,.15); color:#236b37; }
    .cmp-name { margin:8px 0 2px; font-weight:700; }
    .cmp-address { color:var(--text-muted); font-size:.82rem; line-height:1.35; min-height:52px; }

/* ===== auth/profile.blade.php ===== */
    .set-modern { --line:#dce3ee; --text-main:#132238; --text-muted:#5e6d83; }
    .set-modern { color:var(--text-main); }
    .set-hero { border-radius:16px; padding:20px; color:#fff; margin-bottom:14px; background: radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%), radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%), linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67); }
    .set-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .set-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .set-card { background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 10px 20px rgba(12,23,44,.05); }
    .set-card .card-header { border-bottom:1px solid var(--line); background:linear-gradient(180deg,#fff,#f8fbff); }

/* ===== auth/notifications.blade.php ===== */
    .ntf-modern {
        --line:#dce3ee;
        --text-main:#132238;
        --text-muted:#5e6d83;
        color:var(--text-main);
    }
    .ntf-hero {
        border-radius:16px;
        padding:20px;
        color:#fff;
        margin-bottom:14px;
        background:
            radial-gradient(circle at 10% 10%, rgba(42,157,143,.28) 0%, transparent 35%),
            radial-gradient(circle at 92% 15%, rgba(244,162,97,.23) 0%, transparent 32%),
            linear-gradient(145deg,#0f172a,#1e293b 60%,#1f4d67);
    }
    .ntf-hero h1 { margin:0; font-size:clamp(1.3rem,2vw,1.8rem); font-weight:700; }
    .ntf-hero p { margin:8px 0 0; color:rgba(255,255,255,.86); }
    .ntf-card {
        background:#fff;
        border:1px solid var(--line);
        border-radius:14px;
        box-shadow:0 10px 20px rgba(12,23,44,.05);
    }
    .ntf-item {
        border:1px solid #e2e9f2;
        border-radius:12px;
        padding:12px;
        background:#fff;
    }
    .ntf-item + .ntf-item { margin-top:10px; }
    .ntf-item.is-unread {
        background:linear-gradient(180deg,#ffffff,#f7fbff);
        border-color:#cfe0f3;
    }
    .ntf-icon {
        width:42px;
        height:42px;
        border-radius:11px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        color:#fff;
        font-size:1.05rem;
        flex:0 0 auto;
    }
    .ntf-icon--info { background:#0d6efd; }
    .ntf-icon--warning { background:#f08c00; }
    .ntf-icon--success { background:#2f9e44; }
    .ntf-icon--error { background:#e03131; }
    .ntf-icon--default { background:#495057; }
    .ntf-title { margin:0; font-size:.96rem; font-weight:700; }
    .ntf-body { margin:.35rem 0 .55rem; color:var(--text-muted); }
    .ntf-meta { font-size:.82rem; color:var(--text-muted); }
    .ntf-chips { display:flex; flex-wrap:wrap; gap:6px; }
    .ntf-chip {
        border:1px solid #d8e2ef;
        background:#f6f9fd;
        border-radius:999px;
        padding:4px 9px;
        font-size:.73rem;
        font-weight:600;
        color:#2b4668;
    }
    .ntf-empty {
        border:1px dashed #c8d5e6;
        border-radius:12px;
        background:linear-gradient(180deg,#fbfdff,#f5f9ff);
        padding:22px;
        text-align:center;
        color:var(--text-muted);
    }

/* ===== admin/dashboard.blade.php ===== */
    .modern-dashboard {
        --bg-soft: #f4f7fb;
        --card-bg: #ffffff;
        --text-main: #14213d;
        --text-muted: #5c6b80;
        --line: #dce3ee;
        --brand: #0b7285;
        --brand-2: #2a9d8f;
        --accent: #f4a261;
        --danger: #d62828;
        --success: #2b9348;
    }

    .modern-dashboard {
        color: var(--text-main);
        animation: dash-fade .35s ease;
    }

    @keyframes dash-fade {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dash-hero {
        background:
            radial-gradient(circle at 10% 20%, rgba(42, 157, 143, .25) 0%, transparent 38%),
            radial-gradient(circle at 88% 15%, rgba(244, 162, 97, .28) 0%, transparent 35%),
            linear-gradient(145deg, #0f172a, #1e293b 58%, #1f4d67);
        color: #fff;
        border-radius: 20px;
        padding: 28px;
        margin-bottom: 22px;
        box-shadow: 0 16px 30px rgba(15, 23, 42, .18);
    }

    .dash-hero h1 {
        margin: 0;
        font-size: clamp(1.5rem, 2.2vw, 2.1rem);
        font-weight: 700;
    }

    .dash-hero p {
        margin: 8px 0 0;
        color: rgba(255, 255, 255, .86);
        font-size: .95rem;
    }

    .dash-quick-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
    }

    .dash-quick-actions .btn {
        border-radius: 999px;
        padding: .45rem .9rem;
        border: 1px solid rgba(255, 255, 255, .24);
        background: rgba(255, 255, 255, .12);
        color: #fff;
        backdrop-filter: blur(3px);
    }

    .dash-quick-actions .btn:hover {
        background: rgba(255, 255, 255, .2);
        color: #fff;
    }

    .kpi-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
        margin-bottom: 16px;
    }

    .kpi-card {
        background: var(--card-bg);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 100px;
        box-shadow: 0 8px 18px rgba(12, 23, 44, .06);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 22px rgba(12, 23, 44, .09);
    }

    .kpi-label {
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        margin-bottom: 4px;
        font-weight: 600;
    }

    .kpi-value {
        font-size: 1.8rem;
        line-height: 1;
        margin: 0;
        font-weight: 700;
        color: var(--text-main);
    }

    .kpi-sub {
        margin-top: 6px;
        font-size: .78rem;
        color: var(--text-muted);
    }

    .kpi-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        font-size: 1.2rem;
        color: #fff;
        flex-shrink: 0;
    }

    .icon-users {
        background: linear-gradient(140deg, #0b7285, #2a9d8f);
    }

    .icon-companies {
        background: linear-gradient(140deg, #1d3557, #457b9d);
    }

    .icon-invoices {
        background: linear-gradient(140deg, #d97706, #f4a261);
    }

    .icon-services {
        background: linear-gradient(140deg, #2b9348, #55a630);
    }

    .insight-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 18px;
    }

    .insight-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 13px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 6px 14px rgba(12, 23, 44, .05);
    }

    .insight-title {
        font-size: .82rem;
        color: var(--text-muted);
        margin: 0;
    }

    .insight-value {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 700;
    }

    .value-open {
        color: #b7791f;
    }

    .value-paid {
        color: var(--success);
    }

    .value-overdue {
        color: var(--danger);
    }

    .dash-panel {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 10px 20px rgba(12, 23, 44, .05);
        overflow: hidden;
    }

    .panel-head {
        padding: 14px 16px;
        border-bottom: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        background: linear-gradient(180deg, #ffffff, #f8fbff);
    }

    .panel-head h5 {
        margin: 0;
        font-size: .97rem;
        font-weight: 700;
        color: #122338;
    }

    .panel-head .btn {
        border-radius: 999px;
        padding: .28rem .72rem;
        font-size: .78rem;
    }

    .invoice-table {
        margin: 0;
    }

    .invoice-table thead th {
        background: #f7f9fc;
        color: #455468;
        font-weight: 600;
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        border-bottom: 1px solid var(--line);
        white-space: nowrap;
    }

    .invoice-table td {
        vertical-align: middle;
        border-color: #edf1f6;
    }

    .status-chip {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 4px 10px;
        font-size: .74rem;
        font-weight: 600;
    }

    .status-paid {
        background: rgba(43, 147, 72, .14);
        color: #236b37;
    }

    .status-open {
        background: rgba(244, 162, 97, .2);
        color: #9a4e16;
    }

    .status-overdue {
        background: rgba(214, 40, 40, .14);
        color: #9c1f1f;
    }

    .status-default {
        background: #eef2f8;
        color: #455468;
    }

    .user-entry {
        padding: 14px 16px;
        border-bottom: 1px solid #edf1f6;
    }

    .user-entry:last-child {
        border-bottom: 0;
    }

    .user-title {
        margin: 0;
        font-weight: 600;
        font-size: .94rem;
    }

    .user-meta {
        margin: 4px 0 0;
        font-size: .78rem;
        color: var(--text-muted);
        line-height: 1.4;
    }

    .user-actions .btn {
        border-radius: 999px;
    }

    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 14px;
    }

    .service-tile {
        border: 1px solid #e7edf5;
        background: #f8fbff;
        border-radius: 12px;
        padding: 12px;
        text-decoration: none;
        color: inherit;
        transition: background .2s ease, border-color .2s ease, transform .2s ease;
        display: block;
    }

    .service-tile:hover {
        border-color: #b6d4eb;
        background: #eef7ff;
        transform: translateY(-2px);
    }

    .service-count {
        font-size: 1.5rem;
        font-weight: 700;
        color: #17324f;
        line-height: 1.1;
    }

    .service-name {
        margin-top: 4px;
        font-size: .83rem;
        color: #5c6b80;
    }

    .revenue-list {
        padding: 14px 14px 10px;
    }

    .revenue-item {
        display: grid;
        grid-template-columns: 105px 1fr auto;
        gap: 10px;
        align-items: center;
        margin-bottom: 10px;
    }

    .rev-month {
        font-size: .82rem;
        color: #4b5a70;
    }

    .rev-amount {
        font-size: .82rem;
        font-weight: 700;
        color: #17324f;
        white-space: nowrap;
    }

    .rev-bar {
        width: 100%;
        height: 10px;
        border-radius: 999px;
        background: #e8eef7;
        overflow: hidden;
    }

    .rev-bar > span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--brand), var(--brand-2));
    }

    .empty-state {
        text-align: center;
        padding: 30px 16px;
        color: #8b99ab;
    }

    .empty-state i {
        font-size: 2.2rem;
        margin-bottom: 8px;
        display: block;
    }

    @media (max-width: 1200px) {
        .kpi-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 991.98px) {
        .insight-strip {
            grid-template-columns: 1fr;
        }

        .service-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 575.98px) {
        .dash-hero {
            padding: 20px;
            border-radius: 14px;
        }

        .kpi-grid {
            grid-template-columns: 1fr;
        }

        .revenue-item {
            grid-template-columns: 1fr;
            gap: 6px;
        }
    }

    .ticket-admin-list {
        padding: 12px;
        display: grid;
        gap: 10px;
    }

    .ticket-admin-item {
        border: 1px solid #e7edf5;
        border-radius: 12px;
        background: #fbfdff;
    }

    .ticket-admin-head {
        padding: 12px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: flex-start;
    }

    .ticket-admin-head h6 {
        margin: 0;
        font-size: .92rem;
        font-weight: 700;
    }

    .ticket-admin-head p {
        margin: 4px 0 0;
        font-size: .78rem;
        color: #5e6d83;
    }

    .ticket-admin-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-end;
    }

    .ticket-admin-actions {
        border-top: 1px solid #e7edf5;
        padding: 8px 12px 12px;
    }

    .ticket-admin-actions > summary {
        cursor: pointer;
        font-size: .82rem;
        color: #2f4e6f;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .ticket-admin-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .ticket-form {
        border: 1px solid #e4ebf5;
        border-radius: 10px;
        background: #fff;
        padding: 10px;
    }

    .ticket-form .form-label {
        font-size: .76rem;
        color: #4f627b;
        margin-bottom: 6px;
        font-weight: 700;
    }

    .ticket-replies {
        margin-top: 10px;
        display: grid;
        gap: 6px;
    }

    .ticket-reply-item {
        border: 1px dashed #d8e3f0;
        border-radius: 8px;
        padding: 8px 10px;
        background: #f8fbff;
        font-size: .8rem;
    }

    .ticket-reply-item small {
        color: #667a94;
    }

    @media (max-width: 991.98px) {
        .ticket-admin-grid {
            grid-template-columns: 1fr;
        }
    }

    .reply-card {
        border: 1px solid #dbe6f2;
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 10px;
        background: #f8fbff;
    }

    .reply-card.reply-role-admin {
        border-left: 4px solid #2b9348;
        background: #f4fbf6;
    }

    .reply-card.reply-role-user {
        border-left: 4px solid #457b9d;
        background: #f6faff;
    }

    .reply-card.reply-role-system {
        border-left: 4px solid #8b99ab;
        background: #f8fafc;
    }

    .reply-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin-bottom: 7px;
    }

    .reply-body {
        color: #15283f;
        line-height: 1.5;
    }

    .ticket-detail-page .ticket-meta-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .ticket-detail-page .ticket-meta-grid div {
        border: 1px solid #e5edf7;
        border-radius: 10px;
        padding: 8px 10px;
        background: #fbfdff;
    }

    .ticket-detail-page .ticket-meta-grid strong {
        display: block;
        font-size: .74rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #60748f;
        margin-bottom: 2px;
    }

    .ticket-detail-page .ticket-thread {
        display: grid;
        gap: 10px;
    }

    .ticket-detail-page .thread-message {
        border: 1px solid #dce7f3;
        border-radius: 12px;
        background: #f8fbff;
        padding: 12px;
    }

    .ticket-detail-page .thread-initial {
        border-left: 4px solid #457b9d;
        background: #f4f8ff;
    }

    .ticket-detail-page .thread-admin {
        border-left: 4px solid #2b9348;
        background: #f4fbf6;
    }

    .ticket-detail-page .thread-user {
        border-left: 4px solid #1d5f8c;
        background: #f4f9ff;
    }

    .ticket-detail-page .thread-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
        margin-bottom: 8px;
    }

    .ticket-detail-page .thread-body {
        color: #13263c;
        line-height: 1.55;
    }

    .ticket-detail-page .thread-attachments {
        margin-top: 10px;
        border-top: 1px dashed #d5e0ed;
        padding-top: 8px;
    }

    .ticket-detail-page .thread-attachments h6 {
        margin: 0 0 6px;
        font-size: .83rem;
    }

    .ticket-detail-page .thread-attachments ul {
        margin: 0;
        padding-left: 18px;
    }

    .ticket-actions-stack {
        position: sticky;
        top: 86px;
    }

    @media (max-width: 1199.98px) {
        .ticket-actions-stack {
            position: static;
        }
    }

    @media (max-width: 991.98px) {
        .ticket-detail-page .ticket-meta-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 575.98px) {
        .ticket-detail-page .ticket-meta-grid {
            grid-template-columns: 1fr;
        }
    }

/* ===== admin/services.blade.php ===== */
    .services-modern {
        --line: #dce3ee;
        --text-main: #132238;
        --text-muted: #5e6d83;
        --brand: #0b7285;
        --brand-2: #2a9d8f;
        --warn: #f4a261;
        --danger: #d62828;
    }

    .services-modern {
        color: var(--text-main);
        animation: sm-fade .28s ease;
    }

    @keyframes sm-fade {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .page-hero {
        border-radius: 18px;
        padding: 24px;
        color: #fff;
        margin-bottom: 16px;
        background:
            radial-gradient(circle at 10% 10%, rgba(42, 157, 143, .28) 0%, transparent 36%),
            radial-gradient(circle at 92% 15%, rgba(244, 162, 97, .25) 0%, transparent 34%),
            linear-gradient(145deg, #0f172a, #1e293b 60%, #1f4d67);
        box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
    }

    .page-hero h1 {
        margin: 0;
        font-size: clamp(1.3rem, 2vw, 1.9rem);
        font-weight: 700;
    }

    .page-hero p {
        margin: 8px 0 0;
        color: rgba(255, 255, 255, .86);
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
    }

    .hero-actions .btn {
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .22);
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

    .hero-actions .btn:hover {
        color: #fff;
        background: rgba(255, 255, 255, .2);
    }

    .info-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 16px;
    }

    .info-tile {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 12px 14px;
        box-shadow: 0 6px 14px rgba(12, 23, 44, .05);
    }

    .info-label {
        margin: 0;
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--text-muted);
    }

    .info-value {
        margin: 4px 0 0;
        font-size: 1.35rem;
        font-weight: 700;
    }

    .panel {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 10px 22px rgba(12, 23, 44, .05);
        overflow: hidden;
    }

    .panel-head {
        padding: 14px 16px;
        border-bottom: 1px solid var(--line);
        background: linear-gradient(180deg, #fff, #f8fbff);
    }

    .panel-head h5 {
        margin: 0;
        font-size: .95rem;
        font-weight: 700;
    }

    .service-table {
        margin: 0;
    }

    .service-table thead th {
        font-size: .77rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #46566c;
        background: #f7f9fc;
        border-bottom: 1px solid var(--line);
        white-space: nowrap;
    }

    .service-table td {
        vertical-align: middle;
        border-color: #edf1f6;
    }

    .service-row {
        cursor: pointer;
        transition: background-color .18s ease;
    }

    .service-row:hover {
        background: #f7fbff;
    }

    .status-pill {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 4px 10px;
        font-size: .74rem;
        font-weight: 700;
    }

    .status-active {
        background: rgba(43, 147, 72, .15);
        color: #226c37;
    }

    .status-inactive {
        background: #eef2f7;
        color: #4a5b72;
    }

    .cycle-pill {
        display: inline-block;
        border-radius: 999px;
        padding: 3px 8px;
        font-size: .72rem;
        background: #eef7fb;
        color: #1c4f6a;
        border: 1px solid #d2e6f2;
    }

    .table-link {
        color: inherit;
        text-decoration: none;
    }

    .table-link:hover {
        color: var(--brand);
    }

    .pagination svg {
        width: 1rem !important;
        height: 1rem !important;
        max-width: 1rem !important;
        max-height: 1rem !important;
    }

    .svc-modal .modal-content {
        border: 1px solid #d8e1ee;
        border-radius: 14px;
        overflow: hidden;
    }

    .svc-modal .modal-header {
        background: linear-gradient(180deg, #ffffff, #f6f9fd);
        border-bottom: 1px solid #dce3ee;
    }

    .info-table td {
        padding: .38rem .25rem;
        border: 0;
        border-bottom: 1px solid #edf1f6;
        vertical-align: top;
    }

    .info-table tr:last-child td {
        border-bottom: 0;
    }

    .json-box {
        background: #f8fafc;
        border: 1px solid #dce3ee;
        border-radius: 10px;
        font-size: .78rem;
        max-height: 300px;
        overflow-y: auto;
        padding: 12px;
    }

    @media (max-width: 991.98px) {
        .info-strip {
            grid-template-columns: 1fr;
        }

        .page-hero {
            padding: 18px;
        }
    }

/* ===== admin/invoice-simulation.blade.php ===== */
    .sim-modern {
        --line: #dce3ee;
        --text-main: #132238;
        --text-muted: #5e6d83;
        --brand: #0b7285;
        --brand-2: #2a9d8f;
        --warn: #b9770e;
        --danger: #b91c1c;
        --soft-bg: #f8fbff;
    }

    .sim-modern {
        color: var(--text-main);
        animation: sim-fade .28s ease;
    }

    @keyframes sim-fade {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .sim-hero {
        border-radius: 18px;
        padding: 24px;
        color: #fff;
        margin-bottom: 16px;
        background:
            radial-gradient(circle at 10% 15%, rgba(42, 157, 143, .28) 0%, transparent 36%),
            radial-gradient(circle at 92% 10%, rgba(244, 162, 97, .25) 0%, transparent 34%),
            linear-gradient(145deg, #0f172a, #1e293b 60%, #1f4d67);
        box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
    }

    .sim-hero h1 {
        margin: 0;
        font-size: clamp(1.3rem, 2vw, 1.9rem);
        font-weight: 700;
    }

    .sim-hero p {
        margin: 8px 0 0;
        color: rgba(255, 255, 255, .86);
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
    }

    .hero-actions .btn {
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .22);
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

    .hero-actions .btn:hover {
        color: #fff;
        background: rgba(255, 255, 255, .2);
    }

    .sim-summary {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 16px;
    }

    .summary-tile {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 12px 14px;
        box-shadow: 0 6px 14px rgba(12, 23, 44, .05);
    }

    .summary-label {
        margin: 0;
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--text-muted);
    }

    .summary-value {
        margin: 5px 0 0;
        font-size: 1.35rem;
        font-weight: 700;
    }

    .sim-section {
        margin-bottom: 18px;
    }

    .section-head {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        font-size: 1rem;
        font-weight: 700;
    }

    .tone-past { color: var(--danger); }
    .tone-today { color: #0b5ed7; }
    .tone-future { color: #334155; }

    .date-group {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 12px;
        box-shadow: 0 8px 18px rgba(12, 23, 44, .05);
    }

    .date-head {
        background: #f8fbff;
        border-bottom: 1px solid #e6edf6;
        padding: 11px 14px;
        font-size: .92rem;
        font-weight: 700;
    }

    .date-head small {
        color: var(--text-muted);
        font-weight: 500;
    }

    .company-card {
        border-top: 1px solid #edf1f6;
    }

    .company-card:first-child {
        border-top: 0;
    }

    .company-head {
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
        transition: background-color .18s ease;
    }

    .company-head:hover {
        background: #f8fbff;
    }

    .company-title {
        margin: 0;
        font-size: .92rem;
        font-weight: 700;
    }

    .company-meta {
        margin: 3px 0 0;
        color: var(--text-muted);
        font-size: .79rem;
    }

    .badge-pill {
        border-radius: 999px;
        font-size: .72rem;
        padding: 4px 9px;
        font-weight: 700;
    }

    .b-services { background: #e6f2ff; color: #1b4f7c; }
    .b-net { background: #e7f7f5; color: #15615a; }
    .b-gross { background: #fef3e8; color: #8a4b12; }
    .b-zero { background: #fff4d8; color: #8a6408; }

    .alert-inline {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #8a6408;
    }

    .company-body {
        border-top: 1px solid #edf1f6;
        padding: 0 0 8px;
    }

    .sim-table {
        margin: 0;
    }

    .sim-table thead th {
        font-size: .77rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #46566c;
        background: #f7f9fc;
        border-bottom: 1px solid var(--line);
        white-space: nowrap;
    }

    .sim-table td {
        border-color: #edf1f6;
        vertical-align: top;
    }

    .type-pill {
        border-radius: 999px;
        font-size: .72rem;
        padding: 3px 8px;
        background: #eef2f8;
        color: #455468;
    }

    .subtotal-row td {
        background: #fbfdff;
        font-size: .82rem;
    }

    .total-row td {
        background: #f2f8ff;
        font-weight: 700;
    }

    .empty {
        border: 1px dashed #ccd8e6;
        border-radius: 12px;
        padding: 16px;
        color: var(--text-muted);
        background: #fbfdff;
    }

    @media (max-width: 1100px) {
        .sim-summary {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 768px) {
        .sim-hero {
            padding: 18px;
        }

        .sim-summary {
            grid-template-columns: 1fr;
        }

        .company-head {
            flex-direction: column;
            align-items: flex-start;
        }
    }

/* ===== auth/login.blade.php ===== */
        .auth-shell {
            min-height: 100vh;
            display: grid;
            grid-template-columns: minmax(320px, 520px) 1fr;
            background: #f4f7fb;
        }

        .auth-side {
            background: #fff;
            border-right: 1px solid #dce3ee;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .auth-card {
            width: 100%;
            max-width: 420px;
        }

        .auth-brand img { height: 28px; }

        .auth-card h1 {
            margin: 0;
            font-size: 1.6rem;
            font-weight: 700;
            color: #132238;
        }

        .auth-card .muted {
            margin: 8px 0 0;
            color: #5e6d83;
        }

        .auth-field { margin-top: 14px; }

        .auth-field label {
            font-size: .85rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: #334155;
        }

        .auth-field .form-control {
            border: 1px solid #dce3ee;
            border-radius: 10px;
            padding: 10px 12px;
        }

        .auth-field .form-control:focus {
            border-color: #0b7285;
            box-shadow: 0 0 0 .2rem rgba(11, 114, 133, .13);
        }

        .auth-btn {
            margin-top: 16px;
            width: 100%;
            border: 0;
            border-radius: 10px;
            padding: 10px 12px;
            background: linear-gradient(135deg, #0b7285, #2a9d8f);
            color: #fff;
            font-weight: 700;
        }

        .auth-btn:hover { filter: brightness(1.03); color:#fff; }

        .auth-visual {
            position: relative;
            background:
                radial-gradient(circle at 15% 20%, rgba(42, 157, 143, .22) 0%, transparent 38%),
                radial-gradient(circle at 88% 18%, rgba(244, 162, 97, .22) 0%, transparent 34%),
                linear-gradient(145deg, #0f172a, #1e293b 58%, #1f4d67);
            color: #fff;
            padding: 42px;
            display: flex;
            align-items: end;
        }

        .auth-visual h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; margin: 0; }
        .auth-visual p { margin: 10px 0 0; color: rgba(255,255,255,.86); max-width: 560px; }

        @media (max-width: 1024px) {
            .auth-shell { grid-template-columns: 1fr; }
            .auth-visual { min-height: 230px; }
        }

/* ===== auth/forgot-password.blade.php ===== */
        .auth-shell { min-height: 100vh; display: grid; place-items: center; background: #f4f7fb; padding: 20px; }
        .auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid #dce3ee; border-radius: 14px; box-shadow: 0 12px 24px rgba(12, 23, 44, .08); padding: 22px; }
        .auth-card h1 { font-size: 1.45rem; margin: 0; color:#132238; }
        .auth-card p { color:#5e6d83; margin:8px 0 0; }
        .auth-field { margin-top: 14px; }
        .auth-field label { font-size:.85rem; font-weight:600; margin-bottom:6px; }
        .auth-field .form-control { border:1px solid #dce3ee; border-radius:10px; padding:10px 12px; }
        .auth-btn { margin-top:16px; width:100%; border:0; border-radius:10px; padding:10px 12px; background: linear-gradient(135deg,#0b7285,#2a9d8f); color:#fff; font-weight:700; }

/* ===== auth/reset-password.blade.php ===== */
        .auth-shell { min-height: 100vh; display: grid; place-items: center; background: #f4f7fb; padding: 20px; }
        .auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid #dce3ee; border-radius: 14px; box-shadow: 0 12px 24px rgba(12, 23, 44, .08); padding: 22px; }
        .auth-card h1 { font-size: 1.45rem; margin: 0; color:#132238; }
        .auth-card p { color:#5e6d83; margin:8px 0 0; }
        .auth-field { margin-top: 14px; }
        .auth-field label { font-size:.85rem; font-weight:600; margin-bottom:6px; }
        .auth-field .form-control { border:1px solid #dce3ee; border-radius:10px; padding:10px 12px; }
        .auth-btn { margin-top:16px; width:100%; border:0; border-radius:10px; padding:10px 12px; background: linear-gradient(135deg,#0b7285,#2a9d8f); color:#fff; font-weight:700; }

/* ===== sections/nav and shared cleanups ===== */
.logo-lg-img { max-height: 50px; }
.alert-list-item { list-style: none; margin-left: 0; padding-left: 0; }
.noti-icon-badge.is-hidden { display: none; }
.noti-scroll-open { max-height: none; overflow: visible; }
.logout-btn-clean { border: none; background: none; width: 100%; text-align: left; }

/* Sidebar overhaul */
.app-sidebar-menu {
  background:
    radial-gradient(circle at 12% 10%, rgba(33, 158, 188, .18) 0%, transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(255, 183, 3, .14) 0%, transparent 34%),
    linear-gradient(180deg, #0f172a 0%, #13243c 100%);
}
.app-sidebar-menu .logo-box {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 12px 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.sidebar-profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.2);
}
.sidebar-profile-meta {
  min-width: 0;
}
.sidebar-profile-name {
  margin: 0;
  color: #f4f8ff;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-profile-sub {
  margin: 3px 0 0;
  color: #aac4df;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
#sidebar-menu > ul > li.menu-title {
  color: rgba(222, 235, 248, .58);
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 14px;
}
#sidebar-menu ul li a {
  border-radius: 10px;
  margin: 2px 10px;
  color: #dbe7f5;
  font-weight: 500;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
#sidebar-menu ul li a .nav-icon,
#sidebar-menu ul li a i,
#sidebar-menu ul li a iconify-icon {
  color: #a8bfd8;
  transition: color .18s ease;
}
#sidebar-menu ul li a:hover,
#sidebar-menu ul li a:focus {
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translateX(2px);
}
#sidebar-menu ul li a:hover .nav-icon,
#sidebar-menu ul li a:hover i,
#sidebar-menu ul li a:hover iconify-icon,
#sidebar-menu ul li a:focus .nav-icon,
#sidebar-menu ul li a:focus i,
#sidebar-menu ul li a:focus iconify-icon {
  color: #fff;
}
#sidebar-menu ul li.mm-active > a,
#sidebar-menu ul li.menuitem-active > a,
#sidebar-menu ul li.active > a {
  background: linear-gradient(135deg, rgba(14, 116, 144, .8), rgba(24, 151, 132, .8));
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}
#sidebar-menu ul li.mm-active > a .nav-icon,
#sidebar-menu ul li.menuitem-active > a .nav-icon,
#sidebar-menu ul li.active > a .nav-icon,
#sidebar-menu ul li.mm-active > a i,
#sidebar-menu ul li.menuitem-active > a i,
#sidebar-menu ul li.active > a i,
#sidebar-menu ul li.mm-active > a iconify-icon,
#sidebar-menu ul li.menuitem-active > a iconify-icon,
#sidebar-menu ul li.active > a iconify-icon {
  color: #fff;
}
#sidebar-menu .nav-second-level {
  margin: 4px 10px 8px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}
#sidebar-menu .nav-second-level li a {
  margin: 1px 0;
  padding-left: 16px;
  font-size: .9rem;
}
#sidebar-menu .badge {
  border-radius: 999px;
  font-weight: 700;
}

/* Utility replacements for removed inline styles */
.empty-state-icon { font-size: 2.8rem; }
.empty-state-icon-sm { font-size: 2.6rem; }
.truncate-max-230 { max-width: 230px; }
.truncate-max-430 { max-width: 430px; }
.logo-preview-sm { max-width: 100px; }
.logo-preview-md { max-width: 150px; }
.ntf-content-min { min-width: 280px; }
.ntf-meta-min { min-width: 170px; }
.admin-kpi-icon-muted { font-size: 1.5rem; opacity: .6; }
.admin-kpi-icon-muted.warn { color: #b7791f; }
.admin-kpi-icon-muted.success { color: #2b9348; }
.admin-kpi-icon-muted.danger { color: #d62828; }
.info-value-compact { font-size: 1.1rem; }
.hidden-row { display: none; }

/* Progress width without inline style attributes */
.invoice-progress-fill { width: 0; }

/* Admin dashboard additions */
.health-grid {
  display: grid;
  gap: 8px;
}
.health-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e6edf6;
  border-radius: 10px;
  background: #f9fbfe;
}
.health-label {
  font-size: .78rem;
  color: #5f6f85;
}
.health-value {
  font-size: .84rem;
  font-weight: 700;
  color: #162840;
  text-align: right;
}
.feed-list {
  max-height: 300px;
  overflow: auto;
}
.feed-item {
  padding: 10px 12px;
  border-bottom: 1px solid #edf2f8;
}
.feed-item:last-child {
  border-bottom: 0;
}
.feed-title {
  margin: 0;
  font-size: .84rem;
  font-weight: 700;
  color: #1d3557;
}
.feed-meta {
  margin: 4px 0 0;
  font-size: .77rem;
  color: #607188;
}
.feed-time {
  margin: 5px 0 0;
  font-size: .72rem;
  color: #8091a8;
}
