@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #f8fafc; /* Soft slate background */
    --bg-card: #ffffff;
    --bg-card-hover: #fafafc;
    --border-color: #e2e8f0; /* Crisp slate-200 border */
    --border-focus: #2563eb; /* Modern Blue focus */
    --text-primary: #0f172a; /* Slate-900 text */
    --text-secondary: #64748b; /* Slate-500 secondary text */
    --primary: #2563eb; /* Royal Blue primary */
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.08);
    --success: #10b981; /* Emerald green */
    --success-glow: rgba(16, 185, 129, 0.08);
    --warning: #f59e0b; /* Amber */
    --warning-glow: rgba(245, 158, 11, 0.08);
    --danger: #ef4444; /* Rose red */
    --danger-glow: rgba(239, 68, 68, 0.08);
    --info: #06b6d4; /* Cyan */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Elevated Modern Clean Panels */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    background: var(--bg-card);
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Auth Portal */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: #f8fafc;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.brand-header {
    margin-bottom: 30px;
}

.brand-logo {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: inline-block;
}

.brand-name {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0f172a 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

.error-banner {
    background: var(--danger-glow);
    border: 1px solid var(--danger);
    color: #b91c1c;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: left;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation (Sleek Slate Dark design for visual contrast) */
.sidebar {
    width: 260px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    background: #0f172a; /* Sleek Slate Dark Sidebar */
    color: #f8fafc;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.sidebar-logo span {
    font-weight: 800;
    font-size: 1.4rem;
    color: #3b82f6;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    overflow-y: auto;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.nav-item a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item.active a {
    color: #ffffff;
    background: var(--primary);
    font-weight: 600;
}

.sidebar-user {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.user-info {
    flex-grow: 1;
    overflow: hidden;
}

.user-info .name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
}

.user-info .role {
    font-size: 0.75rem;
    color: #94a3b8;
}

.logout-btn {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.logout-btn:hover {
    color: #f87171;
}

/* Main Content Area */
.main-content {
    margin-left: 260px;
    flex-grow: 1;
    padding: 40px;
    max-width: calc(100vw - 260px);
    background: #f8fafc; /* very light slate background */
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.page-title p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Metric Cards Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-card.total .metric-icon { background: var(--primary-glow); color: var(--primary); }
.metric-card.hot .metric-icon { background: var(--warning-glow); color: var(--warning); }
.metric-card.admitted .metric-icon { background: var(--success-glow); color: var(--success); }
.metric-card.revenue .metric-icon { background: rgba(6, 182, 212, 0.08); color: var(--info); }

.metric-data .value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-top: 4px;
}

.metric-data .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Charts and Panels Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.panel-card {
    padding: 24px;
    background: #ffffff;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
}

/* Leaderboard Styles */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.015);
    border: 1px solid var(--border-color);
}

.leaderboard-rank {
    font-weight: 800;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.rank-1 { color: #f59e0b; }
.rank-2 { color: #64748b; }
.rank-3 { color: #b45309; }

.leaderboard-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.leaderboard-info {
    flex-grow: 1;
}

.leaderboard-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.leaderboard-stats {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.leaderboard-revenue {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--success);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-top: 15px;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.crm-table th {
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    background: #f8fafc;
}

.crm-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-primary);
}

.crm-table tbody tr {
    transition: background-color 0.15s ease;
}

.crm-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.stage-new { background: rgba(6, 182, 212, 0.08); color: var(--info); border: 1px solid rgba(6, 182, 212, 0.2); }
.badge.stage-warm { background: var(--primary-glow); color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.2); }
.badge.stage-hot { background: var(--warning-glow); color: var(--warning); border: 1px solid rgba(217, 119, 6, 0.2); }
.badge.stage-no-contact { background: rgba(245, 158, 11, 0.08); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge.stage-invalid-enquiry { background: rgba(100, 116, 139, 0.08); color: #64748b; border: 1px solid rgba(100, 116, 139, 0.2); }
.badge.stage-dead { background: var(--danger-glow); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.badge.stage-paid { background: var(--success-glow); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.badge.stage-touched { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.2); }
.badge.stage-registered { background: rgba(59, 130, 246, 0.08); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.badge.stage-provisional { background: rgba(245, 158, 11, 0.08); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge.stage-admission { background: var(--success-glow); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }


/* Quick Add Lead Sidebar Drawer (Premium light-mode glass layout) */
.drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.06);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.drawer-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f172a;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-close:hover {
    color: black;
}

/* Filters and Search Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.search-wrapper {
    flex-grow: 1;
    min-width: 250px;
    position: relative;
}

.search-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-primary);
}

.search-input:focus {
    border-color: var(--primary);
    outline: none;
}

.filter-select {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
}

.filter-select option {
    background: #ffffff;
    color: var(--text-primary);
}

/* Lead Detail Grid */
.lead-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .lead-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    padding: 30px;
    text-align: center;
    background: #ffffff;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid var(--primary);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.profile-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.profile-details-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-detail-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.profile-detail-item .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.profile-detail-item .val {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 4px;
}

/* History Logs Tabs */
.tab-headers {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: black;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* History Feed */
.history-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-item {
    display: flex;
    gap: 15px;
    background: rgba(15, 23, 42, 0.015);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
}

.history-icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-content {
    flex-grow: 1;
}

.history-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.history-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.history-notes {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Floating Action Button */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Utilities */
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.mt-4 { margin-top: 20px; }
.mb-4 { margin-bottom: 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-gap { display: flex; gap: 10px; align-items: center; }

/* Grid Layout for Forms */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Custom Styled Checkboxes for Leads */
.lead-checkbox-styled {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(15, 23, 42, 0.25);
    border-radius: 5px;
    background-color: transparent;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 2px;
}

.lead-checkbox-styled:checked {
    border-color: var(--primary);
    background-color: var(--primary);
}

.lead-checkbox-styled:checked::before {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(1px, -1px);
}

.lead-checkbox-styled:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.lead-checkbox-styled:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Bulk Assign Panel Animation */
#bulkAssignPanel {
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team Management Table Custom Compact Styles */
.team-table {
    font-size: 0.82rem;
}

.team-table th {
    padding: 12px 14px;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.03) !important;
}

.team-table td {
    padding: 12px 14px;
}

.team-table code {
    font-size: 0.75rem;
}

.team-table .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
}

.team-table .btn-sm {
    font-size: 0.75rem;
    padding: 4px 10px;
}

/* Sidebar Nav Group & Collapsible Submenus */
.nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-group-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nav-group-trigger:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-group.open .nav-group-trigger {
    color: #ffffff;
}

.nav-group-trigger .arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.nav-group.open .nav-group-trigger .arrow {
    transform: rotate(180deg);
}

.nav-sub-links {
    list-style: none;
    display: none; /* hidden by default */
    flex-direction: column;
    gap: 4px;
    padding-left: 24px;
    margin-top: 2px;
}

.nav-group.open .nav-sub-links {
    display: flex; /* show when open */
}

.nav-sub-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.nav-sub-links li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.nav-sub-links li.active a {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.15);
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

/* Reports Layout Styles */
.reports-layout {
    display: flex;
    gap: 20px;
    height: calc(100vh - 160px);
    overflow: hidden;
    margin-top: 15px;
}

.reports-sidebar-col {
    width: 220px;
    background: #ffffff;
    border: 1px solid #dddbda;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.reports-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #706e6b;
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid #dddbda;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.reports-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    padding: 0 8px;
}

.reports-nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.reports-nav-item a:hover {
    background: #f3f2f1;
    color: var(--primary);
}

.reports-nav-item.active a {
    background: var(--primary-glow);
    color: var(--primary);
    font-weight: 600;
}

.reports-nav-item .count-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
}

.reports-nav-item.active .count-badge {
    background: var(--primary);
    color: #ffffff;
}

.reports-content-col {
    flex-grow: 1;
    background: #ffffff;
    border: 1px solid #dddbda;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
}

.report-header {
    border-bottom: 1px solid #dddbda;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #080707;
}

.report-title p {
    font-size: 0.85rem;
    color: #514f4d;
    margin-top: 4px;
}

/* Printing styles */
@media print {
    body { background: #ffffff !important; }
    .sidebar, .page-header, .reports-sidebar-col, .btn, .btn-sm { display: none !important; }
    .main-content { margin-left: 0 !important; padding: 0 !important; max-width: 100% !important; }
    .reports-content-col { border: none !important; box-shadow: none !important; padding: 0 !important; }
}



