/* SolaimanLipi Font Definition */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('../fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #064420;
    --primary-hover: #042e15;
    --primary-light: #e8f5e9;
    --secondary-color: #0d6efd;
    --accent-color: #e65100;
    --gold-color: #f1c40f;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --body-bg: #f4f7f6;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --border-radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'SolaimanLipi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--body-bg);
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-3 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-5 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-7 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-8 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }
.col-md-9 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */

/* 1. Top Bar */
.top-bar {
    background: #042e15;
    color: #e0f2f1;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* 2. Brand Section */
.brand-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

.brand-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.brand-logo-wrap img {
    height: 68px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-titles {
    min-width: 0;
}

.brand-titles h1 {
    font-size: 24px;
    font-weight: 700;
    color: #064420;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}

.brand-titles p {
    font-size: 14px;
    color: #666;
    margin: 3px 0 0 0;
    white-space: nowrap;
}

.brand-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 3. Main Navigation Bar */
.main-nav-bar {
    background: #064420;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.nav-menu li a:hover {
    background: #09592c;
    color: #f1c40f;
    text-decoration: none;
    border-bottom-color: #f1c40f;
}

.nav-menu li a.active {
    background: #09592c;
    color: #f1c40f;
    border-bottom-color: #f1c40f;
}

/* Mobile Toggle Button */
.nav-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid #28a745;
    color: #fff;
    padding: 6px 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Responsive Navigation for Mobile */
@media (max-width: 991px) {
    .brand-titles h1 {
        font-size: 18px;
        white-space: normal;
    }
    .brand-titles p {
        font-size: 12px;
        white-space: normal;
    }
    .brand-logo-wrap img {
        height: 52px;
    }
    .brand-actions {
        display: none;
    }
    .nav-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }
    .nav-mobile-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 8px 15px;
        background: #09592c;
        border: 1px solid #28a745;
        color: #fff;
        padding: 8px 15px;
        border-radius: 5px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #042e15;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin: 0;
        padding: 0;
        text-align: left;
    }
    .nav-menu.show {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
        text-align: left;
    }
    .nav-menu li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 15px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 4px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 17px;
    border-radius: 6px;
}

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

.btn-primary:hover {
    background: #042e15;
    color: #fff;
    text-decoration: none;
}

.btn-success {
    background: #198754;
    color: #fff;
}

.btn-success:hover {
    background: #157347;
    color: #fff;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background: #bb2d3b;
    color: #fff;
}

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

.btn-warning:hover {
    background: #d4ac0d;
    color: #000;
}

.btn-outline-primary {
    background: transparent;
    color: #064420;
    border-color: #064420;
}

.btn-outline-primary:hover {
    background: #064420;
    color: #fff;
    text-decoration: none;
}

.btn-outline-secondary {
    background: transparent;
    color: #6c757d;
    border-color: #ced4da;
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 12px 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header.bg-primary {
    background: #064420;
    color: #ffffff;
}

.card-header.bg-primary h2, .card-header.bg-primary h3, .card-header.bg-primary h4 {
    color: #ffffff;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #064420;
    margin: 0;
}

.card-body {
    padding: 18px;
}

.card-footer {
    padding: 10px 18px;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #064420 0%, #0c5c2d 100%);
    color: #ffffff;
    padding: 40px 0;
    border-bottom: 4px solid #f1c40f;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 17px;
    opacity: 0.95;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 25px 0;
    }
    .hero-content h1 {
        font-size: 22px;
    }
    .hero-content p {
        font-size: 14px;
    }
}

/* Forms */
.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.form-control, .form-select {
    width: 100%;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    color: #495057;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #064420;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(6, 68, 32, 0.2);
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 3px;
    display: block;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 4px;
}

.badge-success { background-color: #d1e7dd; color: #0f5132; }
.badge-warning { background-color: #fff3cd; color: #664d03; }
.badge-danger { background-color: #f8d7da; color: #842029; }
.badge-info { background-color: #cff4fc; color: #055160; }
.badge-primary { background-color: #e8f5e9; color: #064420; }
.badge-secondary { background-color: #e2e3e5; color: #41464b; }

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table {
    width: 100%;
    margin-bottom: 0;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 10px 12px;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
    vertical-align: middle;
}

.table thead th {
    background-color: #f1f8f4;
    color: #064420;
    font-weight: 700;
    border-bottom: 2px solid #064420;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(6, 68, 32, 0.04);
}

/* Alert Boxes */
.alert {
    position: relative;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
}

.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-warning { color: #664d03; background-color: #fff3cd; border-color: #ffecb5; }
.alert-info { color: #055160; background-color: #cff4fc; border-color: #b6effb; }

/* Dashboard Sidebar & Content */
.dashboard-wrap {
    display: flex;
    min-height: calc(100vh - 120px);
    width: 100%;
}

.dashboard-sidebar {
    width: 250px;
    background: #064420;
    color: #ffffff;
    flex-shrink: 0;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.sidebar-heading {
    padding: 6px 18px;
    font-size: 11px;
    text-transform: uppercase;
    color: #81c784;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
    margin-bottom: 15px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: #e0f2f1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: #0b5e2e;
    color: #ffffff;
    border-left-color: #f1c40f;
}

.dashboard-main {
    flex-grow: 1;
    padding: 20px;
    background: #f4f7f6;
    overflow-y: auto;
    min-width: 0;
}

/* Mobile Dashboard View */
@media (max-width: 991px) {
    .dashboard-wrap {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
        display: none;
    }
    .dashboard-sidebar.show {
        display: block;
    }
    .dashboard-main {
        padding: 15px;
    }
}

/* Stat Cards */
.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 18px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid #064420;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-card.stat-blue { border-left-color: #0d6efd; }
.stat-card.stat-amber { border-left-color: #ff9800; }
.stat-card.stat-red { border-left-color: #dc3545; }
.stat-card.stat-purple { border-left-color: #6f42c1; }

.stat-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 3px 0;
}

.stat-info p {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064420;
    font-size: 20px;
}

/* Notice List Item */
.notice-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.2s;
}

.notice-item:hover {
    background: #f8fbf9;
}

.notice-date-box {
    background: #064420;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    min-width: 65px;
    flex-shrink: 0;
}

.notice-date-box .day {
    font-size: 16px;
    font-weight: 700;
}

/* Footer */
footer {
    background: #042e15;
    color: #e0f2f1;
    padding: 30px 0 15px 0;
    margin-top: auto;
}

footer h4 {
    color: #f1c40f;
    font-size: 17px;
    margin-bottom: 12px;
    font-weight: 700;
}

footer p, footer li {
    font-size: 14px;
    line-height: 1.7;
}

footer a {
    color: #c8e6c9;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    padding-top: 12px;
    text-align: center;
    font-size: 13px;
    color: #a5d6a7;
}

/* ========================================================
   ADMIT CARD PRINT STYLING (A4 Page: EXACTLY 2 ADMIT CARDS)
   ======================================================== */
.admit-card-page {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.a4-print-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 840px;
    margin: 0 auto 30px auto;
    padding: 22px 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
}

.admit-card-single {
    border: 1.8px solid #064420;
    border-radius: 6px;
    padding: 14px 20px 12px 20px;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
    page-break-inside: avoid;
    break-inside: avoid;
}

.admit-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.8px solid #064420;
    padding-bottom: 8px;
    margin-bottom: 10px;
    gap: 14px;
}

.admit-card-header img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.admit-title-center {
    text-align: center;
    flex-grow: 1;
}

.admit-title-center h2 {
    font-size: 19px;
    color: #064420;
    font-weight: 800;
    margin: 0 0 2px 0;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.admit-title-center p {
    font-size: 11.5px;
    color: #444;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.admit-badge-title {
    display: inline-block;
    background: #064420;
    color: #ffffff;
    padding: 2px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.admit-card-type-tag {
    display: inline-block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 800;
    color: #b7791f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admit-photo-box {
    width: 76px;
    height: 90px;
    border: 1.5px dashed #555;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    text-align: center;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 2px Larger Student Info Grid */
.admit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
    font-size: 15px;
    margin-bottom: 9px;
    line-height: 1.4;
}

.admit-field {
    display: flex;
    align-items: baseline;
}

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

.admit-field .lbl {
    font-weight: 700;
    color: #222;
    min-width: 115px;
    flex-shrink: 0;
    font-size: 15px;
}

.admit-field .val {
    color: #111;
    flex-grow: 1;
    font-size: 15px;
}

.admit-roll-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #064420;
    border: 1.5px solid #064420;
    padding: 1px 10px;
    border-radius: 4px;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.admit-exam-schedule {
    background: #eef7f2;
    border: 1.2px solid #a3e0b5;
    border-radius: 5px;
    padding: 5px 14px;
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.admit-instructions {
    font-size: 11px;
    color: #333;
    background: #fdfdfd;
    border-top: 1px dashed #bbb;
    padding-top: 5px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.admit-instructions strong {
    color: #064420;
    font-size: 11.5px;
}

/* Generous Signature Area */
.admit-signatures {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 6px;
    padding-top: 2px;
}

.admit-sig-box {
    text-align: center;
    width: 31%;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admit-sig-box .sig-space {
    height: 46px;
    width: 100%;
}

.admit-sig-box .sig-line {
    width: 100%;
    border-top: 1.5px solid #222;
    margin-bottom: 3px;
}

.admit-sig-box .sig-title {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.admit-sig-box .sig-sub {
    font-size: 10.5px;
    color: #555;
    line-height: 1.2;
}

.admit-cut-line {
    border-bottom: 1.5px dashed #888;
    text-align: center;
    margin: 14px 0;
    position: relative;
}

.admit-cut-line span {
    position: absolute;
    top: -10px;
    background: #ffffff;
    padding: 0 14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.3px;
}

@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .no-print, .brand-header, .main-nav-bar, .top-bar, footer, .dashboard-sidebar, .btn, .alert, .print-control-bar {
        display: none !important;
    }
    
    .dashboard-wrap, .dashboard-main {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
    
    .admit-card-page {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .a4-print-sheet {
        page-break-after: always;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        height: 297mm !important;
        max-height: 297mm !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 5mm 7mm !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        box-sizing: border-box !important;
    }
    
    .a4-print-sheet:last-child {
        page-break-after: auto !important;
    }
    
    .admit-card-single {
        box-shadow: none !important;
        border: 2px solid #064420 !important;
        border-radius: 6px !important;
        height: 140mm !important;
        max-height: 141mm !important;
        padding: 13px 18px 11px 18px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .admit-cut-line {
        margin: 1mm 0 !important;
        height: 4mm !important;
        box-sizing: border-box !important;
    }

    .admit-sig-box .sig-space {
        height: 52px !important;
    }
    
    @page {
        size: A4 portrait;
        margin: 0;
    }
}

/* ========================================================
   MOBILE-FRIENDLY DONOR LIST & CARD LAYOUT
   ======================================================== */
.donor-list-container {
    display: flex;
    flex-direction: column;
}

.donor-card-item {
    padding: 16px 20px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    transition: background 0.2s ease;
}

.donor-card-item:last-child {
    border-bottom: none;
}

.donor-card-item:hover {
    background: #fbfdfc;
}

.donor-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.donor-identity {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.donor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #064420;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1.5px solid #a3d9a5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.donor-info {
    min-width: 0;
    flex: 1;
}

.donor-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.donor-name {
    color: #064420;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.badge-patron {
    background: #fff3e0;
    color: #d35400;
    font-weight: 700;
    border: 1px solid #ffe082;
    font-size: 11px;
}

.badge-gold {
    background: #e8f5e9;
    color: #198754;
    font-weight: 700;
    border: 1px solid #c8e6c9;
    font-size: 11px;
}

.donor-meta {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.donor-meta .meta-dot {
    color: #ccc;
}

.donor-amount-box {
    text-align: right;
    flex-shrink: 0;
}

.donor-amount {
    font-size: 18px;
    font-weight: 800;
    color: #198754;
    line-height: 1.2;
    white-space: nowrap;
}

.donor-method {
    margin-top: 3px;
}

.badge-bkash {
    background: #fce4ec;
    color: #c2185b;
    font-size: 11px;
}

.badge-cash {
    background: #fff3e0;
    color: #e65100;
    font-size: 11px;
}

.badge-bank {
    background: #e1f5fe;
    color: #0288d1;
    font-size: 11px;
}

.donor-card-body {
    margin-top: 8px;
    padding-left: 56px;
}

.donor-purpose-tag {
    display: inline-block;
    background: #f0f4f8;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.donor-quote {
    font-size: 13.5px;
    color: #475569;
    font-style: italic;
    background: #f8fafc;
    border-left: 3px solid #198754;
    padding: 6px 12px;
    border-radius: 0 6px 6px 0;
    margin-top: 5px;
    line-height: 1.5;
    word-break: break-word;
}

.donor-empty-state {
    text-align: center;
    padding: 35px 20px;
    color: #777;
    font-size: 14px;
}

@media (max-width: 768px) {
    .mobile-donor-tabs {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .donor-card-item {
        padding: 12px 14px;
    }
    .donor-card-top {
        gap: 10px;
    }
    .donor-avatar {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
    .donor-card-body {
        padding-left: 0;
        margin-top: 8px;
    }
    .donor-amount {
        font-size: 16px;
    }
    .donor-name {
        font-size: 15px;
    }
}

/* ========================================================
   CUSTOM BENGALI PAGINATION (SOLAIMANLIPI)
   ======================================================== */
.pagination svg, nav svg, .custom-pagination-wrapper svg, svg.w-5, svg.h-5 {
    max-width: 18px !important;
    max-height: 18px !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.custom-pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    border-radius: 0 0 8px 8px;
}

.pagination-summary {
    font-size: 13.5px;
    color: #4a5568;
}

.pagination-summary strong {
    color: #064420;
    font-weight: 700;
}

.pagination-nav {
    display: flex;
}

.pagination-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

.page-item {
    margin: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #064420;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.page-link:hover {
    background: #064420;
    color: #ffffff;
    border-color: #064420;
    text-decoration: none;
}

.page-item.active .page-link {
    background: #064420;
    color: #ffffff;
    border-color: #064420;
    box-shadow: 0 2px 4px rgba(6, 68, 32, 0.25);
}

.page-item.disabled .page-link {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .custom-pagination-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 12px;
    }
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 8px;
    }
}



