html,
body {
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #11263c;
    background: #f5f8fc;
    line-height: 1.6;
}

body {
    margin: 0;
}

a,
.btn-link {
    color: #0d4d97;
}

a {
    text-decoration: none;
}

a:hover {
    color: #083a76;
}

img {
    max-width: 100%;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    color: #fff;
    background-color: #0d4d97;
    border-color: #0d4d97;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #083a76;
    border-color: #083a76;
}

.btn-success {
    background-color: #16844f;
    border-color: #16844f;
}

.btn-warning {
    background-color: #f0b323;
    border-color: #f0b323;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #8fbbe8;
    box-shadow: 0 0 0 0.2rem rgba(13, 77, 151, 0.16);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.brand-shell {
    min-height: 100vh;
    color: #102239;
    background: radial-gradient(circle at top left, rgba(13, 77, 151, 0.18), transparent 24%), radial-gradient(circle at top right, rgba(22, 163, 74, 0.12), transparent 18%), linear-gradient(180deg, #f5f8ff 0%, #eaf2fb 100%);
}

.brand-container {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 12px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #102239;
    font-weight: 900;
}

.brand-lockup img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 18px;
    padding: 5px;
    box-shadow: 0 20px 50px rgba(13, 77, 151, 0.16);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.brand-tagline {
    display: block;
    color: #3f5d7c;
    font-size: 0.86rem;
    font-weight: 700;
}

.brand-nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0f58b7, #0a3d87);
    border-color: #0f58b7;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0d4d97, #092f66);
    border-color: #0d4d97;
}

.btn-outline-light {
    color: #0f2f52;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 77, 151, 0.12);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #f6f9ff;
    border-color: #cbd9ee;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 42px;
    padding: 54px 0 72px;
}

.hero-copy-panel {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0d4d97;
    background: rgba(13, 77, 151, 0.08);
    border: 1px solid rgba(13, 77, 151, 0.12);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 800;
}

.hero-title {
    margin: 22px 0 16px;
    color: #102239;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 900;
}

.hero-title span {
    color: #1f9a3e;
}

.hero-copy {
    max-width: 700px;
    color: #4c637d;
    font-size: 1.08rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(13, 77, 151, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #385169;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-points i {
    color: #1f9a3e;
}

.hero-visual-panel {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #eef7ff);
    border: 1px solid rgba(13, 77, 151, 0.12);
    box-shadow: 0 32px 80px rgba(13, 77, 151, 0.12);
    overflow: hidden;
}

.visual-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(13, 77, 151, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.visual-title {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.visual-badge {
    color: #ffffff;
    background: linear-gradient(135deg, #1f9a3e, #16a34a);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.visual-body {
    padding: 26px;
}

.visual-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.metric-box {
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    padding: 18px;
    background: #f8fbff;
}

.metric-box small {
    display: block;
    color: #5f7387;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric-box strong {
    display: block;
    margin-top: 10px;
    color: #102239;
    font-size: 1.28rem;
}

.module-strip {
    display: grid;
    gap: 14px;
}

.module-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid #e4ecf7;
    border-radius: 18px;
    padding: 18px;
    background: #ffffff;
}

.module-row i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #1f9a3e;
    background: rgba(31, 154, 62, 0.14);
    font-size: 1.15rem;
}

.module-row strong {
    display: block;
    color: #102239;
}

.module-row small {
    color: #61738f;
}

.module-row span {
    color: #0d4d97;
    font-weight: 900;
}

/* Page header common design */
.page-header .eyebrow {
    color: #0d4d97;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.page-header h1.h2 {
    margin: 0.15rem 0 0.35rem;
    font-weight: 900;
    color: #102239;
}
.page-header .description {
    color: #5f7387;
}
.page-header .header-actions .btn {
    border-radius: 8px;
    font-weight: 700;
}
.page-header .module-logo {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(31, 154, 62, 0.12);
    color: #1f9a3e;
    margin-right: 10px;
}

/* Gradient header theme for brand look (blue -> green) */
.page-header-gradient {
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%) !important;
    background-color: #06366f !important;
    padding: 20px !important;
    border-radius: 12px;
    color: #ffffff !important;
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18);
}
.page-header-gradient > .d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr);
    align-items: center;
    gap: 18px;
}
.page-header-gradient .page-header-below {
    width: 100%;
}
.page-header-gradient .eyebrow,
.page-header-gradient h1.h2,
.page-header-gradient .description {
    color: #ffffff !important;
}
.page-header-gradient .header-actions {
    justify-content: flex-end;
}
.page-header-gradient .module-logo {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}
.page-header-gradient .module-logo i {
    color: #ffffff;
    font-size: 1.15rem;
}

/* Vertical action list: full-width stacked buttons aligned left with icon + text */
.actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}
.page-header-gradient .actions-vertical .btn {
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
}
.page-header-gradient .actions-vertical .btn i {
    color: #ffffff;
}
.action-grid {
    width: 100%;
    color: inherit;
}
.action-grid .grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}
.action-grid .btn-action {
    color: #ffffff;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 10px 14px;
    min-height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    border-radius: 10px;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.action-grid .btn-action i { font-size: 1.05rem; }
.action-grid .btn-action:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(2,6,23,0.16);
    background: rgba(255,255,255,0.16);
}

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

.section-band {
    padding: 72px 0 84px;
    background: #f6fbff;
    border-top: 1px solid #dbe5f0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 18px 0 14px;
    color: #102239;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
}

.section-heading p {
    color: #5f7387;
    margin: 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.module-card {
    border-radius: 22px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e7eff9;
    box-shadow: 0 20px 40px rgba(13, 77, 151, 0.06);
}

.module-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(13, 77, 151, 0.08);
    margin-bottom: 18px;
}

.module-card i {
    color: #0d4d97;
    font-size: 1.3rem;
}

.module-card h3 {
    margin: 0 0 12px;
    color: #102239;
    font-size: 1.06rem;
    font-weight: 900;
}

.module-card p {
    color: #5f7387;
    margin: 0 0 14px;
}

.module-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.module-card li {
    display: flex;
    gap: 10px;
    color: #4c637d;
    margin-top: 10px;
}

.module-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 999px;
    background: #1f9a3e;
}

@media (max-width: 1120px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-section,
    .section-band {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 820px) {
    .hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .brand-nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.4rem);
    }

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

.landing-shell {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(10, 86, 151, 0.24), transparent 18%), radial-gradient(circle at top right, rgba(22, 163, 74, 0.18), transparent 18%), linear-gradient(180deg, #06182d 0%, #081d32 45%, #05111f 100%);
    color: #e8f2ff;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.landing-brand img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px;
}

.landing-brand strong {
    display: block;
    font-size: 1.25rem;
}

.landing-brand span {
    display: block;
    color: #9bb7d9;
    font-size: 0.92rem;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #dbe9ff;
}

.landing-nav a {
    color: #dbe9ff;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.landing-nav a:hover {
    opacity: 1;
}

.btn-cta {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #fff;
    border: none;
}

.landing-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    padding: 60px 32px 80px;
}

.hero-copy {
    max-width: 660px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(30, 72, 146, 0.22);
    color: #a5d8ff;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-copy h1,
.hero-copy h1,
.hero-copy p {
    margin: 0;
}

.hero-copy h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    max-width: 720px;
}

.hero-copy p {
    color: #c8d9f7;
    font-size: 1.03rem;
    max-width: 650px;
    line-height: 1.85;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-pill-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 12px;
}

.hero-pill-list span {
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #c6e2ff;
    font-weight: 700;
}

.hero-panel {
    display: grid;
    gap: 24px;
}

.hero-panel-card {
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel-card span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #d7ffdf;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-panel-card p {
    color: #d2e7ff;
    margin: 0;
    line-height: 1.75;
}

.hero-dashboard {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 380px;
    display: grid;
    gap: 24px;
}

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

.dashboard-metrics div {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-metrics small {
    display: block;
    color: #94b7ff;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.dashboard-metrics strong {
    font-size: 1.45rem;
    color: #ffffff;
}

.dashboard-graph {
    height: 168px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(15, 75, 153, 0.3), rgba(5, 23, 40, 0.6));
    position: relative;
    overflow: hidden;
}

.dashboard-graph span {
    position: absolute;
    bottom: 20px;
    left: 16px;
    width: calc(100% - 32px);
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    border-radius: 999px;
}

.landing-features {
    padding: 56px 32px 80px;
}

.feature-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.feature-eyebrow {
    color: #85b3ff;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.landing-features h2 {
    color: #f8fbff;
    font-size: clamp(2.3rem, 3.6vw, 3.4rem);
    line-height: 1.04;
    margin-bottom: 16px;
}

.landing-features p {
    color: #acc7ff;
    max-width: 640px;
    line-height: 1.9;
}

.landing-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.landing-module-card {
    background: rgba(10, 44, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 26px;
}

.landing-module-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(34, 197, 94, 0.16);
    margin-bottom: 18px;
}

.landing-module-card i {
    color: #22c55e;
    font-size: 1.35rem;
}

.landing-module-card h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.1rem;
}

.landing-module-card p {
    color: #b8c9e8;
    margin: 0 0 16px;
}

.landing-module-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-module-card li {
    display: flex;
    gap: 10px;
    color: #c8d7f6;
    margin-top: 10px;
}

.landing-module-card li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    margin-top: 8px;
}

@media (max-width: 1120px) {
    .landing-hero {
        grid-template-columns: 1fr;
    }

    .landing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 820px) {
    .landing-header {
        padding: 20px 20px 0;
    }

    .landing-hero {
        padding: 44px 20px 62px;
    }

    .landing-nav {
        gap: 14px;
    }

    .landing-modules-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .landing-header,
    .landing-hero,
    .landing-features {
        padding-left: 18px;
        padding-right: 18px;
    }

    .landing-nav {
        display: none;
    }
    .landing-modules-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }
}
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 12px 0;
    color: #102239;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.12;
    font-weight: 900;
}

.section-heading p {
    color: #5f7387;
    margin: 0;
}

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

.module-card,
.dashboard-module-card,
.workflow-card,
.placeholder-panel,
.settings-card {
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(7, 37, 73, 0.08);
}

.module-card,
.dashboard-module-card {
    padding: 20px;
}

.module-card i,
.dashboard-module-card i,
.settings-card i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    margin-bottom: 14px;
    color: #0d4d97;
    background: #e9f2fc;
    font-size: 1.2rem;
}

.module-card h3,
.dashboard-module-card h3,
.settings-card h3 {
    margin: 0 0 8px;
    color: #102239;
    font-size: 1.08rem;
    font-weight: 900;
}

.module-card p,
.dashboard-module-card p,
.settings-card p {
    color: #5f7387;
    margin: 0;
    font-size: 0.94rem;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.module-card li {
    display: flex;
    gap: 8px;
    color: #385169;
    font-size: 0.9rem;
    margin-top: 7px;
}

.module-card li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-top: 8px;
    border-radius: 50%;
    background: #16844f;
}

.app-page-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.app-page-title h1,
.app-page-title h2 {
    margin: 0;
    color: #102239;
    font-weight: 900;
}

.app-page-title p {
    margin: 6px 0 0;
    color: #5f7387;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    margin-bottom: 22px;
}

.workflow-card {
    padding: 22px;
}

.workflow-card h3 {
    margin: 0 0 14px;
    color: #102239;
    font-size: 1.1rem;
    font-weight: 900;
}

.workflow-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.workflow-list span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #0d4d97;
    background: #e9f2fc;
    font-weight: 900;
}

.workflow-list strong {
    display: block;
    color: #102239;
}

.workflow-list small {
    color: #5f7387;
}

.dashboard-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0 14px;
}

.dashboard-section-title h3 {
    margin: 0;
    color: #102239;
    font-size: 1.15rem;
    font-weight: 900;
}

.module-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 900;
}

.module-status.ready {
    color: #0f6d41;
    background: #e6f7ef;
}

.module-status.setup {
    color: #8a5c00;
    background: #fff5d8;
}

.module-status.planned {
    color: #425466;
    background: #edf2f7;
}

.module-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #0d4d97;
    font-weight: 900;
}

.module-action:hover {
    color: #083a76;
}

.placeholder-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.placeholder-panel {
    overflow: hidden;
}

.placeholder-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    background: #fbfdff;
    border-bottom: 1px solid #e3ebf5;
}

.placeholder-title-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    color: #ffffff;
    background: #0d4d97;
    font-size: 1.4rem;
}

.placeholder-header h1 {
    margin: 12px 0 8px;
    color: #102239;
    font-weight: 900;
}

.placeholder-header p {
    margin: 0;
    color: #5f7387;
    max-width: 760px;
}

.placeholder-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 28px;
}

.placeholder-body h2 {
    margin: 0 0 14px;
    color: #102239;
    font-size: 1.05rem;
    font-weight: 900;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    color: #385169;
}

.feature-list i {
    color: #16844f;
    margin-top: 4px;
}

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

.settings-card {
    display: block;
    padding: 22px;
    color: inherit;
}

.settings-card:hover {
    border-color: #b8cbe0;
    color: inherit;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.print-only {
    display: none;
}

/* Global fallback for the shared IZA Book footer.
   This keeps the footer styled even when scoped CSS output is stale after local rebuilds. */
.site-footer {
    --footer-blue: #033975;
    --footer-blue-soft: #0d4d97;
    --footer-green: #1e8152;
    --footer-gold: #f0b323;
    --footer-ink: #082342;
    --footer-muted: #607086;
    --footer-line: rgba(13, 77, 151, 0.16);
    margin-top: 2.5rem;
    border-top: 1px solid var(--footer-line);
    background:
        radial-gradient(circle at 8% 0%, rgba(43, 125, 255, 0.22), transparent 26%),
        radial-gradient(circle at 86% 12%, rgba(13, 138, 99, 0.18), transparent 28%),
        radial-gradient(circle at 60% 100%, rgba(240, 179, 35, 0.12), transparent 22%),
        linear-gradient(135deg, #07172d 0%, #0b2342 38%, #0d365f 68%, #0a2c45 100%);
    color: #edf6ff;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #2b7dff, #0d8a63, #f0b323);
}

.site-footer .footer-shell {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 2.4rem clamp(1rem, 2.8vw, 2.4rem) 1.25rem;
}

.site-footer .footer-top-row {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) repeat(2, minmax(150px, 0.7fr)) minmax(230px, 0.9fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
    padding-bottom: 1.15rem;
}

.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
    margin-bottom: 1rem;
}

.site-footer .footer-logo-frame {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    flex: 0 0 auto;
}

.site-footer .footer-logo-frame img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.site-footer .footer-brand-copy {
    display: grid;
    gap: 0.1rem;
}

.site-footer .footer-brand-name {
    color: #dcecff;
    font-size: clamp(1.45rem, 2.1vw, 1.95rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.site-footer .footer-brand-name strong {
    color: #63d3a6;
}

.site-footer .footer-brand-tag,
.site-footer .footer-description,
.site-footer .footer-link,
.site-footer .server-time,
.site-footer .copyright-text,
.site-footer .powered-by {
    color: rgba(235, 244, 255, 0.76);
}

.site-footer .footer-brand-tag {
    font-size: 0.88rem;
    font-weight: 700;
}

.site-footer .footer-description {
    max-width: 520px;
    margin: 0 0 1rem;
    line-height: 1.65;
    font-size: 0.96rem;
}

.site-footer .footer-badges,
.site-footer .footer-bottom-meta,
.site-footer .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.site-footer .footer-badges span,
.site-footer .version-tag,
.site-footer .secure-note {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #edf6ff;
    padding: 0.42rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.site-footer .footer-heading {
    color: #e7f2ff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.site-footer .link-grid {
    display: grid;
    gap: 0.55rem;
}

.site-footer .footer-link {
    width: fit-content;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 650;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
    color: #ffffff;
}

.site-footer .status-col {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.1rem 1.1rem 1rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.site-footer .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    background: rgba(99, 211, 166, 0.14);
    color: #bdf5db;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 850;
    margin-bottom: 0.9rem;
}

.site-footer .status-dot {
    width: 9px;
    height: 9px;
    background: #63d3a6;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(99, 211, 166, 0.18);
}

.site-footer .server-time {
    font-size: 0.86rem;
    font-weight: 650;
    margin-bottom: 1rem;
}

.site-footer .social-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    text-decoration: none;
    color: #0b2342;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.site-footer .footer-bottom-bar {
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.site-footer .brand-highlight {
    color: #8dd8ff;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .site-footer .footer-top-row {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .site-footer .status-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-top-row {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-brand {
        align-items: flex-start;
    }

    .site-footer .footer-bottom-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

.report-paper {
    overflow: hidden;
}

.report-print-header {
    align-items: flex-start;
    border-bottom: 2px solid #102239;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
}

.report-company-name {
    color: #102239;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
}

.report-company-meta,
.report-print-meta {
    color: #425466;
    font-size: 0.9rem;
}

.report-print-meta {
    min-width: 280px;
    text-align: right;
}

.report-title {
    color: #102239;
    font-size: 1.15rem;
    font-weight: 900;
}

.report-signatures {
    display: none;
}

@media print {
    @page {
        size: A4 landscape;
        margin: 12mm;
    }

    html,
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11px;
        line-height: 1.35;
        min-height: auto !important;
    }

    .no-print,
    .bb-sidebar,
    .bb-topbar,
    footer.footer,
    #toast-container {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    .bb-page,
    .bb-main,
    .bb-content {
        background: #ffffff !important;
        display: block !important;
        min-height: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .report-page {
        margin: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .report-paper {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .report-paper > .card-header {
        display: none !important;
    }

    .report-paper > .card-body {
        padding: 0 !important;
    }

    .report-print-header {
        align-items: flex-start;
        border-bottom: 2px solid #000000;
        display: flex !important;
        justify-content: space-between;
        margin-bottom: 12px;
        padding: 0 0 10px;
    }

    .report-company-name,
    .report-title {
        color: #000000 !important;
    }

    .report-company-meta,
    .report-print-meta {
        color: #333333 !important;
        font-size: 10px;
    }

    .report-print-meta {
        min-width: 230px;
    }

    .table-responsive {
        overflow: visible !important;
    }

    table.table {
        border-collapse: collapse !important;
        font-size: 10px;
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    table.table th,
    table.table td {
        background: #ffffff !important;
        border: 1px solid #888888 !important;
        color: #000000 !important;
        padding: 4px 6px !important;
        vertical-align: top !important;
    }

    table.table thead th {
        background: #eeeeee !important;
        font-weight: 800 !important;
    }

    table.table tr,
    table.table td,
    table.table th {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .table-light td,
    .table-light th {
        background: #f2f2f2 !important;
    }

    .badge {
        background: #ffffff !important;
        border: 1px solid #555555 !important;
        color: #000000 !important;
        font-weight: 700 !important;
    }

    .text-muted,
    .text-success,
    .text-danger,
    code {
        color: #000000 !important;
    }

    .report-signatures {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 48px;
        margin-top: 42px;
        page-break-inside: avoid;
    }

    .report-signatures div {
        text-align: center;
    }

    .report-signatures span {
        border-top: 1px solid #000000;
        display: block;
        height: 1px;
        margin-bottom: 8px;
    }
}

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

    .landing-hero,
    .dashboard-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .brand-nav,
    .app-page-title,
    .placeholder-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-nav {
        padding: 16px 0;
    }

    .brand-nav-actions,
    .hero-actions {
        width: 100%;
    }

    .brand-nav-actions .btn,
    .hero-actions .btn {
        flex: 1 1 150px;
    }

    .landing-hero {
        padding-top: 22px;
    }

    .modules-grid,
    .dashboard-module-grid,
    .visual-metrics,
    .placeholder-body,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .placeholder-header,
    .placeholder-body {
        padding: 20px;
    }
}

/* Branded Identity pages */
.auth-brand-shell {
    min-height: calc(100vh - 160px);
    padding: 1.5rem;
    background: linear-gradient(180deg, #eef7fb 0%, #ffffff 52%);
}

.auth-brand-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%);
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18);
}

.auth-brand-hero h1 {
    margin: .4rem 0;
    font-weight: 850;
    letter-spacing: 0;
}

.auth-brand-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
}

.auth-kicker {
    color: #d7fff5;
    font-weight: 750;
}

.auth-brand-grid {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(280px, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.auth-brand-grid.single {
    grid-template-columns: minmax(320px, 560px) minmax(260px, 420px);
}

.auth-panel {
    padding: 1.25rem;
    border: 1px solid #dce8ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(10, 65, 129, .08);
}

.auth-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.auth-panel-header span {
    color: #20a58f;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-panel-header h2 {
    margin: 0;
    color: #062f62;
    font-size: 1.35rem;
    font-weight: 850;
}

.auth-panel-header i {
    color: #0a4181;
    font-size: 1.6rem;
}

.auth-panel .form-label {
    color: #062f62;
    font-weight: 700;
}

.auth-side-panel {
    align-self: start;
}

.auth-tip {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem;
    border: 1px solid #cceee5;
    border-radius: 8px;
    color: #075445;
    background: #eafaf5;
}

.auth-tip.large {
    font-size: 1rem;
    line-height: 1.55;
}

.auth-tip i {
    color: #16a085;
    font-size: 1.25rem;
}

.auth-help-modal .modal-header {
    background: #eef7fb;
    color: #062f62;
}

.auth-help-modal h6 {
    color: #062f62;
    font-weight: 850;
}

/* Shared branded module pages */
.iza-page-shell {
    min-height: calc(100vh - 160px);
    padding: 1.5rem;
    background: radial-gradient(circle at top left, rgba(13, 77, 151, 0.10), transparent 24%), radial-gradient(circle at top right, rgba(22, 163, 74, 0.08), transparent 18%), linear-gradient(180deg, #f5f8ff 0%, #eaf2fb 100%);
}

.iza-page-shell .card {
    border: 1px solid rgba(13, 77, 151, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(13, 77, 151, 0.10);
    overflow: hidden;
}

.iza-page-shell .card-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border-bottom: 1px solid rgba(13, 77, 151, 0.12);
    font-weight: 800;
}

.iza-page-shell .card-body {
    padding: 1.25rem;
}

.iza-page-shell .form-control,
.iza-page-shell .form-select {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(13, 77, 151, 0.16);
    background-color: #ffffff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.iza-page-shell .form-control::placeholder {
    color: #8aa0ba;
}

.iza-page-shell .input-group > .form-control,
.iza-page-shell .input-group > .form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.iza-page-shell .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.iza-page-shell .form-label,
.iza-page-shell .form-check-label {
    color: #26415f;
    font-weight: 700;
}

.iza-page-shell .table-responsive {
    border: 1px solid rgba(13, 77, 151, 0.12);
    border-radius: 16px;
    background: #ffffff;
}

.iza-page-shell table.table {
    margin-bottom: 0;
}

.iza-page-shell table.table thead th {
    background: linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
    color: #19304d;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(13, 77, 151, 0.12);
}

.iza-page-shell table.table tbody tr:hover {
    background: rgba(13, 77, 151, 0.03);
}

.iza-page-shell .table > :not(caption) > * > * {
    padding: 0.85rem 0.9rem;
}

.iza-page-shell .badge {
    border-radius: 999px;
    font-weight: 700;
}

.iza-page-shell .list-group {
    border-radius: 14px;
    overflow: hidden;
}

.iza-page-shell .list-group-item {
    border-color: rgba(13, 77, 151, 0.10);
    padding: 0.9rem 1rem;
}

.iza-page-shell .btn {
    min-height: 42px;
}

.iza-page-shell .btn-sm {
    min-height: 34px;
}

.iza-page-shell .btn-primary {
    background: linear-gradient(135deg, #0f58b7, #0a3d87);
    border-color: #0f58b7;
}

.iza-page-shell .btn-primary:hover,
.iza-page-shell .btn-primary:focus {
    background: linear-gradient(135deg, #0d4d97, #092f66);
    border-color: #0d4d97;
}

.iza-page-shell .btn-success {
    background: linear-gradient(135deg, #1e8152, #16844f);
    border-color: #16844f;
}

.iza-page-shell .btn-outline-primary {
    color: #0d4d97;
    border-color: rgba(13, 77, 151, 0.24);
}

.iza-page-shell .btn-outline-primary:hover,
.iza-page-shell .btn-outline-primary:focus {
    color: #ffffff;
    background: #0d4d97;
    border-color: #0d4d97;
}

.iza-page-shell .btn-outline-secondary {
    color: #385169;
    border-color: rgba(56, 81, 105, 0.22);
}

.iza-page-shell .btn-outline-secondary:hover,
.iza-page-shell .btn-outline-secondary:focus {
    color: #0f2f52;
    background: #f6f9ff;
}

.inventory-page .admin-metric,
.inventory-page .card {
    backdrop-filter: blur(10px);
}

.inventory-page .row.g-3.mb-4 {
    margin-bottom: 1.5rem !important;
}

.inventory-page .row.g-3.mb-4 > * {
    margin-bottom: 0;
}

.inventory-page .card-header.bg-primary {
    background: linear-gradient(135deg, #0f58b7, #0a3d87) !important;
    border-bottom: 0;
}

.inventory-page .card-header.bg-success {
    background: linear-gradient(135deg, #1e8152, #16844f) !important;
    border-bottom: 0;
}

.inventory-page .card-header.bg-white {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%) !important;
}

.inventory-page .card-header h5 {
    color: inherit;
    font-weight: 800;
}

.inventory-page .card-header .btn {
    border-width: 1px;
}

.inventory-page .card-body > .row.g-3,
.inventory-page .card-body > .row.g-4,
.inventory-page .card-body > .row.g-3.mt-3 {
    margin-bottom: 0;
}

.inventory-page .card-body > .border.rounded.p-3.my-3,
.inventory-page .card-body > .border.rounded.p-3 {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(13, 77, 151, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(13, 77, 151, 0.06);
}

.inventory-page .card-body > .border.rounded.p-3.my-3 .fw-bold,
.inventory-page .card-body > .border.rounded.p-3 .fw-bold {
    color: #0d4d97;
    letter-spacing: 0.01em;
}

.inventory-page .card-body .list-group.mt-2.shadow-sm {
    border-radius: 14px;
    border: 1px solid rgba(13, 77, 151, 0.10);
    box-shadow: 0 12px 30px rgba(13, 77, 151, 0.10) !important;
}

.inventory-page .card-body .list-group.mt-2.shadow-sm .list-group-item {
    border-left: 0;
    border-right: 0;
}

.inventory-page .card-body .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.inventory-page .card-body .row.g-3.mb-3 {
    padding: 0.35rem 0;
}

.inventory-page .card-body .row.g-3.mb-3 .form-control,
.inventory-page .card-body .row.g-3.mb-3 .form-select {
    background: #fbfdff;
}

.inventory-page .card-body .row.g-3 .form-check {
    background: rgba(13, 77, 151, 0.04);
    border: 1px solid rgba(13, 77, 151, 0.08);
    border-radius: 14px;
    padding: 0.9rem 1rem 0.9rem 2.1rem;
    width: 100%;
}

.inventory-page .card-body .row.g-3 .form-check .form-check-input {
    margin-top: 0.2rem;
}

.inventory-page .card-body .btn-outline-primary,
.inventory-page .card-body .btn-outline-info,
.inventory-page .card-body .btn-outline-secondary,
.inventory-page .card-body .btn-outline-success,
.inventory-page .card-body .btn-outline-danger {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(13, 77, 151, 0.08);
}

.inventory-page .list-group-item {
    transition: background 160ms ease, transform 160ms ease;
}

.inventory-page .list-group-item:hover {
    background: #f7fbff;
}

.inventory-page .form-check {
    padding-left: 1.6rem;
}

.inventory-page .form-check .form-check-input {
    margin-left: -1.6rem;
}

.inventory-page .table-responsive.iza-table-scroll {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.inventory-page .inventory-data-table {
    border-radius: 18px;
}

.inventory-page .inventory-data-table table.table tbody td:first-child {
    min-width: 240px;
}

.inventory-page .inventory-data-table table.table tbody tr:nth-child(even) {
    background: rgba(13, 77, 151, 0.015);
}

.inventory-page .inventory-data-table table.table tbody tr:hover {
    background: rgba(13, 77, 151, 0.05);
}

.inventory-page .inventory-data-table table.table .btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inventory-page .badge.text-bg-light {
    background: rgba(13, 77, 151, 0.08) !important;
    color: #0d4d97 !important;
    border: 1px solid rgba(13, 77, 151, 0.10);
}

.inventory-page .alert {
    border-radius: 16px;
    border-width: 1px;
}

.iza-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.6rem;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%);
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18);
}

html body .iza-page-hero {
    border: 0 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%) !important;
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18) !important;
}

html body .school-dashboard-page .iza-page-hero,
html body .school-students-page .iza-page-hero,
html body .school-reports-page .iza-page-hero {
    border: 0 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%) !important;
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18) !important;
}

html body .iza-page-hero h1,
html body .iza-page-hero h2,
html body .iza-page-hero h3,
html body .iza-page-hero .hero-kicker,
html body .iza-page-hero .currencies-eyebrow,
html body .iza-page-hero .currency-eyebrow {
    color: #ffffff !important;
}

html body .iza-page-hero p,
html body .iza-page-hero .text-muted {
    color: rgba(255, 255, 255, .86) !important;
}

html body .iza-page-hero .btn-outline-secondary,
html body .iza-page-hero .btn-outline-primary {
    border-color: rgba(255, 255, 255, .74);
    color: #ffffff;
}

html body .iza-page-hero .btn-outline-secondary:hover,
html body .iza-page-hero .btn-outline-primary:hover {
    background: #ffffff;
    color: #06366f;
}

.iza-page-hero h1 {
    margin: .35rem 0;
    font-weight: 850;
    letter-spacing: 0;
}

.iza-page-hero p {
    max-width: 860px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
}

.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 {
    padding: 1.6rem;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%);
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18);
}

.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4 h1,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4 h1,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 h1,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 h3 {
    color: #ffffff;
    font-weight: 850;
    letter-spacing: 0;
}

.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4 .text-muted,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4 .text-muted,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 .text-muted {
    color: rgba(255, 255, 255, .86) !important;
}

.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4 .btn-outline-secondary,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4 .btn-outline-primary,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4 .btn-outline-secondary,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4 .btn-outline-primary,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 .btn-outline-secondary,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 .btn-outline-primary {
    border-color: rgba(255, 255, 255, .74);
    color: #ffffff;
}

.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4 .btn-outline-secondary:hover,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-3.mt-3.mb-4 .btn-outline-primary:hover,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4 .btn-outline-secondary:hover,
.iza-page-shell > .d-flex.justify-content-between.align-items-center.mt-3.mb-4 .btn-outline-primary:hover,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 .btn-outline-secondary:hover,
.iza-page-shell > .d-flex.flex-wrap.justify-content-between.align-items-center.gap-2.mb-3 .btn-outline-primary:hover {
    background: #ffffff;
    color: #06366f;
}

.app-page-title.settings-hero,
.dashboard-hero,
.company-hero,
.auth-brand-hero,
.globalization-hero,
.currencies-hero,
.currency-hero {
    border: 0 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #06366f 0%, #075e91 52%, #16a085 100%) !important;
    box-shadow: 0 18px 40px rgba(6, 54, 111, .18) !important;
}

.app-page-title.settings-hero h1,
.dashboard-hero h1,
.company-hero h1,
.auth-brand-hero h1,
.globalization-hero h1,
.currencies-hero h1,
.currency-hero h1 {
    color: #ffffff !important;
    font-weight: 850;
    letter-spacing: 0;
}

.app-page-title.settings-hero p,
.dashboard-hero p,
.company-hero p,
.auth-brand-hero p,
.globalization-hero p,
.currencies-hero p,
.currency-hero p,
.app-page-title.settings-hero .text-muted,
.dashboard-hero .text-muted,
.company-hero .text-muted,
.auth-brand-hero .text-muted,
.globalization-hero .text-muted,
.currencies-hero .text-muted,
.currency-hero .text-muted {
    color: rgba(255, 255, 255, .86) !important;
}

.app-page-title.settings-hero .eyebrow,
.dashboard-hero .eyebrow,
.company-hero .eyebrow,
.globalization-hero .eyebrow,
.currencies-eyebrow,
.currency-eyebrow {
    color: #d7fff5 !important;
}

/* Page-specific override: make the eyebrow readable on the Language & Currency page */
.globalization-page .globalization-hero .eyebrow {
    color: #000000 !important;
}

/* Page-specific override: make the eyebrow readable on the Currencies page */
.currencies-page .currencies-hero .currencies-eyebrow,
.currencies-page .currencies-eyebrow {
    color: #000000 !important;
}

/* Page-specific override: make the eyebrow readable on the Create Currency page */
.currency-create-page .currency-hero .currency-eyebrow,
.currency-create-page .currency-eyebrow {
    color: #000000 !important;
}

.app-page-title.settings-hero .btn-outline-secondary,
.dashboard-hero .btn-outline-secondary,
.company-hero .btn-outline-secondary,
.auth-brand-hero .btn-outline-secondary,
.globalization-hero .btn-outline-secondary,
.globalization-hero .btn-outline-primary,
.currencies-hero .btn-outline-secondary,
.currencies-hero .btn-outline-primary,
.currency-hero .btn-outline-secondary,
.currency-hero .btn-outline-primary {
    border-color: rgba(255, 255, 255, .74);
    color: #ffffff;
}

.app-page-title.settings-hero .btn-outline-secondary:hover,
.dashboard-hero .btn-outline-secondary:hover,
.company-hero .btn-outline-secondary:hover,
.auth-brand-hero .btn-outline-secondary:hover,
.globalization-hero .btn-outline-secondary:hover,
.globalization-hero .btn-outline-primary:hover,
.currencies-hero .btn-outline-secondary:hover,
.currencies-hero .btn-outline-primary:hover,
.currency-hero .btn-outline-secondary:hover,
.currency-hero .btn-outline-primary:hover {
    background: #ffffff;
    color: #06366f;
}

.iza-page-kicker {
    color: #d7fff5;
    font-weight: 750;
}

.iza-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

.iza-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.iza-stat-card,
.iza-panel,
.iza-empty {
    border: 1px solid #dce8ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(10, 65, 129, .08);
}

.iza-stat-card {
    padding: 1rem;
}

.iza-stat-card i {
    color: #20a58f;
    font-size: 1.35rem;
}

.iza-stat-card span {
    display: block;
    color: #65758b;
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.iza-stat-card strong {
    display: block;
    color: #062f62;
    font-size: 1.35rem;
    overflow-wrap: anywhere;
}

.iza-panel {
    margin-bottom: 1rem;
    overflow: hidden;
}

.iza-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #dce8ef;
    background: #ffffff;
}

.iza-panel-header span {
    color: #20a58f;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.iza-panel-header h2,
.iza-panel-header h5 {
    margin: 0;
    color: #062f62;
    font-size: 1.22rem;
    font-weight: 850;
}

.iza-panel-body {
    padding: 1.2rem;
}

.iza-table-scroll {
    max-height: 640px;
    overflow: auto;
}

.iza-table-scroll table {
    min-width: 760px;
}

.iza-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #062f62;
    background: #eef7fb !important;
}

.iza-help-modal .modal-header {
    background: #eef7fb;
    color: #062f62;
}

.iza-help-modal h6 {
    color: #062f62;
    font-weight: 850;
}

@media (max-width: 992px) {
    .iza-page-hero,
    .iza-stat-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .iza-page-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .iza-page-shell {
        padding: .75rem;
    }
}

@media (max-width: 900px) {
    .auth-brand-hero,
    .auth-brand-grid,
    .auth-brand-grid.single {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .auth-brand-shell {
        padding: .75rem;
    }
}

@media print {
    body:has(.party-statement-print-document) .party-statement-print-document > .page-header-gradient {
        display: none !important;
    }

    body:has(.party-statement-print-document) .bb-sidebar,
    body:has(.party-statement-print-document) .bb-topbar,
    body:has(.party-statement-print-document) .bb-main > .site-footer,
    body:has(.party-statement-print-document) .bb-main > footer,
    body:has(.party-statement-print-document) .bb-content > :not(.iza-page-shell),
    body:has(.party-statement-print-document) #toast-container {
        display: none !important;
    }

    body:has(.party-statement-print-document) .bb-page,
    body:has(.party-statement-print-document) .bb-main,
    body:has(.party-statement-print-document) .bb-content {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }
}
