/* SIBNE Capital — responsive sign-in page */
:root {
    --auth-ink: #17243a;
    --auth-muted: #778195;
    --auth-navy: #0b1424;
    --auth-navy-soft: #14243b;
    --auth-gold: #d6b16a;
    --auth-gold-light: #f0d9a5;
    --auth-border: #e3e8ef;
    --auth-surface: #ffffff;
    --auth-danger: #bd3030;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--auth-ink);
    background: #f4f6f9;
    -webkit-font-smoothing: antialiased;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(480px, 1.08fr);
    background: var(--auth-surface);
}

.auth-story {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: clamp(34px, 5vw, 68px);
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: radial-gradient(circle at 78% 77%, rgba(214, 177, 106, .13), transparent 32%), linear-gradient(145deg, #0a1322 0%, #101f35 58%, #142942 100%);
}

    .auth-story::before {
        position: absolute;
        z-index: -1;
        inset: 0;
        content: "";
        opacity: .17;
        background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
        background-size: 48px 48px;
        mask-image: linear-gradient(to bottom right, black, transparent 85%);
    }

.brand-lockup, .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 47px;
    height: 47px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(214,177,106,.55);
    border-radius: 14px;
    color: var(--auth-gold-light);
    background: rgba(214,177,106,.09);
    font-size: 19px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .brand-copy strong {
        font-family: "Manrope", sans-serif;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .12em;
        line-height: 1.2;
    }

        .brand-copy strong span {
            color: var(--auth-gold-light);
            font-weight: 600;
        }

    .brand-copy small {
        color: rgba(255,255,255,.58);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .19em;
    }

.story-content {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin: auto 0;
    padding: 70px 0;
}

.eyebrow, .form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
}

.eyebrow {
    margin-bottom: 25px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auth-gold);
    box-shadow: 0 0 0 5px rgba(214,177,106,.12);
}

.story-content h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4.2vw, 60px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.045em;
}

    .story-content h1 em {
        color: var(--auth-gold-light);
        font-style: normal;
    }

.story-description {
    max-width: 450px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 15px;
    line-height: 1.85;
}

.story-points {
    display: grid;
    gap: 19px;
    margin-top: 38px;
}

.story-point {
    display: flex;
    align-items: center;
    gap: 14px;
}

.point-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    color: var(--auth-gold-light);
    background: rgba(255,255,255,.045);
}

.story-point strong, .story-point small {
    display: block;
}

.story-point strong {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
}

.story-point small {
    color: rgba(255,255,255,.52);
    font-size: 12px;
}

.story-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,.45);
    font-size: 11px;
    letter-spacing: .04em;
}

.story-line {
    width: 44px;
    height: 1px;
    background: var(--auth-gold);
}

.decor {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(214,177,106,.13);
    border-radius: 50%;
    pointer-events: none;
}

.decor-one {
    width: 370px;
    height: 370px;
    right: -210px;
    top: 18%;
}

.decor-two {
    width: 520px;
    height: 520px;
    right: -285px;
    top: 10%;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(28px, 5vw, 78px);
    background: #fff;
}

.mobile-brand {
    display: none;
}

.form-wrap {
    width: 100%;
    max-width: 430px;
    margin: auto;
}

.form-intro {
    margin-bottom: 34px;
}

.form-kicker {
    color: #a17a35;
    margin-bottom: 12px;
}

.form-intro h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(25px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.form-intro p {
    margin: 11px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-form .form-group {
    margin-bottom: 22px;
}

.auth-form label {
    display: block;
    margin-bottom: 9px;
    color: #303c50;
    font-size: 12px;
    font-weight: 700;
}

.input-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    background: #fbfcfe;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

    .input-shell:focus-within {
        border-color: #c6a45f;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(214,177,106,.14);
    }

.field-icon {
    position: absolute;
    left: 17px;
    color: #8993a3;
    font-size: 14px;
    pointer-events: none;
}

.input-shell .form-control {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 48px 0 45px;
    border: 0;
    outline: 0;
    border-radius: 12px;
    color: var(--auth-ink);
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
}

    .input-shell .form-control::placeholder {
        color: #a4acb9;
    }

    .input-shell .form-control:focus {
        background: transparent;
        box-shadow: none;
    }

.password-toggle {
    position: absolute;
    right: 8px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #7d8797;
    background: transparent;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

    .password-toggle:hover {
        color: var(--auth-ink);
        background: #eef1f5;
    }

    .password-toggle:focus-visible {
        outline: 2px solid #c6a45f;
        outline-offset: 2px;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1px 0 25px;
}

.remember-option {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    color: #606c7f !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer;
}

    .remember-option input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: #162943;
        cursor: pointer;
    }

.custom-check {
    display: none;
}

.submit-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 20px;
    border: 1px solid #13243b;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(105deg, #13243b, #203954);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 9px 20px rgba(16,34,56,.13);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .submit-button i {
        color: var(--auth-gold-light);
        font-size: 12px;
        transition: transform .18s ease;
    }

    .submit-button:hover {
        filter: brightness(1.08);
        box-shadow: 0 12px 24px rgba(16,34,56,.19);
        transform: translateY(-1px);
    }

        .submit-button:hover i {
            transform: translateX(3px);
        }

    .submit-button:focus-visible {
        outline: 3px solid rgba(214,177,106,.55);
        outline-offset: 3px;
    }

.secure-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #8b95a4;
    font-size: 10px;
    text-align: center;
}

    .secure-note i {
        color: #9a7b40;
        font-size: 11px;
    }

.field-validation {
    display: block;
    margin-top: 6px;
    color: var(--auth-danger);
    font-size: 11px;
}

.validation-summary:empty {
    display: none;
}

.validation-summary:not(:empty) {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #f1caca;
    border-radius: 10px;
    color: #a52525;
    background: #fff5f5;
    font-size: 12px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

.input-validation-error {
    border-color: #d85a5a !important;
}

.input-shell:has(.input-validation-error) {
    border-color: #d85a5a;
}

.auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 35px;
    color: #a0a8b5;
    font-size: 10px;
    text-align: center;
}

.footer-separator {
    color: var(--auth-gold);
}

@media (min-width: 1500px) {
    .auth-story {
        padding-left: max(68px, calc((100vw - 1440px) / 2));
    }
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
    }

    .auth-story {
        padding: 34px;
    }

    .auth-panel {
        padding: 38px;
    }

    .story-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 700px) {
    .auth-shell {
        display: block;
        min-height: 100vh;
    }

    .auth-story {
        display: none;
    }

    .auth-panel {
        min-height: 100vh;
        padding: 28px 22px 20px;
        background: radial-gradient(circle at 100% 0%, rgba(214,177,106,.09), transparent 30%), #fff;
    }

    .mobile-brand {
        display: inline-flex;
        margin-bottom: 45px;
        color: var(--auth-ink);
    }

        .mobile-brand .brand-mark {
            color: #9a783b;
            background: #fbf7ee;
            border-color: #ead8b3;
        }

        .mobile-brand .brand-copy strong {
            color: #15243a;
        }

            .mobile-brand .brand-copy strong span {
                color: #9a783b;
            }

        .mobile-brand .brand-copy small {
            color: #8d96a5;
        }

    .form-wrap {
        max-width: 460px;
        margin: 0 auto;
    }

    .form-intro {
        margin-bottom: 29px;
    }

        .form-intro h2 {
            font-size: 29px;
        }

    .auth-footer {
        padding-top: 42px;
    }
}

@media (max-width: 380px) {
    .auth-panel {
        padding-right: 17px;
        padding-left: 17px;
    }

    .mobile-brand {
        margin-bottom: 35px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .form-intro h2 {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* =========================================================
   PRESERVED EXISTING SIBNE COMMON UI STYLES
   Shared styles for dashboard and application modules remain below.
   ========================================================= */

/* =========================================================
   SIBNE — COMMON UI STANDARD
   Brand: Black + SIBNE Orange + White
   This layer standardizes typography, spacing, controls,
   tables, cards, modals and pagination across all modules.
   ========================================================= */
:root {
    --sibne-black: #111111;
    --sibne-black-deep: #080808;
    --sibne-black-soft: #222222;
    --sibne-orange: #F4510B;
    --sibne-orange-dark: #C94008;
    --sibne-orange-soft: #FFF1EB;
    --sibne-orange-border: #FFD0BF;
    --sibne-white: #FFFFFF;
    --sibne-bg: #F7F7F8;
    --sibne-surface: #FFFFFF;
    --sibne-border: #E5E7EB;
    --sibne-border-dark: #D1D5DB;
    --sibne-text: #222222;
    --sibne-text-dark: #111111;
    --sibne-text-muted: #777777;
    --sibne-text-light: #9CA3AF;
    --sibne-radius-sm: 7px;
    --sibne-radius-md: 9px;
    --sibne-radius-lg: 12px;
    --sibne-gap-xs: 6px;
    --sibne-gap-sm: 10px;
    --sibne-gap-md: 14px;
    --sibne-gap-lg: 18px;
    --sibne-gap-xl: 24px;
}
/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */
html,
body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body {
    background: var(--sibne-bg) !important;
    color: var(--sibne-text) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.page-title {
    color: var(--sibne-text-dark) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.page-subtitle {
    color: var(--sibne-text-muted) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.page-header {
    gap: var(--sibne-gap-lg) !important;
    margin-bottom: 18px !important;
}

.page-header-actions,
.page-header-right,
.action-buttons,
.header-actions {
    gap: var(--sibne-gap-sm) !important;
}
/* =========================================================
   SIDEBAR / HEADER
   ========================================================= */
.main-sidebar,
.sidebar {
    background: var(--sibne-black) !important;
    color: var(--sibne-white) !important;
}

.sidebar-section-title {
    color: rgba(255,255,255,.42) !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
}

.sidebar-link {
    color: rgba(255,255,255,.72) !important;
    font-size: 13px !important;
    min-height: 42px !important;
    padding: 9px 12px !important;
    margin-bottom: 3px !important;
}

    .sidebar-link:hover,
    .sidebar-link.active,
    .sidebar-nav-group.open > .sidebar-group-toggle {
        background: rgba(244,81,11,.14) !important;
        color: #FFFFFF !important;
    }

        .sidebar-link.active::before {
            background: var(--sibne-orange) !important;
        }

.sidebar-sublink {
    color: rgba(255,255,255,.58) !important;
    font-size: 12px !important;
}

    .sidebar-sublink:hover,
    .sidebar-sublink.active {
        background: rgba(244,81,11,.12) !important;
        color: #FFFFFF !important;
    }

        .sidebar-sublink.active::before {
            background: var(--sibne-orange) !important;
        }

        .sidebar-link:hover i,
        .sidebar-link.active i,
        .sidebar-sublink:hover i,
        .sidebar-sublink.active i {
            color: var(--sibne-orange) !important;
        }

.main-header {
    background: var(--sibne-white) !important;
    border-bottom: 1px solid var(--sibne-border) !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 24px !important;
}

.header-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--sibne-text-dark) !important;
}

.header-title-icon,
.text-primary {
    color: var(--sibne-orange) !important;
}
/* =========================================================
   CONTENT / CARDS
   ========================================================= */
.main-content {
    padding: 24px !important;
}

.card,
.table-card,
.filter-card,
.stat-card,
.summary-card,
.content-card,
.form-card,
.details-card {
    border: 1px solid var(--sibne-border) !important;
    border-radius: var(--sibne-radius-lg) !important;
    background: var(--sibne-surface) !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}

.card-header,
.table-card-header {
    background: var(--sibne-white) !important;
    border-bottom: 1px solid var(--sibne-border) !important;
    padding: 14px 18px !important;
}

.card-body {
    padding: 18px !important;
}

.card-footer {
    background: #FAFAFA !important;
    border-top: 1px solid var(--sibne-border) !important;
    padding: 12px 18px !important;
}

.filter-card {
    padding: 13px !important;
    margin-bottom: 14px !important;
}

.filter-form,
.form-grid,
.details-grid,
.credentials-grid,
.notification-form-grid {
    gap: var(--sibne-gap-md) !important;
}
/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    border-radius: var(--sibne-radius-sm) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.btn-primary,
.btn-dark {
    background: var(--sibne-black) !important;
    border-color: var(--sibne-black) !important;
    color: var(--sibne-white) !important;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-dark:hover,
    .btn-dark:focus,
    .btn-dark:active {
        background: var(--sibne-orange) !important;
        border-color: var(--sibne-orange) !important;
        color: var(--sibne-white) !important;
    }

.btn-outline-primary {
    color: var(--sibne-orange) !important;
    border-color: var(--sibne-orange) !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:active {
        background: var(--sibne-orange) !important;
        border-color: var(--sibne-orange) !important;
        color: var(--sibne-white) !important;
    }

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background: var(--sibne-black) !important;
    border-color: var(--sibne-black) !important;
    color: var(--sibne-white) !important;
}
/* =========================================================
   FORMS — SAME SIZE EVERYWHERE
   ========================================================= */
.form-label,
label {
    color: var(--sibne-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 5px !important;
}

.form-control,
.form-select,
input.form-control,
select.form-select,
textarea.form-control {
    min-height: 40px !important;
    border: 1px solid var(--sibne-border-dark) !important;
    border-radius: var(--sibne-radius-sm) !important;
    background: var(--sibne-white) !important;
    color: var(--sibne-text) !important;
    font-size: 13px !important;
}

textarea.form-control {
    min-height: 100px !important;
}

.form-control::placeholder {
    color: var(--sibne-text-light) !important;
}

.form-control:hover,
.form-select:hover {
    border-color: #9CA3AF !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--sibne-orange) !important;
    box-shadow: 0 0 0 3px rgba(244,81,11,.12) !important;
}
/* =========================================================
   TABLES — SAME DENSITY EVERYWHERE
   ========================================================= */
.table {
    margin-bottom: 0 !important;
    color: var(--sibne-text) !important;
    vertical-align: middle !important;
}

    .table thead th {
        background: var(--sibne-black) !important;
        color: var(--sibne-white) !important;
        border-bottom: 0 !important;
        padding: 11px 12px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: .25px !important;
        white-space: nowrap !important;
    }

    .table tbody td {
        padding: 10px 12px !important;
        border-color: var(--sibne-border) !important;
        font-size: 12px !important;
        vertical-align: middle !important;
    }

    .table tbody tr:hover {
        background: #FFF8F5 !important;
    }
/* =========================================================
   BADGES / STATUS
   ========================================================= */
.badge,
.status-badge,
.priority-badge,
.login-badge,
.no-login-badge {
    border-radius: 5px !important;
    padding: 5px 8px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.bg-primary {
    background-color: var(--sibne-black) !important;
}

    .bg-primary.text-white {
        color: var(--sibne-white) !important;
    }
/* =========================================================
   ACTION BUTTONS
   ========================================================= */
.action-btn,
.action-button,
.pagination-btn {
    border-radius: 7px !important;
}
/* Keep semantic action colors while standardizing sizing. */
.action-btn,
.action-button {
    width: 32px;
    height: 32px;
    font-size: 12px !important;
}
/* =========================================================
   MODALS — SAME HEADER / BODY / FOOTER SPACING
   ========================================================= */
.modal-content {
    border: 1px solid var(--sibne-border) !important;
    border-radius: var(--sibne-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: 0 18px 55px rgba(15,23,42,.18) !important;
}

.modal-header {
    background: var(--sibne-black) !important;
    color: var(--sibne-white) !important;
    border-bottom: 0 !important;
    padding: 15px 18px !important;
}

.modal-title {
    font-size: 15px !important;
    font-weight: 700 !important;
}

.modal-header .btn-close {
    filter: invert(1) !important;
    opacity: .85 !important;
}

.modal-body {
    padding: 18px !important;
}

.modal-footer {
    padding: 12px 18px !important;
    background: #FAFAFA !important;
    border-top: 1px solid var(--sibne-border) !important;
    gap: 8px !important;
}
/* Module-specific modal headers that previously used dark gray. */
.invoice-modal .modal-header,
.employee-modal .modal-header,
.agent-modal .modal-header,
.customer-modal .modal-header,
.customer-details-modal .modal-header,
.notification-modal .modal-header,
.office-expense-modal .modal-header {
    background: var(--sibne-black) !important;
}
/* =========================================================
   ALERTS
   ========================================================= */
.alert {
    border-radius: 8px !important;
    font-size: 13px !important;
}
/* =========================================================
   PAGINATION — SAME STYLE EVERYWHERE
   ========================================================= */
.pagination,
.pagination-controls,
.module-pagination,
.notification-pagination {
    gap: 4px !important;
}

.page-link,
.pagination-btn {
    min-width: 34px !important;
    height: 34px !important;
    padding: 6px 10px !important;
    border: 1px solid var(--sibne-border) !important;
    border-radius: 6px !important;
    background: var(--sibne-white) !important;
    color: var(--sibne-text) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

    .page-link:hover,
    .page-item.active .page-link,
    .pagination-btn:hover,
    .pagination-btn.active {
        background: var(--sibne-orange) !important;
        border-color: var(--sibne-orange) !important;
        color: var(--sibne-white) !important;
    }

.page-item.disabled .page-link {
    background: #F5F5F5 !important;
    color: #9CA3AF !important;
    border-color: var(--sibne-border) !important;
}

.pagination-summary {
    color: var(--sibne-text-muted) !important;
    font-size: 10px !important;
}
/* =========================================================
   COMMON SPACING / EMPTY STATES
   ========================================================= */
.empty-state {
    padding: 36px 20px !important;
}

    .empty-state i,
    .page-icon,
    .modal-icon {
        color: var(--sibne-orange) !important;
    }

.form-section,
.details-section {
    margin-bottom: 18px !important;
}

.form-section-title,
.details-section-title {
    color: var(--sibne-text-dark) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.detail-item {
    gap: 6px !important;
}
/* =========================================================
   SIBNE ACCENT HELPERS
   ========================================================= */
.sibne-accent {
    color: var(--sibne-orange) !important;
}

.sibne-accent-bg {
    background-color: var(--sibne-orange) !important;
    color: var(--sibne-white) !important;
}

.sibne-brand-focus:focus {
    border-color: var(--sibne-orange) !important;
    box-shadow: 0 0 0 3px rgba(244,81,11,.12) !important;
}

.progress-bar.bg-primary {
    background-color: var(--sibne-orange) !important;
}
/* =========================================================
   RESPONSIVE STANDARD
   ========================================================= */
@media (max-width: 1199.98px) {
    .main-content {
        padding: 20px !important;
    }

    .main-header {
        padding: 0 20px !important;
    }

    .page-title {
        font-size: 20px !important;
    }
}

@media (max-width: 991.98px) {
    .main-content {
        padding: 18px 15px !important;
    }

    .main-header {
        padding: 0 15px !important;
    }
}

@media (max-width: 767.98px) {
    .main-content {
        padding: 15px 12px !important;
    }

    .page-header {
        margin-bottom: 14px !important;
        gap: 12px !important;
    }

    .page-title {
        font-size: 18px !important;
    }

    .page-subtitle {
        font-size: 12px !important;
    }

    .card-body {
        padding: 14px !important;
    }

    .table thead th {
        padding: 9px 8px !important;
        font-size: 10px !important;
    }

    .table tbody td {
        padding: 9px 8px !important;
        font-size: 11px !important;
    }

    .modal-body {
        padding: 15px !important;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .page-header-actions,
    .page-header-right {
        width: 100%;
    }

        .page-header-actions > .btn,
        .page-header-right > .btn {
            flex: 1 1 auto;
        }

    .btn {
        font-size: 12px !important;
    }

    .form-control,
    .form-select {
        font-size: 12px !important;
    }

    .pagination {
        flex-wrap: wrap !important;
    }
}
/* =========================================================
   SIBNE COMMON BRAND SYSTEM
   Applied consistently across all application modules.
   ========================================================= */
:root {
    --sibne-black: #111111;
    --sibne-black-deep: #080808;
    --sibne-black-soft: #222222;
    --sibne-orange: #F4510B;
    --sibne-orange-dark: #C94008;
    --sibne-orange-soft: #FFF1EB;
    --sibne-orange-border: #FFD0BF;
    --sibne-white: #FFFFFF;
    --sibne-text: #1F2937;
    --sibne-muted: #6B7280;
    --sibne-border: #E5E7EB;
}
/* Common typography */
body {
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    color: var(--sibne-text);
}
/* Common controls */
.btn-primary, .btn-dark {
    background: var(--sibne-black) !important;
    border-color: var(--sibne-black) !important;
    color: #fff !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
    .btn-dark:hover, .btn-dark:focus, .btn-dark:active {
        background: var(--sibne-orange) !important;
        border-color: var(--sibne-orange) !important;
        color: #fff !important;
    }

.btn-outline-primary {
    color: var(--sibne-orange) !important;
    border-color: var(--sibne-orange) !important;
}

    .btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
        background: var(--sibne-orange) !important;
        border-color: var(--sibne-orange) !important;
        color: #fff !important;
    }
/* Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--sibne-orange) !important;
    box-shadow: 0 0 0 3px rgba(244,81,11,.12) !important;
}
/* Tables */
.table thead th {
    background: var(--sibne-black) !important;
    color: #fff !important;
}
/* Pagination */
.pagination {
    gap: 4px;
}

.page-link {
    color: var(--sibne-black);
    border-color: var(--sibne-border);
}

    .page-link:hover {
        background: var(--sibne-orange) !important;
        border-color: var(--sibne-orange) !important;
        color: #fff !important;
    }

.page-item.active .page-link {
    background: var(--sibne-orange) !important;
    border-color: var(--sibne-orange) !important;
    color: #fff !important;
}
/* Common modal */
.modal-header {
    background: var(--sibne-black) !important;
    color: #fff !important;
}

    .modal-header .btn-close {
        filter: invert(1);
    }
/* Common accents */
.text-primary {
    color: var(--sibne-orange) !important;
}

.bg-primary {
    background: var(--sibne-black) !important;
}

.sibne-accent {
    color: var(--sibne-orange) !important;
}



/* Login-specific overrides: keep the shared SIBNE global styles above intact. */
.auth-panel .input-shell {
    border: 1px solid var(--auth-border) !important;
    border-radius: 12px !important;
    background: #fbfcfe !important;
}

    .auth-panel .input-shell:focus-within {
        border-color: #c6a45f !important;
        background: #fff !important;
        box-shadow: 0 0 0 4px rgba(214,177,106,.14) !important;
    }

    .auth-panel .input-shell .form-control {
        min-height: 52px !important;
        height: 52px !important;
        padding: 0 48px 0 45px !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: transparent !important;
        color: var(--auth-ink) !important;
        font-size: 13px !important;
        box-shadow: none !important;
    }

        .auth-panel .input-shell .form-control:focus {
            border: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }

.auth-panel .form-intro label,
.auth-panel .auth-form label {
    font-family: "DM Sans", sans-serif !important;
}

.auth-panel .auth-form .form-group > label {
    margin-bottom: 9px !important;
    color: #303c50 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.auth-panel .remember-option {
    color: #606c7f !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.auth-panel .submit-button {
    font-family: "DM Sans", sans-serif !important;
}

.auth-panel .validation-summary:not(:empty) {
    display: block;
}

.auth-panel .field-validation {
    color: var(--auth-danger) !important;
}

@media (max-width: 767.98px) {
    .auth-panel .input-shell .form-control {
        min-height: 52px !important;
        height: 52px !important;
    }
}


/* =========================================================
   SIBNE SHARED THEME SUPPORT
   Activated by the existing theme toggle via body[data-theme="dark"].
   Light mode remains unchanged.
   ========================================================= */
body[data-theme="dark"] {
    color-scheme: dark;
    --theme-bg: #111416;
    --theme-surface: #1a1f23;
    --theme-surface-soft: #20262b;
    --theme-border: #343b40;
    --theme-text: #e8eaed;
    --theme-text-muted: #aeb7bf;
    --body-bg: #111416;
    --border: #343b40;
    --text: #e8eaed;
    --muted: #aeb7bf;
}
body[data-theme="dark"]:not(.sibne-public-site),
body[data-theme="dark"] .main-wrapper,
body[data-theme="dark"] .main-content,
body[data-theme="dark"] .content-wrapper,
body[data-theme="dark"] .page-content,
body[data-theme="dark"] .container-fluid {
    color: #e8eaed;
}
body[data-theme="dark"] .card,
body[data-theme="dark"] .card-body,
body[data-theme="dark"] .filter-card,
body[data-theme="dark"] .form-card,
body[data-theme="dark"] .modal-content,
body[data-theme="dark"] .dropdown-menu,
body[data-theme="dark"] .offcanvas,
body[data-theme="dark"] .list-group-item,
body[data-theme="dark"] .accordion-item,
body[data-theme="dark"] .tab-content,
body[data-theme="dark"] .popover,
body[data-theme="dark"] .tooltip-inner {
    background-color: #1a1f23;
    color: #e8eaed;
    border-color: #343b40;
}
body[data-theme="dark"] .card-header,
body[data-theme="dark"] .card-footer,
body[data-theme="dark"] .modal-header,
body[data-theme="dark"] .modal-footer,
body[data-theme="dark"] .accordion-button,
body[data-theme="dark"] .dropdown-header {
    background-color: #20262b;
    color: #e8eaed;
    border-color: #343b40;
}
body[data-theme="dark"] .table {
    --bs-table-color: #e8eaed;
    --bs-table-bg: #1a1f23;
    --bs-table-border-color: #343b40;
    --bs-table-striped-bg: #20262b;
    --bs-table-striped-color: #e8eaed;
    --bs-table-hover-bg: #2a3137;
    --bs-table-hover-color: #ffffff;
    color: #e8eaed;
    border-color: #343b40;
}
body[data-theme="dark"] table:not(.sibne-public-site table) th,
body[data-theme="dark"] table:not(.sibne-public-site table) td {
    border-color: #343b40;
}
body[data-theme="dark"] .form-control,
body[data-theme="dark"] .form-select,
body[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
    background-color: #111619;
    color: #e8eaed;
    border-color: #3a4248;
    color-scheme: dark;
}
body[data-theme="dark"] .form-control::placeholder,
body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
    color: #929ca5;
    opacity: 1;
}
body[data-theme="dark"] label,
body[data-theme="dark"] .form-label,
body[data-theme="dark"] .form-check-label,
body[data-theme="dark"] .control-label,
body[data-theme="dark"] .col-form-label {
    color: #dce1e5;
}
body[data-theme="dark"] .text-dark,
body[data-theme="dark"] .text-body,
body[data-theme="dark"] .text-black,
body[data-theme="dark"] .fw-semibold,
body[data-theme="dark"] .fw-bold {
    color: #e8eaed !important;
}
body[data-theme="dark"] .text-muted,
body[data-theme="dark"] .form-text,
body[data-theme="dark"] small.text-muted {
    color: #aeb7bf !important;
}
body[data-theme="dark"] .bg-white,
body[data-theme="dark"] .bg-light,
body[data-theme="dark"] .list-group,
body[data-theme="dark"] .pagination .page-link {
    background-color: #20262b !important;
    color: #e8eaed !important;
    border-color: #343b40 !important;
}
body[data-theme="dark"] .border,
body[data-theme="dark"] .border-top,
body[data-theme="dark"] .border-bottom,
body[data-theme="dark"] .border-start,
body[data-theme="dark"] .border-end,
body[data-theme="dark"] hr {
    border-color: #343b40 !important;
}
body[data-theme="dark"] .page-link {
    background-color: #1a1f23;
    color: #ff956e;
    border-color: #343b40;
}
body[data-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.brand-link) {
    color: #ff956e;
}
body[data-theme="dark"] .dropdown-item,
body[data-theme="dark"] .nav-tabs .nav-link,
body[data-theme="dark"] .accordion-button::after {
    color: #e8eaed;
}
body[data-theme="dark"] .dropdown-item:hover,
body[data-theme="dark"] .dropdown-item:focus,
body[data-theme="dark"] .nav-tabs .nav-link:hover {
    background-color: #2a3137;
    color: #ffffff;
}
body[data-theme="dark"] .alert-light,
body[data-theme="dark"] .alert-secondary {
    background-color: #242a2f;
    color: #e8eaed;
    border-color: #3a4248;
}
body[data-theme="dark"] .main-header,
body[data-theme="dark"] .content-header,
body[data-theme="dark"] .page-header,
body[data-theme="dark"] .toolbar,
body[data-theme="dark"] .filter-bar {
    background-color: #191d21;
    color: #f1f3f4;
    border-color: #30363b;
}
body[data-theme="dark"] .shadow,
body[data-theme="dark"] .shadow-sm,
body[data-theme="dark"] .shadow-lg {
    box-shadow: 0 4px 18px rgba(0, 0, 0, .22) !important;
}
body[data-theme="dark"] .sibne-app-theme-toggle,
body[data-theme="dark"] .sibne-theme-toggle {
    color: #ff956e;
    border-color: #f4511b;
}
@media (prefers-reduced-motion: reduce) {
    body[data-theme="dark"] *,
    body[data-theme="dark"] *::before,
    body[data-theme="dark"] *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

