:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border: #d1d5db;
    --primary: #1e3a8a;
    --primary-dark: #1e293b;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --accent: #7c3aed;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --sidebar-width: 280px;
    --sidebar-bg: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    --content-gradient: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    --card-header-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --stat-card-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --alert-info-bg: #eff6ff;
    --alert-info-color: #1e40af;
    --alert-info-border: #bfdbfe;
    --alert-success-bg: #f0fdf4;
    --alert-success-color: #15803d;
    --alert-success-border: #bbf7d0;
    --alert-danger-bg: #fef2f2;
    --alert-danger-color: #991b1b;
    --alert-danger-border: #fecaca;
    --alert-warning-bg: #fffbeb;
    --alert-warning-color: #92400e;
    --alert-warning-border: #fde68a;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #0f0f0f;
    --bg-card: #262626;
    --text-primary: #f5f5f5;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --border: #404040;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --accent: #a78bfa;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --sidebar-bg: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --content-gradient: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    --card-header-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --stat-card-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --alert-info-bg: #1e3a5f;
    --alert-info-color: #93c5fd;
    --alert-info-border: #1e40af;
    --alert-success-bg: #0f2e1a;
    --alert-success-color: #86efac;
    --alert-success-border: #15803d;
    --alert-danger-bg: #3f1515;
    --alert-danger-color: #fca5a5;
    --alert-danger-border: #991b1b;
    --alert-warning-bg: #3f2a0f;
    --alert-warning-color: #fde047;
    --alert-warning-border: #92400e;
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.25rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.theme-toggle:active {
    transform: scale(0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
    font-size: 18px;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.sidebar-header {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header i {
    font-size: 1.25rem;
    color: #60a5fa;
}

.sidebar-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.sidebar-user {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar i {
    font-size: 1.5rem;
    color: #60a5fa;
}

.user-info h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 0.1rem 0;
    color: white;
}

.user-role {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 6px;
    color: #60a5fa;
    font-weight: 600;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.sidebar-nav > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-section {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.75rem;
}

.nav-section-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-section-toggle i:first-child {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.nav-section-toggle .chevron {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.nav-section-toggle[aria-expanded="false"] .chevron {
    transform: rotate(-90deg);
}

.nav-section-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-section-items li {
    margin: 0;
}

.nav-section-items a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.7rem;
}

.nav-section-items a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.nav-section-items a.active {
    background: rgba(96, 165, 250, 0.2);
    color: white;
    border-left: 3px solid #60a5fa;
}

.nav-section-items a i {
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
    opacity: 0.8;
}

.nav-single-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.75rem;
}

.nav-single-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.nav-single-link.active {
    background: rgba(96, 165, 250, 0.2);
    color: white;
    border-left: 3px solid #60a5fa;
}

.nav-single-link i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.sidebar-footer {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    color: #fca5a5;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.8rem;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

.logout-btn i {
    font-size: 0.95rem;
}

.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: var(--bg-secondary);
}

.content-area {
    padding: 2rem;
    width: 100%;
    background: var(--content-gradient);
    min-height: 100vh;
}

.auth-wrapper {
    min-height: 100vh;
}

.auth-wrapper .navbar {
    background: white !important;
    padding: 1.5rem 0;
}

.auth-wrapper .navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary) !important;
}

.main-content {
    padding: 3rem 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(209, 213, 219, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-header {
    background: var(--card-header-gradient) !important;
    color: white;
    border: none !important;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 1.15rem;
}

.card-body {
    padding: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    color: #1e293b;
}

.text-white {
    color: white !important;
}

.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn {
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    transition: all 0.2s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.15rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.form-control, .form-select {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-primary);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.table {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.table thead th {
    background: var(--bg-secondary);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 1.5rem 1.75rem;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
}

.table tbody tr {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

.table td, .table th {
    padding: 1.5rem 1.75rem;
    vertical-align: middle;
}

.badge {
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.badge.bg-primary {
    background: var(--primary) !important;
}

.badge.bg-success {
    background: var(--success) !important;
}

.badge.bg-danger {
    background: var(--danger) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: white;
}

.badge.bg-secondary {
    background: #6b7280 !important;
}

.alert {
    border: 1px solid;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

.alert-info {
    background: var(--alert-info-bg);
    color: var(--alert-info-color);
    border-color: var(--alert-info-border);
}

.alert-success {
    background: var(--alert-success-bg);
    color: var(--alert-success-color);
    border-color: var(--alert-success-border);
}

.alert-danger {
    background: var(--alert-danger-bg);
    color: var(--alert-danger-color);
    border-color: var(--alert-danger-border);
}

.alert-warning {
    background: var(--alert-warning-bg);
    color: var(--alert-warning-color);
    border-color: var(--alert-warning-border);
}

.display-4 {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1.1;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.5rem !important;
}

code {
    background: var(--bg-secondary);
    color: var(--primary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95em;
    border: 1px solid var(--border);
}

.discord-tag {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.stat-card {
    background: var(--stat-card-gradient);
    border-radius: 10px;
    padding: 1rem 0.5rem;
    text-align: center;
    border: 2px solid rgba(30, 58, 138, 0.3);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.stat-card h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card p {
    color: #f0f9ff;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
}

.hero-section {
    padding: 1.5rem 0 1rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    color: var(--primary);
}

.feature-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
    border-color: var(--primary);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.75rem !important;
}

.text-white {
    color: white !important;
}

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

.form-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

hr {
    border-color: var(--border);
    opacity: 1;
}

.attendance-btn {
    margin: 0.25rem;
    font-size: 0.95rem;
}

.table-responsive {
    border-radius: 12px;
    overflow-x: auto;
}

.nav-tabs {
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.nav-tabs::-webkit-scrollbar {
    height: 4px;
}

.nav-tabs::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.nav-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

.tab-content {
    width: 100%;
    overflow: visible;
}

.tab-pane {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.85rem; }
h5 { font-size: 1.5rem; }

p {
    font-size: 1.25rem;
    line-height: 1.7;
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--primary);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2001;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.show {
    display: block;
    opacity: 1;
}

/* Tablet and Below (992px) */
@media (max-width: 992px) {
    body {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    .content-area {
        padding: 1.5rem 1rem;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: 1rem;
        right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.25rem; }
    
    p {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .alert {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .table {
        font-size: 0.95rem;
    }
    
    .table td, .table th {
        padding: 1rem 0.75rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Phones (768px and below) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .content-area {
        padding: 1rem 0.75rem;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
        top: 0.75rem;
        left: 0.75rem;
        font-size: 1.35rem;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    
    p, .lead {
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-card i {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .alert {
        padding: 1.25rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .btn-lg {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
    }
    
    .form-control, .form-select {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.95rem;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .table thead th {
        font-size: 0.75rem;
        padding: 1rem 0.75rem;
    }
    
    .table td, .table th {
        padding: 0.85rem 0.65rem;
    }
    
    .badge {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .stat-card {
        padding: 1rem 0.75rem;
    }
    
    .stat-card h3 {
        font-size: 1.75rem;
    }
    
    .stat-card p {
        font-size: 0.75rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 1.25rem;
    }
    
    code {
        padding: 0.3rem 0.5rem;
        font-size: 0.85em;
    }
    
    .discord-tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile Phones (576px and below) */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .content-area {
        padding: 0.75rem 0.5rem;
    }
    
    .sidebar {
        width: 260px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.35rem; }
    h4 { font-size: 1.15rem; }
    h5 { font-size: 1rem; }
    
    .card-header {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 0.85rem;
    }
    
    .alert {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    .form-control, .form-select {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        margin: 0 -0.5rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
}
