.login-bg-img-fix {
    background: #fff url(/images/background/bg6.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-position: 630px top;
    background-size: 70% 100%;
}

.login-style3 .logo-header {
    margin-bottom: 0 !important;
}

.login-style3 .text-danger.validation-summary-errors li {
    color: #FF5E5E;
    margin: 0px 0px 9px 0;
    float: left;
    width: 100%;
    background-color: beige;
    padding: 6px;
}

.login-style3 span.field-validation-error {
    color: #FF5E5E;
    font-size: 0.875em;
    float: left;
    width: 100%;
    background-color: mistyrose;
    padding: 9px 5px 5px 15px;
    border: 1px solid #FF5E5E;
    top: -9px;
    position: relative;
    border-radius: 0 0 5px 5px;
    border-top: 0;
    margin-bottom: 5px;
}

.login-style3 .form-control.input-validation-error {
    border: 1px solid #FF5E5E;
    border-bottom: aliceblue;
    border-radius: 5px 5px 0px 0px;
}

.login-style3 button.btn.btn-primary {
    float: left;
    width: 100%;
}

.login-style3 span.form-check.d-inline-block {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.login-style3 .form-check-label {
    margin: 0px 0px 0px 0px !important;
    padding: 4px !important;
}

.login-style3 .login-form {
    margin: 0 40px;
    box-shadow: unset;
    border-radius: unset;
}

.login-style3 div#mCSB_1 {
    margin-top: 35px !important;
}

.select2-selection__arrow {
    display: unset !important;
}

div#searchResults {
    margin-top: 45px;
}

.nav-header .logo-abbr {
    width: 90%;
}

span.field-validation-error {
    color: #FF5E5E;
    font-size: 0.875em;
    float: left;
    width: 100%;
    background-color: mistyrose;
    padding: 9px 5px 5px 15px;
    border: 1px solid #FF5E5E;
    top: -4px;
    position: relative;
    border-radius: 0 0 5px 5px;
    border-top: 0;
    margin-bottom: 5px;
}

.form-control.input-validation-error {
    border: 1px solid #FF5E5E;
    border-bottom: aliceblue;
    border-radius: 5px 5px 0px 0px;
}

.profile-form .form-label {
    margin-bottom: 5px !important;
}

h2#swal2-title {
    font-size: 16px;
    color: #FF5E5E;
}

div#swal2-content {
    font-size: 14px;
}

table.table-striped.student-tbl thead th {
    color: white;
}

.profile-card .card-footer {
    padding: 25px 40px 25px !important;
}

.author-profile .upload-link {
    position: unset !important;
    width: auto !important;
    height: auto !important;
    background: unset !important;
    border-radius: unset !important;
    border: unset !important;
    color: #395ee2 !important;
    box-shadow: unset !important;
    line-height: unset !important;
}

form.row.profile-form {
    padding: 0;
}

.text-italic {
    font-style: italic;
}

.text-bold {
    font-weight: bold;
}

.text-right {
    text-align: right;
}

.progress {
    border: 1px solid green;
    background-color: floralwhite;
}

select.form-select {
    background-color: white !important;
}

.btn, .icon-box.icon-box-xs, select.form-select {
    border-radius: 0.20rem !important;
}

.nav-tabs {
    --bs-nav-tabs-border-radius: 0.20rem !important;
}

.card-header-tabs .nav-link {
    color: #495057;
}

    .card-header-tabs .nav-link.active {
        font-weight: bold;
    }

.hover-shadow:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.15);
    cursor: pointer;
}

.campaign-table thead th {
    border-top: none;
    border-bottom: 1px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.campaign-cover {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.font-weight-600 {
    font-weight: 600;
}

.progress-sm {
    height: 8px;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
}

    .nav-tabs .nav-link.active {
        border-bottom: 2px solid #28a745;
        color: #212529;
        background: transparent;
    }

.campaign-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
}

    .campaign-tabs .nav-link.active {
        background: #f8f9fa;
        border-radius: 6px;
        color: #212529;
    }

.campaign-image-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

    .campaign-image-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

    .campaign-image-card .actions {
        padding: 8px;
        display: flex;
        justify-content: space-between;
    }

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #6c757d;
}

.form-select {
    line-height: 2.2 !important;
}

.ck.ck-editor__main > .ck-editor__editable {
    background: #FFF !important;
}

.ck.ck-editor .ck.ck-toolbar {
    background-color: #F3F0EC;
}

.ck.ck-editor .ck-content {
    min-height: 20rem !important;
}

.show.menu-toggle .brand-logo {
    display: none;
}

/* small logo */
.brand-logo-small {
    float: left;
    width: 84%;
    text-align: center;
    position: relative;
    top: 30%;
}
.brand-logo-small .logo-abbr {
    height: 30px;
    width: 30px;
}

.show .brand-small-logo {
    display: none;
}

.show.menu-toggle .brand-small-logo {
    display: inline-block;
}

.dash-root {
    font-family: 'DM Sans', sans-serif;
    color: #1a1a18;
}

    .dash-root * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

.dash-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-top: 4px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeUp .45s ease forwards;
}

    .dash-header h1 {
        font-size: 22px;
        font-weight: 600;
        letter-spacing: -.4px;
    }

    .dash-header p {
        font-size: 13px;
        color: #6b6b66;
        margin-top: 3px;
    }

.date-badge {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    background: #fef3c7;
    color: #78350f;
    padding: 5px 13px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.kpi-tile {
    border-radius: 14px;
    padding: 20px 22px 18px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .5s ease forwards;
}

    .kpi-tile::after {
        content: '';
        position: absolute;
        right: -14px;
        bottom: -14px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: currentColor;
        opacity: .12;
    }

.kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 14px;
}

.kpi-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 5px;
}

.kpi-value {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1;
}

.kpi-sub {
    font-size: 12px;
    margin-top: 6px;
    opacity: .65;
}

.kpi-sparkicon {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 50px;
    opacity: .14;
}

.kpi-blue {
    background: #dbeafe;
    color: #1e3a8a;
}

.kpi-green {
    background: #d1fae5;
    color: #064e3b;
}

.kpi-amber {
    background: #fef3c7;
    color: #78350f;
}

.kpi-rose {
    background: #ffe4e6;
    color: #881337;
}

.kpi-tile .kpi-icon.ib {
    background: rgba(30,58,138,.12);
}

.kpi-tile .kpi-icon.ig {
    background: rgba(6,78,59,.12);
}

.kpi-tile .kpi-icon.ia {
    background: rgba(120,53,15,.12);
}

.kpi-tile .kpi-icon.ir {
    background: rgba(136,19,55,.12);
}

.mid-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.dash-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    padding: 22px 24px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .5s ease forwards;
}

.card-ttl {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a18;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .card-ttl i {
        font-size: 15px;
        color: #a0a09a;
    }

.sum-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 12px;
    color: #6b7280;
    padding-bottom: 9px;
    margin-bottom: 9px;
}

    .sum-row:last-of-type {
        border-bottom: none;
    }

.sum-lbl {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #6b6b66;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sum-val {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
}

.c-amber {
    color: #b45309;
}

.c-green {
    color: #0d7a4e;
}

.c-blue {
    color: #1a56db;
}

.c-rose {
    color: #b91c4a;
}

.prog-wrap {
    width: 100%;
    height: 5px;
    background: #f3f4f6;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    border-radius: 4px;
    background: #10b981;
    width: 0%;
    transition: width 1s ease;
}

.prog-label {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: #a0a09a;
    font-family: 'DM Mono', monospace;
    margin-bottom: 6px;
}

.chart-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.chart-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    padding: 20px 20px 16px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .5s ease forwards;
}

.chart-ttl {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #a0a09a;
    margin-bottom: 14px;
}

@keyframes fadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kpi-tile:nth-child(1) {
    animation-delay: .05s;
}

.kpi-tile:nth-child(2) {
    animation-delay: .12s;
}

.kpi-tile:nth-child(3) {
    animation-delay: .19s;
}

.kpi-tile:nth-child(4) {
    animation-delay: .26s;
}

.mid-grid .dash-card:nth-child(1) {
    animation-delay: .32s;
}

.mid-grid .dash-card:nth-child(2) {
    animation-delay: .38s;
}

.chart-card:nth-child(1) {
    animation-delay: .44s;
}

.chart-card:nth-child(2) {
    animation-delay: .50s;
}

.chart-card:nth-child(3) {
    animation-delay: .56s;
}

.dataTables_length, .dataTables_info, .dataTables_filter {
    margin: 15px;
}

.users-root {
    font-family: 'DM Sans', sans-serif;
}

    .users-root * {
        box-sizing: border-box;
    }

.pg-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-top: 4px;
    opacity: 0;
    transform: translateY(-8px);
    animation: cpFadeUp .4s ease forwards;
    flex-wrap: wrap;
    gap: 12px;
}

    .pg-header h1 {
        font-size: 20px;
        font-weight: 600;
        color: #111827;
        letter-spacing: -.3px;
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pg-header p {
        font-size: 12px;
        color: #6b7280;
        margin-top: 2px;
    }

.btn-create {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}

    .btn-create:hover {
        background: #1f2937;
        color: #fff;
    }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(10px);
    animation: uFadeUp .45s ease .05s forwards;
}

.stat-card {
    background: white;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.03);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.si-blue {
    background: #DBEAFE;
    color: #1D4ED8;
}

.si-green {
    background: #DCFCE7;
    color: #166534;
}

.si-red {
    background: #fee2e2;
    color: #991b1b;
}

.si-purple {
    background: #EDE9FE;
    color: #6D28D9;
}

.stat-val {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.5px;
    line-height: 1;
}

.stat-lbl {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 500;
}

.table-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: uFadeUp .5s ease .1s forwards;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.toolbar-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

    .search-wrap i {
        font-size: 14px;
        color: #9ca3af;
    }

    .search-wrap input {
        border: none;
        background: transparent;
        font-size: 13px;
        color: #374151;
        font-family: 'DM Sans', sans-serif;
        outline: none;
        width: 100%;
    }

        .search-wrap input::placeholder {
            color: #d1d5db;
        }

.filter-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .15s;
    text-decoration: none;
}

    .filter-btn:hover {
        background: #f9fafb;
        border-color: rgba(0,0,0,.15);
    }

    .filter-btn.fb-active {
        background: #111827;
        color: #fff;
        border-color: #111827;
    }

.users-table {
    width: 100%;
    border-collapse: collapse;
}

    .users-table thead th {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: #9ca3af;
        padding: 10px 20px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        text-align: left;
        background: #fafafa;
        white-space: nowrap;
    }

    .users-table tbody tr {
        border-bottom: 1px solid rgba(0,0,0,.04);
        transition: background .12s;
    }

        .users-table tbody tr:last-child {
            border-bottom: none;
        }

        .users-table tbody tr:hover {
            background: #fafafa;
        }

    .users-table tbody td {
        padding: 13px 20px;
        font-size: 13px;
        color: #374151;
        vertical-align: middle;
    }

.user-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}

.u-avatar {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}

.av-0 {
    background: #dbeafe;
    color: #1d4ed8;
}

.av-1 {
    background: #d1fae5;
    color: #065f46;
}

.av-2 {
    background: #ede9fe;
    color: #5b21b6;
}

.av-3 {
    background: #fef3c7;
    color: #92400e;
}

.av-4 {
    background: #ffe4e6;
    color: #9f1239;
}

.u-name {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.u-email {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
    font-family: 'DM Mono', monospace;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

.rb-super {
    background: #dbeafe;
    color: #1e40af;
}

.rb-admin {
    background: #ede9fe;
    color: #5b21b6;
}

.rb-manager {
    background: #d1fae5;
    color: #065f46;
}

.rb-vol {
    background: #fef3c7;
    color: #92400e;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 10px;
    white-space: nowrap;
}

.sp-active {
    background: #d1fae5;
    color: #065f46;
}

.sp-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.sp-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.date-cell {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: #9ca3af;
}

.actions {
    display: flex;
    align-items: center;
    float: right;
    gap: 5px;
}

.act-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: opacity .15s, transform .1s;
    text-decoration: none;
}

    .act-btn:hover {
        opacity: .82;
        transform: scale(1.06);
    }

    .act-btn:active {
        transform: scale(.95);
    }

.ab-dark {
    background: #1f2937;
    color: #fff;
}

.ab-info {
    background: #0891b2;
    color: #fff;
}

.ab-primary {
    background: #1d4ed8;
    color: #fff;
}

.ab-danger {
    background: #dc2626;
    color: #fff;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #9ca3af;
    background: white;
    border-radius: 18px;
}

    .empty-state i {
        font-size: 36px;
        display: block;
        margin-bottom: 12px;
        opacity: .4;
    }

    .empty-state p {
        font-size: 13px;
    }

.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid rgba(0,0,0,.06);
}

.table-footer-info {
    font-size: 12px;
    color: #9ca3af;
}

@keyframes uFadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.report-card {
    transition: all 0.2s ease;
    border-radius: 12px;
}

    .report-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.campaign-page {
    padding: 10px;
}

.bc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

    .bc a {
        color: #6b7280;
        text-decoration: none;
    }

.btn-new {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: .2s;
}

    .btn-new:hover {
        background: #1f2937;
        color: white;
    }

.si-amber {
    background: #FEF3C7;
    color: #92400E;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-chip {
    border: 1px solid rgba(0,0,0,.08);
    background: white;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

    .filter-chip:hover,
    .filter-chip.fc-active {
        background: #111827;
        color: white;
        border-color: #111827;
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(340px,1fr));
    gap: 18px;
}

.camp-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    transition: .25s;
    position: relative;
}

    .camp-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
    }

.camp-cover {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #f3f4f6;
}

.camp-cover-placeholder {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg,#f3f4f6,#e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.type-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17,24,39,.78);
    color: white;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: 600;
}

.status-pill-img {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: 600;
}

.sp-completed {
    background: #ede9fe;
    color: #5b21b6;
}

.sp-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.camp-body {
    padding: 18px;
}

.camp-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.camp-meta {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.prog-raised {
    font-size: 14px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
}

.prog-pct {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
}

.prog-bar-bg {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #f3f4f6;
    overflow: hidden;
    margin-bottom: 12px;
}

.prog-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #10b981;
    width: 0%;
    transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

.pf-low {
    background: #f59e0b;
}

.pf-mid {
    background: #3b82f6;
}

.pf-high {
    background: #10b981;
}

.camp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.06);
    margin-top: 14px;
}

.camp-donations {
    font-size: 12px;
    color: #9ca3af;
}

.camp-actions {
    display: flex;
    gap: 6px;
}

.ca-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .2s;
}

    .ca-btn:hover {
        transform: scale(1.08);
    }

.cab-info {
    background: #DBEAFE;
    color: #1D4ED8;
}

.cab-amber {
    background: #FEF3C7;
    color: #92400E;
}

.cab-danger {
    background: #FEE2E2;
    color: #DC2626;
    border: none;
}

.camp-det * {
    box-sizing: border-box;
}

.camp-det {
    font-family: 'DM Sans', sans-serif;
}

.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

    .breadcrumb-bar a {
        color: #6b7280;
        text-decoration: none;
        transition: color .15s;
    }

        .breadcrumb-bar a:hover {
            color: #111827;
        }

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f3f4f6;
    border: none;
    border-radius: 9px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background .15s;
}

    .btn-back:hover {
        background: #e5e7eb;
        color: #374151;
    }

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 9px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all .15s;
}

    .btn-edit:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #374151;
    }

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 14px;
    opacity: 0;
    transform: translateY(10px);
    animation: cdUp .45s ease .08s forwards;
}

.left-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.right-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.f-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    overflow: hidden;
}

.f-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.f-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.fci-amber {
    background: #fef3c7;
    color: #92400e;
}

.fci-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.fci-purple {
    background: #ede9fe;
    color: #5b21b6;
}

.fci-green {
    background: #d1fae5;
    color: #065f46;
}

.fci-slate {
    background: #f1f5f9;
    color: #475569;
}

.f-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.f-card-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.f-card-body {
    padding: 20px;
}

.hero-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.hero-cover-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: #c7d2fe;
}

.hero-body {
    padding: 22px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.type-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #111827;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.hero-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -.4px;
    margin-bottom: 8px;
}

.hero-dates {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 20px;
}

.hero-date-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-duration {
    background: #f3f4f6;
    border-radius: 6px;
    padding: 2px 9px;
    font-size: 11px;
    color: #6b7280;
}

.desc-content {
    font-size: 13px;
    color: #374151;
    line-height: 1.85;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.g-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f3f4f6;
}

    .g-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .2s;
    }

    .g-thumb:hover img {
        transform: scale(1.06);
    }

    .g-thumb.is-cover::after {
        content: 'Cover';
        position: absolute;
        top: 6px;
        left: 6px;
        background: #10b981;
        color: #fff;
        font-size: 9px;
        font-weight: 600;
        padding: 2px 7px;
        border-radius: 8px;
        pointer-events: none;
    }

.g-thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.82);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

    .lightbox.open {
        display: flex;
    }

    .lightbox img {
        max-width: 82vw;
        max-height: 82vh;
        border-radius: 10px;
        object-fit: contain;
    }

.lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,.12);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-prev {
    left: 16px;
}

.lb-next {
    right: 16px;
}

.lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255,255,255,.7);
    font-family: 'DM Mono', monospace;
}

.progress-ring-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
}

.ring-container {
    position: relative;
    flex-shrink: 0;
}

.ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-pct {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -.5px;
    font-family: 'DM Mono', monospace;
}

.ring-sub {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 1px;
}

.ring-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.rs-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.rs-lbl {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

.rs-val {
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    color: #111827;
}

    .rs-val.green {
        color: #065f46;
    }

    .rs-val.amber {
        color: #92400e;
    }

.rs-div {
    height: 1px;
    background: rgba(0,0,0,.05);
}

.date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

    .date-row:last-child {
        border-bottom: none;
    }

.date-lbl {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-val {
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    font-family: 'DM Mono', monospace;
}

    .date-val.positive {
        color: #065f46;
    }

    .date-val.negative {
        color: #dc2626;
    }

.don-table {
    width: 100%;
    border-collapse: collapse;
}

    .don-table thead th {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: #9ca3af;
        padding: 8px 16px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        text-align: left;
        background: #fafafa;
    }

    .don-table tbody tr {
        border-bottom: 1px solid rgba(0,0,0,.04);
        transition: background .12s;
    }

        .don-table tbody tr:last-child {
            border-bottom: none;
        }

        .don-table tbody tr:hover {
            background: #fafafa;
        }

    .don-table tbody td {
        padding: 11px 16px;
        font-size: 12px;
        color: #374151;
        vertical-align: middle;
    }

.don-avatar {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.don-name {
    font-size: 12px;
    font-weight: 500;
    color: #111827;
}

.don-amt {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
}

.don-date {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #9ca3af;
}

.don-empty {
    text-align: center;
    padding: 28px;
    font-size: 13px;
    color: #9ca3af;
}

@keyframes cdUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.camp-edit * {
    box-sizing: border-box;
}

.camp-edit {
    font-family: 'DM Sans', sans-serif;
}

.edit-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef3c7;
    color: #92400e;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    vertical-align: middle;
}

.camp-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 14px;
    opacity: 0;
    transform: translateY(10px);
    animation: cpFadeUp .45s ease .08s forwards;
}

.camp-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.camp-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fci-rose {
    background: #ffe4e6;
    color: #9f1239;
}

.f-section {
    margin-bottom: 20px;
}

    .f-section:last-child {
        margin-bottom: 0;
    }

.f-section-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .f-section-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(0,0,0,.06);
    }

.f-group {
    margin-bottom: 14px;
}

    .f-group:last-child {
        margin-bottom: 0;
    }

.f-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.f-req {
    color: #ef4444;
    margin-left: 2px;
}

.f-opt {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
}

.f-helper {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.f-input-wrap {
    position: relative;
}

    .f-input-wrap > .pfx-icon {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        color: #9ca3af;
        pointer-events: none;
        z-index: 1;
    }

.camp-edit .form-control,
.camp-edit .form-select {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 12px;
    color: #111827;
    background-color: #fff;
    transition: border-color .15s, box-shadow .15s;
}

    .camp-edit .form-control:focus,
    .camp-edit .form-select:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.1);
        outline: none;
    }

    .camp-edit .form-control::placeholder {
        color: #d1d5db;
    }

.camp-edit .with-icon .form-control {
    padding-left: 34px !important;
}

.type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.type-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
    color: #6b7280;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}

    .type-chip:hover {
        border-color: #d1d5db;
        background: #fafafa;
    }

    .type-chip.tc-active {
        background: #111827;
        color: #fff;
        border-color: #111827;
    }

    .type-chip i {
        font-size: 12px;
    }

.editor-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}

    .editor-wrap:focus-within {
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.1);
    }

.camp-edit .ck-editor__top .ck-toolbar {
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #fafafa !important;
    border-radius: 0 !important;
}

.camp-edit .ck-editor__editable {
    border: none !important;
    min-height: 130px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
}

    .camp-edit .ck-editor__editable:focus {
        box-shadow: none !important;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
    cursor: grab;
}

    .gallery-item:active {
        cursor: grabbing;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .gallery-item.drag-over {
        outline: 2px dashed #6366f1;
        outline-offset: 2px;
    }

    .gallery-item.dragging {
        opacity: .4;
    }

.cover-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    background: #10b981;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: .3px;
    pointer-events: none;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.58));
    opacity: 0;
    transition: opacity .15s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    gap: 5px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.go-btn {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .15s;
}

    .go-btn:hover {
        opacity: .85;
    }

.go-cover {
    background: #fff;
    color: #065f46;
}

.go-del {
    background: #dc2626;
    color: #fff;
}

.drop-zone {
    border: 1.5px dashed #e5e7eb;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}

    .drop-zone:hover, .drop-zone.dz-over {
        border-color: #6366f1;
        background: #fafafe;
    }

    .drop-zone > i {
        font-size: 26px;
        color: #9ca3af;
        display: block;
        margin-bottom: 8px;
    }

    .drop-zone > p {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 2px;
    }

    .drop-zone > span {
        font-size: 11px;
        color: #9ca3af;
    }

.amt-preview {
    display: none;
    align-items: baseline;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    padding: 10px 14px;
    margin-top: 8px;
}

    .amt-preview.show {
        display: flex;
    }

.amt-c {
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
}

.amt-v {
    font-size: 20px;
    font-weight: 600;
    color: #065f46;
    font-family: 'DM Mono', monospace;
    letter-spacing: -.5px;
}

.status-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.s-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
}

    .s-opt:hover {
        border-color: #d1d5db;
        background: #fafafa;
    }

    .s-opt.s-active {
        border-color: #111827;
        background: #f9fafb;
    }

.s-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.s-name {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.s-desc {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.dur-badge {
    display: none;
    align-items: center;
    gap: 7px;
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 8px;
    padding: 9px 12px;
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
}

    .dur-badge.show {
        display: flex;
    }

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

    .meta-row:last-of-type {
        border-bottom: none;
    }

.meta-lbl {
    color: #9ca3af;
}

.meta-val {
    color: #374151;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
}

.sum-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes unsavedPulse {

    0%, 100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.unsaved-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    display: none;
    animation: unsavedPulse 1.5s infinite;
    flex-shrink: 0;
}

    .unsaved-dot.show {
        display: inline-block;
    }

.unsaved-lbl {
    font-size: 11px;
    color: #92400e;
    font-weight: 500;
    display: none;
}

.saved-lbl {
    font-size: 12px;
    color: #9ca3af;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(10px);
    animation: cpFadeUp .5s ease .15s forwards;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-actions {
    display: flex;
    gap: 10px;
}

.btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}

    .btn-preview:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #374151;
    }

.btn-delete {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid #fca5a5;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #dc2626;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .15s;
}

    .btn-delete:hover {
        background: #fee2e2;
        border-color: #ef4444;
    }

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    border: none;
    border-radius: 9px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s;
}

    .btn-save:hover {
        background: #1f2937;
    }

@keyframes ceUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.camp-root * {
    box-sizing: border-box;
}

.camp-root {
    font-family: 'DM Sans', sans-serif;
}

    .camp-root .form-control,
    .camp-root .form-select {
        font-family: 'DM Sans', sans-serif;
        font-size: 13px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 9px 12px;
        color: #111827;
        background-color: #fff;
        transition: border-color .15s, box-shadow .15s;
    }

        .camp-root .form-control:focus,
        .camp-root .form-select:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99,102,241,.1);
            outline: none;
        }

        .camp-root .form-control::placeholder {
            color: #d1d5db;
        }

    .camp-root .with-icon .form-control {
        padding-left: 34px !important;
    }

.editor-wrap .ck-editor__top .ck-toolbar {
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #fafafa !important;
    border-radius: 0 !important;
}

.editor-wrap .ck-editor__editable {
    border: none !important;
    min-height: 130px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
}

    .editor-wrap .ck-editor__editable:focus {
        box-shadow: none !important;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    margin-bottom: 9px;
}

    .summary-row:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.footer-hint {
    font-size: 12px;
    color: #9ca3af;
}

@keyframes cpFadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Quries  */

@media only screen and (min-width: 600px){
    
}

@media only screen and (max-width: 47.9375rem) {
    .brand-logo {
        display: none !important;
    }

    .brand-logo-small {
        display: block !important;
    }
}

@media only screen and (min-width: 600px) {
    
}

@media only screen and (min-width: 768px) {

    
}

@media only screen and (min-width: 992px) {
    
}

@media only screen and (min-width: 1200px) {
    
}

@media only screen and (max-width: 1024px) {
    .kpi-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .mid-grid {
        grid-template-columns: 1fr;
    }

    .chart-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-wrap {
        width: 100%;
    }

    .toolbar-left {
        width: 100%;
    }
}

@media (max-width:991px) {
    .stats-row {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:768px) {
    .stats-row {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .gallery-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .camp-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 960px) {
    .camp-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ─── SIDEBAR SHELL ─── */
.deznav {
    background: #111827 !important;
    border-right: none !important;
    box-shadow: none !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* ─── BRAND HEADER ─── */
.sb-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
}

.sb-brand-logo {
    width: 36px;
    height: 36px;
    background: #10b981;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sb-brand-logo i {
        font-size: 17px;
        color: #fff;
    }

.sb-brand-name {
    font-size: 15px;
    font-weight: 600;
    color: #f9fafb;
    letter-spacing: -0.2px;
    line-height: 1.1;
    margin: 0;
}

.sb-brand-sub {
    font-size: 10px;
    color: #6b7280;
    margin: 1px 0 0;
}

/* ─── SCROLL AREA ─── */
.deznav-scroll {
    display: flex;
    flex-direction: column;
    height: calc(100% - 72px);
}

/* ─── SECTION TITLES ─── */
.metismenu .menu-title {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: #4b5563 !important;
    padding: 16px 18px 6px !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* ─── NAV ITEMS ─── */
.metismenu > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    padding: 9px 10px !important;
    margin: 1px 10px !important;
    border-radius: 8px !important;
    transition: background 0.15s !important;
    text-decoration: none !important;
    border: none !important;
}

    .metismenu > li > a:hover {
        background: rgba(255,255,255,0.06) !important;
    }

    .metismenu > li.mm-active > a,
    .metismenu > li > a.active {
        background: rgba(16,185,129,0.14) !important;
    }

/* ─── ICONS ─── */
.menu-icon {
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .menu-icon i {
        font-size: 17px;
        color: #6b7280;
        transition: color 0.15s;
    }

.metismenu > li > a:hover .menu-icon i {
    color: #d1d5db;
}

.metismenu > li.mm-active > a .menu-icon i {
    color: #10b981;
}

/* ─── NAV TEXT ─── */
.nav-text {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #9ca3af !important;
    flex: 1 !important;
    letter-spacing: -0.1px !important;
    font-family: 'DM Sans', sans-serif !important;
    transition: color 0.15s;
}

.metismenu > li > a:hover .nav-text {
    color: #f3f4f6 !important;
}

.metismenu > li.mm-active > a .nav-text {
    color: #d1fae5 !important;
}

/* ─── ARROW (has-arrow) ─── */
.metismenu > li > a.has-arrow::after {
    border-color: #4b5563 !important;
    transition: transform 0.2s, border-color 0.15s !important;
}

.metismenu > li.mm-active > a.has-arrow::after {
    border-color: #6b7280 !important;
}

/* ─── BADGE (inbox count etc.) ─── */
.sb-badge {
    font-size: 10px;
    font-weight: 600;
    background: #ef4444;
    color: #fff;
    border-radius: 20px;
    padding: 1px 7px;
    margin-left: auto;
    font-family: 'DM Sans', sans-serif;
}

/* ─── SUBMENU ─── */
.metismenu ul {
    background: transparent !important;
    border: none !important;
    padding: 2px 0 4px !important;
}

    .metismenu ul li a {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 7px 12px 7px 44px !important;
        border-radius: 7px !important;
        margin: 0 10px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #6b7280 !important;
        font-family: 'DM Sans', sans-serif !important;
        transition: background 0.12s, color 0.12s !important;
        text-decoration: none !important;
    }

        .metismenu ul li a:hover {
            background: rgba(255,255,255,0.05) !important;
            color: #e5e7eb !important;
        }

        .metismenu ul li.mm-active a,
        .metismenu ul li a.active {
            color: #10b981 !important;
            background: transparent !important;
        }

.sb-subdot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ─── USER FOOTER ─── */
.sb-user-footer {
    margin-top: auto;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sb-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

    .sb-user-row:hover {
        background: rgba(255,255,255,0.06);
    }

.sb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #1e3a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #93c5fd;
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
    text-transform: uppercase;
}

.sb-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #d1d5db;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.2;
}

.sb-user-role {
    font-size: 10px;
    color: #6b7280;
    font-family: 'DM Sans', sans-serif;
    margin-top: 1px;
}

.sb-logout-icon {
    margin-left: auto;
    font-size: 15px;
    color: #4b5563;
}

/* DONATION INDEX PAGE */
.don-root * {
    box-sizing: border-box;
}

.don-root {
    font-family: 'DM Sans', sans-serif;
}

/* ── PAGE HEADER ── */
.pg-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px);
    animation: dnUp .4s ease forwards;
}

    .pg-header h1 {
        font-size: 20px;
        font-weight: 600;
        color: #111827;
        letter-spacing: -.3px;
        margin-bottom: 2px;
    }

    .pg-header p {
        font-size: 12px;
        color: #6b7280;
    }

.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

    .breadcrumb-bar a {
        color: #6b7280;
        text-decoration: none;
    }

        .breadcrumb-bar a:hover {
            color: #111827;
        }

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s;
}

    .btn-add:hover {
        background: #1f2937;
        color: #fff;
    }

/* ── KPI TILES ── */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(8px);
    animation: dnUp .4s ease .05s forwards;
}

.kpi-tile {
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .15s;
    background:white;
}

    .kpi-tile:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,.07);
    }

    .kpi-tile.camp {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

.kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ki-amber {
    background: #fef3c7;
    color: #92400e;
}

.ki-green {
    background: #d1fae5;
    color: #065f46;
}

.ki-rose {
    background: #ffe4e6;
    color: #9f1239;
}

.ki-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.kpi-lbl {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 4px;
}

.kpi-val {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.3px;
    line-height: 1;
    font-family: 'DM Mono', monospace;
}

.kpi-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

    .kpi-sub.ok {
        color: #10b981;
        font-weight: 500;
    }

    .kpi-sub.info {
        color: #6b7280;
    }

.c-amber {
    color: #92400e;
}

.c-green {
    color: #065f46;
}

.c-rose {
    color: #9f1239;
}

/* Campaign tile internals */
.camp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.camp-rows {
    width: 100%;
}

.camp-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 3px;
}

    .camp-row span {
        color: #6b7280;
    }

    .camp-row strong {
        font-family: 'DM Mono', monospace;
        font-size: 11px;
        font-weight: 600;
        color: #111827;
    }

.camp-prog-bg {
    width: 100%;
    height: 5px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 7px;
}

.camp-prog-fill {
    height: 100%;
    border-radius: 3px;
    background: #3b82f6;
    width: 0%;
    transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

.camp-pct {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
    font-family: 'DM Mono', monospace;
}

/* ── FILTER BAR ── */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    animation: dnUp .4s ease .1s forwards;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.f-icon {
    font-size: 15px;
    color: #9ca3af;
}

/* Override Bootstrap form-select */
.don-root .form-select.f-sel {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 7px 32px 7px 10px;
    color: #374151;
    background-color: #f9fafb;
    min-width: 0;
    width: auto;
    transition: border .15s;
}

    .don-root .form-select.f-sel:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.1);
        outline: none;
    }

.btn-apply {
    background: #111827;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s;
}

    .btn-apply:hover {
        background: #1f2937;
    }

.btn-export {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .15s;
    text-decoration: none;
}

.be-green {
    background: #d1fae5;
    color: #065f46;
}

    .be-green:hover {
        background: #a7f3d0;
    }

.be-amber {
    background: #fef3c7;
    color: #92400e;
}

    .be-amber:hover {
        background: #fde68a;
    }

/* ── TABS CARD ── */
.tabs-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: dnUp .45s ease .15s forwards;
}

.tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: #fafafa;
}

.tab-nav {
    display: flex;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .15s;
    white-space: nowrap;
}

    .tab-btn:hover {
        color: #374151;
    }

    .tab-btn.tab-active {
        color: #111827;
        border-bottom-color: #111827;
    }

.tab-count {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
}

.tab-btn.tab-active .tab-count {
    background: #111827;
    color: #fff;
}

.filter-hint {
    font-size: 11px;
    color: #9ca3af;
}

/* Tab panes */
.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

/* ── DONATION TABLE ── */
.don-table {
    width: 100%;
    border-collapse: collapse;
}

    .don-table thead th {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: #9ca3af;
        padding: 10px 18px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        text-align: left;
        background: #fafafa;
        white-space: nowrap;
    }

    .don-table tbody tr {
        border-bottom: 1px solid rgba(0,0,0,.04);
        transition: background .12s;
    }

        .don-table tbody tr:last-child {
            border-bottom: none;
        }

        .don-table tbody tr:hover {
            background: #fafafa;
        }

    .don-table tbody td {
        padding: 12px 18px;
        font-size: 13px;
        color: #374151;
        vertical-align: middle;
    }

/* Donor cell */
.donor-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.don-av {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.av-0 {
    background: #dbeafe;
    color: #1d4ed8
}

.av-1 {
    background: #d1fae5;
    color: #065f46
}

.av-2 {
    background: #ede9fe;
    color: #5b21b6
}

.av-3 {
    background: #fef3c7;
    color: #92400e
}

.av-4 {
    background: #ffe4e6;
    color: #9f1239
}

.don-name {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.don-group {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.amt-cell {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
}

.owed-cell {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #9f1239;
}

.date-cell {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: #9ca3af;
}

.group-cell {
    font-size: 12px;
    color: #6b7280;
}

.method-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #374151;
}

.overdue-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: #fee2e2;
    color: #991b1b;
}

.due-today-pill {
    background: #fef3c7;
    color: #92400e;
}

.ok-pill {
    background: #d1fae5;
    color: #065f46;
}

/* Table footer */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 12px;
    color: #9ca3af;
}

/* Empty state */
.table-empty {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
}

    .table-empty i {
        font-size: 28px;
        display: block;
        margin-bottom: 10px;
        opacity: .35;
    }

@keyframes dnUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* DONATION ADD PAGE */
.don-form * {
    box-sizing: border-box;
}

.don-form {
    font-family: 'DM Sans', sans-serif;
}

/* ── PAGE HEADER ── */
.pg-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px);
    animation: dfUp .4s ease forwards;
}

    .pg-header h1 {
        font-size: 20px;
        font-weight: 600;
        color: #111827;
        letter-spacing: -.3px;
        margin-bottom: 2px;
    }

    .pg-header p {
        font-size: 12px;
        color: #6b7280;
    }

.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

    .breadcrumb-bar a {
        color: #6b7280;
        text-decoration: none;
    }

        .breadcrumb-bar a:hover {
            color: #111827;
        }

/* ── TWO-COLUMN GRID ── */
.form-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 14px;
    opacity: 0;
    transform: translateY(10px);
    animation: dfUp .45s ease .08s forwards;
}

.form-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── CARDS ── */
.f-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    overflow: hidden;
}

.f-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.f-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.fci-green {
    background: #d1fae5;
    color: #065f46;
}

.fci-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.fci-amber {
    background: #fef3c7;
    color: #92400e;
}

.fci-purple {
    background: #ede9fe;
    color: #5b21b6;
}

.f-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.f-card-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.f-card-body {
    padding: 20px;
}

/* ── SECTION DIVIDERS ── */
.f-section {
    margin-bottom: 20px;
}

    .f-section:last-child {
        margin-bottom: 0;
    }

.f-section-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .f-section-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(0,0,0,.06);
    }

/* ── FORM FIELDS ── */
.f-group {
    margin-bottom: 14px;
}

    .f-group:last-child {
        margin-bottom: 0;
    }

.f-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.f-req {
    color: #ef4444;
    margin-left: 2px;
}

.f-opt {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
}

.f-helper {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.f-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.f-input-wrap {
    position: relative;
}

    .f-input-wrap > .pfx-icon {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        color: #9ca3af;
        pointer-events: none;
        z-index: 1;
    }

/* Override Bootstrap form-control */
.don-form .form-control,
.don-form .form-select {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 12px;
    color: #111827;
    background-color: #fff;
    transition: border-color .15s, box-shadow .15s;
}

    .don-form .form-control:focus,
    .don-form .form-select:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.1);
        outline: none;
    }

    .don-form .form-control::placeholder {
        color: #d1d5db;
    }

.don-form .with-icon .form-control,
.don-form .with-icon .form-select {
    padding-left: 34px !important;
}

/* ── DONOR INFO CARD ── */
.donor-card {
    display: none;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;
    padding: 14px;
    margin-top: 10px;
}

    .donor-card.show {
        display: flex;
    }

.donor-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #dbeafe;
    color: #1d4ed8;
    font-family: 'DM Sans', sans-serif;
}

.donor-info-name {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.donor-info-meta {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

.commit-badge {
    margin-left: auto;
    text-align: right;
}

.commit-label {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 500;
}

.commit-val {
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
    font-family: 'DM Mono', monospace;
}

/* ── AMOUNT PREVIEW ── */
.amt-preview {
    display: none;
    align-items: baseline;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    padding: 10px 14px;
    margin-top: 8px;
}

    .amt-preview.show {
        display: flex;
    }

.amt-c {
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
}

.amt-v {
    font-size: 20px;
    font-weight: 600;
    color: #065f46;
    font-family: 'DM Mono', monospace;
    letter-spacing: -.5px;
}

/* ── EXTRA PURPOSE BOX ── */
.extra-amount-box {
    display: none;
    background: #fef9ec;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px;
    margin-top: 10px;
}

    .extra-amount-box.show {
        display: block;
    }

.extra-box-label {
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── PAYMENT METHOD PILLS ── */
.pay-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
    color: #6b7280;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}

    .pay-pill:hover {
        border-color: #d1d5db;
        background: #fafafa;
    }

    .pay-pill.pill-active {
        background: #111827;
        color: #fff;
        border-color: #111827;
    }

/* ── TOGGLE SWITCH ── */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 9px;
}

.toggle-lbl {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.toggle-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.dms-switch {
    padding: 0;
    display: flex;
    align-items: center;
}

    .dms-switch .form-check-input {
        width: 38px;
        height: 22px;
        cursor: pointer;
        border-radius: 11px;
        background-color: #e5e7eb;
        border: none;
        outline: none;
        margin: 0;
        transition: background-color .2s;
    }

        .dms-switch .form-check-input:checked {
            background-color: #10b981;
            border-color: #10b981;
        }

        .dms-switch .form-check-input:focus {
            box-shadow: 0 0 0 3px rgba(16,185,129,.15);
        }

/* ── LIVE SUMMARY ── */
.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

    .sum-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.sum-lbl {
    color: #9ca3af;
}

.sum-val {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
}

    .sum-val.green {
        color: #065f46;
    }

/* ── FOOTER ── */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(10px);
    animation: dfUp .5s ease .15s forwards;
}

.footer-hint {
    font-size: 12px;
    color: #9ca3af;
}

.footer-actions {
    display: flex;
    gap: 10px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f3f4f6;
    border: none;
    border-radius: 9px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background .15s;
}

    .btn-back:hover {
        background: #e5e7eb;
        color: #374151;
    }

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    border: none;
    border-radius: 9px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s;
}

    .btn-save:hover {
        background: #1f2937;
    }

@keyframes dfUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .form-layout {
        grid-template-columns: 1fr;
    }

    .f-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Remember / forgot row */
.ngo-auth .ngo-form-row {
    float:left;
    width:100%;
}