:root {
    --znf-primary: #0b3d5c;
    --znf-primary-dark: #072a40;
    --znf-secondary: #1a7a6d;
    --znf-accent: #e8a838;
    --znf-accent-soft: #fff4d8;
    --znf-danger: #c0392b;
    --znf-ink: #24394a;
    --znf-line: #dce7ee;
    --znf-soft: #f5f9fb;
    --znf-sidebar-w: 260px;
    --znf-topbar-h: 56px;
    --bs-body-font-size: 14px;
}

body.znf-admin,
body.theme-blue {
    font-family: "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(232, 168, 56, 0.16), transparent 28rem),
        linear-gradient(180deg, #f6fafc 0%, #eef4f7 48%, #f8fbfc 100%);
    padding-top: var(--znf-topbar-h);
    color: var(--znf-ink);
}

.admin-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--znf-topbar-h);
    z-index: 1040;
    --bs-navbar-brand-font-size: 1rem;
    background: linear-gradient(100deg, var(--znf-primary-dark), var(--znf-primary) 62%, var(--znf-secondary)) !important;
    box-shadow: 0 10px 28px rgba(7, 42, 64, 0.22);
}

.admin-topbar .navbar-brand {
    font-weight: 700;
    letter-spacing: 0;
}

.admin-sidebar {
    position: fixed;
    top: var(--znf-topbar-h);
    left: 0;
    width: var(--znf-sidebar-w);
    height: calc(100vh - var(--znf-topbar-h));
    background: linear-gradient(180deg, #071f31 0%, #0b2f47 48%, #092638 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1030;
    color: rgba(255, 255, 255, 0.86);
    box-shadow: 12px 0 30px rgba(7, 31, 49, 0.22);
}

@media (min-width: 992px) {
    .admin-sidebar.offcanvas-lg {
        transform: none !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: column;
    }
}

body.sidebar-collapsed .admin-sidebar {
    margin-left: calc(-1 * var(--znf-sidebar-w));
}

body.sidebar-collapsed section.content {
    margin-left: 0 !important;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff;
}

.sidebar-user .text-muted {
    color: rgba(255, 255, 255, 0.58) !important;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--znf-accent), #f0bd57);
    color: var(--znf-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.sidebar-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(232, 168, 56, 0.82);
    margin-bottom: 0.25rem;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.76);
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    margin: 0.08rem 0.65rem 0.08rem 0;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(232, 168, 56, 0.22), rgba(26, 122, 109, 0.16));
    color: #fff;
    border-left-color: var(--znf-accent);
    font-weight: 700;
}

.sidebar-nav .submenu .nav-link {
    padding-left: 2.25rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
}

.sidebar-nav .submenu .nav-link:hover,
.sidebar-nav .submenu .nav-link.active {
    color: #fff;
}

.admin-sidebar .offcanvas-header {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.admin-sidebar .btn-close {
    filter: invert(1) grayscale(1);
}

.admin-sidebar .sidebar-footer {
    color: rgba(255, 255, 255, 0.58) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.offcanvas-backdrop.show {
    opacity: 0;
    pointer-events: none;
}

section.content {
    margin-left: var(--znf-sidebar-w);
    margin-top: 0;
    padding: 1.5rem;
    min-height: calc(100vh - var(--znf-topbar-h));
    transition: margin-left 0.2s ease;
}

@media (max-width: 991.98px) {
    section.content {
        margin-left: 0;
        padding: 0rem;
    }
}

.block-header {
    margin-bottom: 1rem;
}

.block-header h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--znf-primary);
    letter-spacing: 0;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1.4rem rgba(11, 61, 92, 0.08);
    margin-bottom: 1rem;
    overflow: hidden;
}

.card .header {
    background: linear-gradient(180deg, #ffffff, #f8fbfc);
    border-bottom: 1px solid #e7eef3;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--znf-primary);
}

.card .body {
    padding: 1.25rem;
}

.table thead th {
    background: #f1f7f8;
    color: var(--znf-primary);
    font-weight: 600;
    border-bottom-color: #dce8ee;
}

.table {
    color: var(--znf-ink);
}

.table > :not(caption) > * > * {
    border-bottom-color: #e8eff3;
}

.btn-success,
.btn-primary {
    background-color: var(--znf-secondary) !important;
    border-color: var(--znf-secondary) !important;
    box-shadow: 0 0.35rem 0.9rem rgba(26, 122, 109, 0.16);
}

.btn-success:hover,
.btn-primary:hover {
    background-color: #156b60 !important;
    border-color: #156b60 !important;
}

.btn-warning,
.bg-orange {
    background-color: var(--znf-accent) !important;
    color: var(--znf-primary-dark) !important;
}

.info-box,
.dashboard-stat {
    border-radius: 10px;
    box-shadow: 0 0.5rem 1.4rem rgba(11, 61, 92, 0.08);
}

.login-page,
.znf-auth-page {
    min-height: 100vh;
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--znf-primary-dark), var(--znf-secondary));
    padding: 2rem 1rem;
}

.login-page .login-box {
    width: 100%;
    max-width: 420px;
}

.login-page .card {
    border-radius: 16px;
    overflow: hidden;
}

.login-page .msg {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--znf-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.login-page .input-group {
    margin-bottom: 0.75rem;
}

.login-page .input-group-addon {
    display: none;
}

.znf-auth-page {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--znf-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(232, 168, 56, 0.2), transparent 22rem),
        radial-gradient(circle at 88% 80%, rgba(26, 122, 109, 0.2), transparent 24rem),
        linear-gradient(135deg, #072a40 0%, #0b3d5c 48%, #1a7a6d 100%);
}

.auth-shell {
    width: min(1120px, calc(100% - 2rem));
    min-height: calc(100vh - 2rem);
    margin: 1rem auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.auth-shell-wide {
    width: min(1240px, calc(100% - 2rem));
}

.auth-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    background:
        linear-gradient(160deg, rgba(7, 42, 64, 0.94), rgba(11, 61, 92, 0.82)),
        url("../../images/about-bg.jpg") center/cover;
}

.auth-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(7, 42, 64, 0.26));
    pointer-events: none;
}

.auth-brand-panel > * {
    position: relative;
    z-index: 1;
}

.auth-home-link {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
}

.auth-home-link strong,
.auth-home-link small {
    display: block;
    line-height: 1.1;
}

.auth-home-link strong {
    font-size: 1.15rem;
}

.auth-home-link small {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--znf-accent);
    color: var(--znf-primary-dark);
    font-size: 1.35rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.auth-hero-copy {
    max-width: 480px;
}

.auth-kicker,
.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    color: var(--znf-accent);
    background: rgba(232, 168, 56, 0.16);
    border: 1px solid rgba(232, 168, 56, 0.4);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-hero-copy h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-hero-copy p {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.65;
}

.auth-highlights,
.auth-steps {
    display: grid;
    gap: 0.75rem;
}

.auth-highlights div,
.auth-steps div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-highlights i {
    color: var(--znf-accent);
    font-size: 1.2rem;
}

.auth-steps strong {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--znf-accent);
    color: var(--znf-primary-dark);
    flex: 0 0 auto;
}

.auth-card-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: #f7fbfc;
}

.auth-card {
    width: min(100%, 470px);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1rem 2.5rem rgba(11, 61, 92, 0.12);
}

.auth-register-card {
    width: min(100%, 720px);
}

.auth-card-header {
    margin-bottom: 1.2rem;
}

.auth-card-header h2 {
    margin: 0 0 0.4rem;
    color: var(--znf-primary);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
}

.auth-card-header p:not(.auth-eyebrow) {
    margin: 0;
    color: #66788a;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.auth-span-2 {
    grid-column: 1 / -1;
}

.auth-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
    color: var(--znf-primary);
    font-weight: 800;
}

.auth-section-title i {
    color: var(--znf-secondary);
}

.auth-field {
    position: relative;
    display: grid;
    gap: 0.38rem;
    margin: 0;
}

.auth-field > span,
.auth-captcha label span {
    color: #42586a;
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-field > i {
    position: absolute;
    left: 0.9rem;
    bottom: 0.82rem;
    color: var(--znf-secondary);
    pointer-events: none;
}

.auth-field input,
.auth-captcha input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--znf-line);
    border-radius: 10px;
    background: #f9fcfd;
    color: var(--znf-ink);
    padding: 0.72rem 0.9rem 0.72rem 2.55rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-field input[readonly] {
    background: #eef5f7;
    color: #637789;
}

.auth-field small {
    color: #7a8b9a;
    font-size: 0.78rem;
}

.auth-field input:focus,
.auth-captcha input:focus {
    border-color: var(--znf-secondary);
    background: #fff;
    box-shadow: 0 0 0 0.22rem rgba(26, 122, 109, 0.14);
}

.auth-icon-btn {
    position: absolute;
    right: 0.55rem;
    bottom: 0.43rem;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #6b7d8e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-icon-btn:hover {
    background: #edf5f6;
    color: var(--znf-primary);
}

.auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #42586a;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
}

.auth-consent input {
    width: 18px;
    height: 18px;
    margin-top: 0.12rem;
    flex: 0 0 auto;
    accent-color: var(--znf-secondary);
}

.auth-consent a {
    color: var(--znf-primary);
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.auth-consent a:hover {
    color: var(--znf-secondary);
}

.auth-captcha {
    display: grid;
    grid-template-columns: 170px 42px minmax(92px, 0.65fr);
    gap: 0.65rem;
    align-items: end;
}

.auth-captcha img {
    height: 48px;
    width: 170px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--znf-line);
    background: #fff;
}

.auth-captcha label {
    display: grid;
    gap: 0.38rem;
    margin: 0;
}

.auth-captcha input {
    padding-left: 0.9rem;
}

.auth-captcha .auth-refresh {
    position: static;
    width: 42px;
    height: 48px;
    border: 1px solid var(--znf-line);
    background: #fff;
}

.auth-submit,
.auth-secondary {
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--znf-accent), #f0bd57);
    color: var(--znf-primary-dark);
    box-shadow: 0 0.8rem 1.5rem rgba(232, 168, 56, 0.28);
}

.auth-secondary {
    width: 100%;
    background: #edf5f6;
    color: var(--znf-primary);
}

.auth-submit:hover,
.auth-secondary:hover {
    transform: translateY(-1px);
}

.auth-actions {
    display: grid;
    grid-template-columns: minmax(130px, 0.45fr) minmax(180px, 1fr);
    gap: 0.8rem;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    font-weight: 700;
}

.auth-links-center {
    justify-content: center;
    text-align: center;
}

.auth-links a {
    color: var(--znf-primary);
    text-decoration: none;
}

.auth-links a:hover {
    color: var(--znf-secondary);
}

.auth-message {
    min-height: 0;
    margin-bottom: 1rem;
}

.auth-message.is-error,
.auth-message.is-success,
.auth-message.is-loading {
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    font-weight: 700;
}

.auth-message.is-error {
    color: #8f241b;
    background: #fff0ee;
    border: 1px solid #ffd1cb;
}

.auth-message.is-success {
    color: #116451;
    background: #eaf8f4;
    border: 1px solid #c5eee4;
}

.auth-message.is-loading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--znf-primary);
    background: #eef6f8;
    border: 1px solid #d8e9ee;
}

.auth-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(11, 61, 92, 0.18);
    border-top-color: var(--znf-secondary);
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

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

    .auth-brand-panel {
        min-height: 380px;
    }

    .auth-highlights,
    .auth-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .auth-shell {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .auth-brand-panel {
        min-height: auto;
    }

    .auth-highlights,
    .auth-steps,
    .auth-grid,
    .auth-actions {
        grid-template-columns: 1fr;
    }

    .auth-span-2 {
        grid-column: auto;
    }

    .auth-captcha {
        grid-template-columns: 170px 42px;
    }

    .auth-captcha label {
        grid-column: 1 / -1;
    }

    .auth-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.znf-preloader {
    position: fixed;
    inset: 0;
    background: rgba(7, 42, 64, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.znf-preloader.d-none {
    display: none !important;
}

#preloader:not(.znf-preloader) {
    display: none;
}

.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    background: var(--znf-primary);
    color: #fff;
}

.modal-header .btn-close {
    filter: invert(1);
}

.badge.bg-green,
.label-success {
    background: #1a7a6d !important;
}

.badge.bg-red,
.label-danger {
    background: #c0392b !important;
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
    position: relative;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.col-xs-1 { flex: 0 0 auto; width: 8.33333333%; }
.col-xs-2 { flex: 0 0 auto; width: 16.66666667%; }
.col-xs-3 { flex: 0 0 auto; width: 25%; }
.col-xs-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-xs-5 { flex: 0 0 auto; width: 41.66666667%; }
.col-xs-6 { flex: 0 0 auto; width: 50%; }
.col-xs-7 { flex: 0 0 auto; width: 58.33333333%; }
.col-xs-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-xs-9 { flex: 0 0 auto; width: 75%; }
.col-xs-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-xs-11 { flex: 0 0 auto; width: 91.66666667%; }
.col-xs-12 { flex: 0 0 auto; width: 100%; }

.btn-block {
    display: block;
    width: 100%;
}

.btn-xs {
    --bs-btn-padding-y: 0.18rem;
    --bs-btn-padding-x: 0.42rem;
    --bs-btn-font-size: 0.78rem;
    --bs-btn-border-radius: 0.35rem;
}

.align-center {
    text-align: center;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.m-t-15 { margin-top: 15px !important; }
.m-t-25 { margin-top: 25px !important; }
.m-b--20 { margin-bottom: -20px !important; }
.m-b--5 { margin-bottom: -5px !important; }

.bg-blue,
.bg-cyan,
.bg-light-blue {
    background: var(--znf-primary) !important;
    color: #fff !important;
}

.bg-blue-grey,
.bg-grey {
    background: #607d8b !important;
    color: #fff !important;
}

.bg-green,
.bg-light-green,
.col-green {
    background: var(--znf-secondary) !important;
    color: #fff !important;
}

.bg-red,
.col-red {
    background: var(--znf-danger) !important;
    color: #fff !important;
}

.bg-pink {
    background: #b13d70 !important;
    color: #fff !important;
}

.col-blue {
    color: var(--znf-primary) !important;
}

.text-primary {
    color: var(--znf-primary) !important;
}

.text-warning {
    color: var(--znf-accent) !important;
}

.font-bold {
    font-weight: 800 !important;
}

.material-icons {
    font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
    vertical-align: -0.12em;
}

.info-box {
    min-height: 110px;
    display: flex;
    align-items: stretch;
    color: #fff;
    overflow: hidden;
}

.info-box .icon {
    width: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.6rem;
}

.info-box .content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box .text {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.info-box .number {
    font-size: 1.6rem;
    font-weight: 800;
}

.payment-action-card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.7rem 1.6rem rgba(11, 61, 92, 0.1);
    height: 100%;
}

.payment-action-card .body {
    padding: 0 !important;
}

.payment-card-head {
    padding: 0.85rem 1rem;
    color: #fff;
    text-align: left;
}

.payment-card-head h4 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.payment-card-head small {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    font-weight: 700;
    margin-top: 0.2rem;
}

.payment-card-amount {
    padding: 1rem;
    text-align: center;
    background: #f4f8fb;
}

.payment-card-amount .amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(26, 122, 109, 0.22);
    color: var(--znf-secondary);
    font-size: 1.6rem;
    font-weight: 900;
    padding: 0.35rem 1rem;
    box-shadow: 0 0.35rem 1rem rgba(11, 61, 92, 0.08);
}

.payment-card-amount h4 {
    margin: 0.75rem 0 0;
    color: var(--znf-primary);
    font-size: 1rem;
    font-weight: 800;
}

.payment-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #edf2f5;
    border-bottom: 1px solid #edf2f5;
}

.payment-card-grid > div {
    padding: 0.75rem;
    border-right: 1px solid #edf2f5;
    color: #6c7a89;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.payment-card-grid > div:nth-child(even) {
    border-right: 0;
}

.payment-card-grid b {
    display: block;
    color: var(--znf-ink);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    word-break: break-word;
}

.payment-card-actions {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.payment-card-actions.two {
    grid-template-columns: 1fr 1fr;
}

.payment-card-actions .timer,
.grid-column-full {
    margin-bottom: 0;
    text-align: center;
}

.grid-column-full {
    grid-column: 1 / -1;
}

@media (max-width: 575.98px) {
    .payment-card-actions.two,
    .payment-card-grid {
        grid-template-columns: 1fr;
    }

    .payment-card-grid > div {
        border-right: 0;
        border-bottom: 1px solid #edf2f5;
    }
}

.mobile-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
}

.mobile-data-card {
    background: #fff;
    border: 1px solid #e2eaf0;
    border-radius: 10px;
    box-shadow: 0 0.45rem 1.1rem rgba(11, 61, 92, 0.07);
    overflow: hidden;
}

.mobile-data-card .card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #f4f8fb;
    border-bottom: 1px solid #edf2f5;
}

.mobile-data-card .card-title {
    color: var(--znf-primary);
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.25;
}

.mobile-data-card .card-subtitle {
    color: #6c7a89;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.mobile-data-card .card-amount,
.mobile-data-card .card-count {
    color: var(--znf-secondary);
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}

.mobile-data-card .card-body-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid #edf2f5;
}

.mobile-data-card .card-field {
    padding: 0.75rem;
    border-right: 1px solid #edf2f5;
    border-bottom: 1px solid #edf2f5;
}

.mobile-data-card .card-field:nth-child(even) {
    border-right: 0;
}

.mobile-data-card .card-field label {
    display: block;
    color: #7c8d9d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.mobile-data-card .card-field b,
.mobile-data-card .card-field span {
    color: var(--znf-ink);
    font-size: 0.9rem;
    font-weight: 800;
    word-break: break-word;
}

.mobile-data-card .card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
}

.mobile-summary-card {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    background: var(--znf-primary);
    color: #fff;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    font-weight: 850;
}

.mobile-summary-card span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-summary-card b {
    color: #fff;
    font-size: 1.05rem;
}

.level-chip-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.85rem 1rem;
}

.level-chip {
    border: 1px solid #e2eaf0;
    border-radius: 8px;
    background: #f8fbfc;
    text-align: center;
    padding: 0.45rem 0.25rem;
}

.level-chip label {
    display: block;
    color: #7c8d9d;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
}

.level-chip b {
    color: var(--znf-primary);
    font-size: 0.9rem;
}

.modal {
    --bs-modal-border-radius: 12px;
}

.form-control,
.form-select {
    border-radius: 9px;
    border-color: var(--znf-line);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--znf-secondary);
    box-shadow: 0 0 0 0.2rem rgba(26, 122, 109, 0.16);
}

section.content a {
    color: var(--znf-primary);
    font-weight: 600;
}

section.content a:hover {
    color: var(--znf-secondary);
}
