/* 
 * E-GABAY ASC - Academic Support and Counseling System
 * Enhanced Modern Stylesheet for Bootstrap 5.3.3
 */

/* === CSS VARIABLES === */
:root {
    --primary-color: #4e73df;
    --primary-light: #5a82e8;
    --primary-dark: #2653d3;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --gray-100: #f8f9fc;
    --gray-200: #eaecf4;
    --gray-300: #dddfeb;
    --gray-400: #d1d3e2;
    --gray-500: #b7b9cc;
    --gray-600: #858796;
    --gray-700: #6e707e;
    --gray-800: #5a5c69;
    --gray-900: #3a3b45;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --transition: all 0.1s ease;
    --sidebar-width: 250px;
    --navbar-height: 60px;
    
    /* Heavenly background gradient - Applied system-wide */
    --bg-heavenly: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #fff3e0 100%);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Shorter default transitions */
:root {
    --transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL STYLES === */
body {
    background: var(--bg-heavenly) !important;
    background-attachment: fixed;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--dark-color);
    min-height: 100vh;
}

/* Enhanced Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.1s ease, transform 0.1s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-header h1, .card-header h2, .card-header h3, 
.card-header h4, .card-header h5, .card-header h6 {
    color: white;
    margin-bottom: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: #f8f9fc;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

/* Dashboard Cards */
.dashboard-card {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dashboard-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.dashboard-stat-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    box-shadow: var(--shadow-sm);
    /* Removed transform for better performance */
}

.btn:active {
    /* Removed transform for better performance */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #28a745 100%);
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #17a2b8 100%);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffc107 100%);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc3545 100%);
}

.btn-icon-split {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.btn-icon-split .icon {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.75rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
}

.btn-lg {
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1.125rem;
}

/* Enhanced Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: border-color 0.1s ease, box-shadow 0.1s ease;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.15);
    outline: none;
    /* Removed transform for better performance */
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(44, 90, 160, 0.15);
}

.input-group-text {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--text-muted);
    font-weight: 500;
}

/* Enhanced Tables */
.table {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
}

.table th {
    background: linear-gradient(135deg, #f8f9fc 0%, #f1f3f6 100%);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-color);
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fc;
    transform: scale(1.001);
    transition: var(--transition);
}

.table-responsive {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Enhanced Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-primary {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(74, 123, 200, 0.1) 100%);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
}

.alert-success {
    background: linear-gradient(135deg, rgba(0, 166, 90, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(221, 75, 57, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%);
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

/* Enhanced Badges */
.badge {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #28a745 100%) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffc107 100%) !important;
}

.bg-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc3545 100%) !important;
}

.bg-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #17a2b8 100%) !important;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Enhanced List Groups */
.list-group {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: #f8f9fc;
    transform: translateX(5px);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Quick Actions Section */
.quick-actions {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.quick-actions h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Progress Bars */
.progress {
    height: 0.75rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: var(--transition);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .container-fluid {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    body {
        font-size: 12pt;
        background: white !important;
    }
    
    .table {
        border-collapse: collapse;
    }
    
    .table th, .table td {
        border: 1px solid #dee2e6;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Notification System Styles */
.notification-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    display: block !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 50% !important;
    font-size: 0.7rem !important;
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc3545 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-menu {
    width: 380px !important;
    max-height: 500px !important;
    overflow-y: auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
}

.notification-list {
    max-height: 350px !important;
    overflow-y: auto !important;
}

.notification-item {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
}

.notification-item:hover {
    background-color: #f8f9fc !important;
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(74, 123, 200, 0.05) 100%) !important;
    border-left: 3px solid var(--primary-color) !important;
}

.notification-header {
    padding: 1rem 1.25rem !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    color: white !important;
    border-bottom: 1px solid var(--border-color) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.notification-footer {
    padding: 1rem 1.25rem !important;
    text-align: center !important;
    background-color: #f8f9fc !important;
    border-top: 1px solid var(--border-color) !important;
}

.notification-time {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.25rem !important;
}

.notification-icon {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    font-size: 1rem !important;
}

.notification-icon.info {
    background: linear-gradient(135deg, rgba(0, 192, 239, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%) !important;
    color: var(--info-color) !important;
}

.notification-icon.success {
    background: linear-gradient(135deg, rgba(0, 166, 90, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%) !important;
    color: var(--success-color) !important;
}

.notification-icon.warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%) !important;
    color: var(--warning-color) !important;
}

.notification-icon.danger {
    background: linear-gradient(135deg, rgba(221, 75, 57, 0.1) 0%, rgba(220, 53, 69, 0.1) 100%) !important;
    color: var(--danger-color) !important;
}

/* Notification Page Styles */
.notification-page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    font-weight: 600;
}

.notification-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    overflow: hidden;
}

.notification-table th {
    background: linear-gradient(135deg, #f8f9fc 0%, #f1f3f6 100%);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 1.25rem;
}

.notification-table td, .notification-table th {
    border-bottom: 1px solid var(--border-color);
}

.notification-table tr:last-child td {
    border-bottom: none;
}

.notification-table tr.unread {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(74, 123, 200, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
}

.notification-table tr:hover {
    background-color: #f8f9fc;
}

.notification-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.notification-empty i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.notification-empty h4 {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.notification-empty p {
    color: var(--text-muted);
    opacity: 0.8;
}

/* Utility Classes */
.btn-outline-danger i,
.btn-outline-primary i {
    pointer-events: none;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-left-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 4px solid var(--success-color) !important;
}

.border-left-warning {
    border-left: 4px solid var(--warning-color) !important;
}

.border-left-info {
    border-left: 4px solid var(--info-color) !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.1s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Dark Mode Support */
body.dark-mode {
    --body-bg: #1a1d29;
    --card-bg: #242938;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #334155;
    background-color: var(--body-bg) !important;
    color: var(--text-color) !important;
}

body.dark-mode .card,
body.dark-mode .bg-white,
body.dark-mode .bg-light,
body.dark-mode .navbar,
body.dark-mode .modal-content,
body.dark-mode .sidebar,
body.dark-mode .dropdown-menu,
body.dark-mode footer,
body.dark-mode .footer {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .table th,
body.dark-mode .table td {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Keep text visible inside quick actions buttons */
    .quick-actions .btn-icon-split .text {
        display: inline-block !important;
        margin-left: 0.5rem;
    }
    /* Retain original hide for other icon-split buttons if needed */
    .btn-icon-split:not(.w-100) .text {
        display: none;
    }
    
    .notification-menu {
        width: 320px !important;
    }
    
    .table-responsive {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .card-body {
        padding: 0.5rem;
    }
    
    .content {
        padding: 0.75rem 0.5rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
} 

/* Dropdown handled in header.php CSS with .dropdown-open class */ 

/* === AUTH PAGES UNIFIED HEADING === */
.login-logo h1,
.login-logo h2,
.login-logo h3 {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Slightly soften gradient background on auth pages for eye comfort */
body.auth-bg {
    background: linear-gradient(135deg, #6e7eea 0%, #6e5aa2 100%);
}

/* === QUICK ACTIONS BUTTONS READABILITY === */
.quick-actions .btn-icon-split .icon,
.quick-actions .btn-icon-split .text {
    color: #ffffff !important; /* full white for contrast */
}

/* Ensure warning/info backgrounds still have visible text */
.quick-actions .btn-warning .text,
.quick-actions .btn-warning .icon {
    color: #1f2933 !important; /* dark text on yellow */
    font-weight: 600;
}

.quick-actions .btn-info .text,
.quick-actions .btn-info .icon {
    color: #ffffff !important;
    font-weight: 600;
}

/* Increase hover brightness */
.quick-actions .btn:hover {
    filter: brightness(1.05);
} 

/* Notification list anchors clickable */
.notification-list .list-group-item {
    cursor: pointer;
    transition: background-color 0.1s ease;
    text-decoration: none;
}

.notification-list .list-group-item:hover {
    background-color: #f8f9fa;
    /* Removed transform for better performance */
    text-decoration: none;
}

.notification-list .list-group-item:active {
    background-color: #e9ecef;
}

/* Global mobile typography */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* Chat bubble images thumbnail */
.message-bubble img {
    max-width: 120px;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
} 

/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    /* Better touch targets for notifications on mobile */
    .notification-list .list-group-item {
        padding: 1rem 0.75rem;
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    
    .notification-list .list-group-item i {
        font-size: 1.1rem;
        margin-right: 0.75rem;
    }
    
    /* Smaller buttons on mobile */
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Card padding adjustment */
    .card-body {
        padding: 0.75rem;
    }
    
    .card-header {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Modal adjustments */
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    /* Table responsive */
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
    
    /* Form elements */
    .form-control,
    .form-select {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Navigation improvements */
    .nav-link {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Content spacing */
    .content {
        padding: 1rem 0.75rem;
    }
    
    /* Page titles */
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Alert messages */
    .alert {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .card-body {
        padding: 0.5rem;
    }
    
    .content {
        padding: 0.75rem 0.5rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
} 

/* === CONTENT LAYOUT === */
.content {
    margin-left: var(--sidebar-width);
    margin-top: var(--navbar-height);
    padding: 2rem;
    min-height: calc(100vh - var(--navbar-height));
    background: transparent;
}

.content.sidebar-collapsed {
    margin-left: 80px;
} 