/* Sanand Learning Hub - Custom Styles */
/* Developed by MRS Sneh Saini & Mr Prajvel Saini */
/* Mobile-First Responsive Design */

:root {
    --primary: #4f46e5;
    --primary-light: #e0e7ff;
    --primary-dark: #3730a3;
    --secondary: #64748b;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --border: #e2e8f0;
    --safe-area-bottom: env(safe-area-inset-bottom, 0);
}

/* Mobile-first base styles */
html {
    font-size: 16px;
}

@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
}

.hero-content {
    padding-right: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    border-radius: 15px;
    animation: float 3s ease-in-out infinite;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats h4 {
    color: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-lg {
    padding: 0.875rem 2rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

/* Feature Cards */
.feature-card {
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

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

/* Course Cards */
.course-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

/* Pricing Cards */
.pricing-card {
    border-radius: 20px;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
}

.pricing-icon {
    font-size: 2.5rem;
}

.price h2 {
    color: var(--dark);
}

/* Testimonial Cards */
.testimonial-card {
    border-radius: 16px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Footer */
.footer {
    background-color: #0f172a;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary) !important;
}

/* Background colors */
.bg-primary-light {
    background-color: var(--primary-light);
}

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

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Auth Pages */
.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
}

.auth-card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.auth-logo {
    font-size: 2rem;
    color: var(--primary);
}

/* Dashboard */
.dashboard-container {
    min-height: 100vh;
}

.sidebar {
    background: white;
    min-height: 100vh;
    width: 280px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.sidebar-logo {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-link {
    padding: 0.75rem 1.5rem !important;
    color: var(--secondary) !important;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
    border-left-color: var(--primary);
}

.sidebar-nav .nav-link i {
    width: 24px;
    margin-right: 0.75rem;
}

.main-content {
    margin-left: 280px;
    padding: 2rem;
}

.topbar {
    background: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
}

.stat-card {
    border-radius: 16px;
    padding: 1.5rem;
    border: none;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Charts container */
.chart-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Exam interface */
.exam-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
}

.timer-box {
    background: var(--danger);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: monospace;
}

.question-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.option-label {
    display: block;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.option-label:hover {
    border-color: var(--primary);
}

.option-input:checked + .option-label {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* Progress bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--border);
}

.progress-bar {
    border-radius: 4px;
}

/* Tables */
.table-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table thead th {
    font-weight: 600;
    color: var(--secondary);
    border-bottom: 2px solid var(--border);
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Forms */
.form-control {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

/* Alert */
.alert {
    border-radius: 12px;
    border: none;
}

/* Modal */
.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

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

/* Pagination */
.pagination .page-link {
    border: none;
    color: var(--secondary);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.pagination .active .page-link {
    background-color: var(--primary);
    color: white;
}

/* Profile */
.profile-header {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .feature-card,
    .course-card,
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    /* Mobile cards padding */
    .dashboard-card {
        padding: 1rem;
    }
    
    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Topbar mobile */
    .topbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    /* Table responsive */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .table td, .table th {
        padding: 0.5rem;
    }
    
    /* Form controls mobile */
    .form-control, .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Buttons mobile */
    .btn {
        padding: 0.625rem 1rem;
    }
    
    /* Content cards mobile */
    .content-card .card-body {
        padding: 1rem;
    }
    
    /* Modal mobile */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    /* Accordion mobile */
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Pagination mobile */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    /* Extra small devices */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Stack buttons */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: 0.375rem !important;
        margin: 0.25rem 0;
    }
    
    /* Mobile navbar adjustments */
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Cards full width on mobile */
    .course-card,
    .testimonial-card,
    .pricing-card {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 99999;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: white;
    font-size: 1.5rem;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

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

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Student sidebar mobile */
    .student-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 10000;
        pointer-events: none;
    }
    
    .student-sidebar.show {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    /* Hide sidebar header on mobile to prevent logo overlap */
    .student-sidebar .sidebar-header {
        display: none;
    }
    
    /* Overlay for sidebar */
    .sidebar-overlay {
        opacity: 0;
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 9999;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Add top padding for mobile menu button */
    .dashboard-container .main-content {
        padding-top: 5.5rem;
    }
    
    /* Topbar adjustments for mobile */
    .dashboard-container .topbar {
        margin-left: 3rem;
    }
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

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

.border-primary {
    border-color: var(--primary) !important;
}

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

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

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

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

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

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

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

.rounded-4 {
    border-radius: 16px !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Print styles */
@media print {
    .sidebar,
    .topbar,
    .btn {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: #64748b;
    font-size: 0.7rem;
    transition: all 0.2s;
    padding: 0.5rem 0;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.mobile-bottom-nav .nav-item.active {
    color: #4f46e5;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 12px;
    margin: 4px;
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.95);
}

/* Show bottom nav on mobile */
@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Hide desktop sidebar footer on mobile */
    .student-sidebar .sidebar-footer {
        display: none;
    }
    
    /* Make sidebar full screen on mobile */
    .student-sidebar {
        width: 280px;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Form improvements */
    .form-control, .form-select {
        min-height: 48px;
        font-size: 16px;
    }
    
    /* Card improvements */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Table improvements */
    .table-responsive {
        border-radius: 8px;
        border: 1px solid #e2e8f0;
    }
    
    /* Stats cards grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Topbar improvements */
    .topbar {
        padding: 0.75rem 1rem;
        margin-left: 3rem;
        min-height: 60px;
    }
    
    
    /* Main content padding */
    .main-content {
        padding: 1rem;
        padding-top: 5.5rem;
    }
    
    /* Typography improvements */
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }
    h5, .h5 { font-size: 1rem; }
    
    /* Badge improvements */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Alert improvements */
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Modal improvements */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    /* Dropdown improvements */
    .dropdown-menu {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* List group improvements */
    .list-group-item {
        padding: 1rem;
        min-height: 60px;
    }
    
    /* Accordion improvements */
    .accordion-button {
        padding: 1rem;
        min-height: 56px;
    }
    
    /* Pagination improvements */
    .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-bottom-nav .nav-item span {
        font-size: 0.65rem;
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 1.2rem;
    }
    
    /* Stack all buttons */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: 8px !important;
        margin: 0.25rem 0;
    }
    
    /* Full width cards */
    .course-card,
    .pricing-card {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Reduce padding */
    .dashboard-card {
        padding: 0.875rem;
    }
    
    /* Smaller sidebar */
    .student-sidebar {
        width: 260px;
    }
}

/* ============================================
   SOCIAL MEDIA ICONS IN SIDEBAR
   ============================================ */
.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-icon-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sidebar-social {
    background: rgba(255,255,255,0.05);
}

.sidebar-social .btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.sidebar-social .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

/* ============================================
   MOBILE EXAM INTERFACE - OPTIMIZED FOR TOUCH
   ============================================ */
@media (max-width: 767.98px) {
    .exam-container {
        padding: 0.75rem;
    }
    
    .question-card {
        padding: 1rem;
        min-height: auto;
    }
    
    .question-card h4 {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .option-item {
        padding: 1rem;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .option-item input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
        margin-right: 0.75rem;
    }
    
    .timer-box {
        padding: 0.75rem 1rem;
        font-size: 1.25rem;
    }
    
    .test-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        border-radius: 20px 20px 0 0;
        padding: 1rem;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 1000;
        transform: translateY(85%);
        transition: transform 0.3s ease;
    }
    
    .test-sidebar.expanded {
        transform: translateY(0);
    }
    
    .test-sidebar-toggle {
        display: block;
        text-align: center;
        padding: 0.5rem;
        cursor: pointer;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 0.5rem;
    }
    
    .test-sidebar-toggle i {
        transition: transform 0.3s ease;
    }
    
    .test-sidebar.expanded .test-sidebar-toggle i {
        transform: rotate(180deg);
    }
    
    .question-navigator {
        grid-template-columns: repeat(8, 1fr);
        gap: 6px;
    }
    
    .q-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    /* Submit button fixed at bottom */
    .exam-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
        display: flex;
        gap: 0.75rem;
    }
    
    .exam-actions .btn {
        flex: 1;
        min-height: 48px;
    }
    
    body.has-exam-actions {
        padding-bottom: 80px;
    }
    
    /* Navigation buttons for questions */
    .question-navigation {
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .question-navigation .btn {
        flex: 1;
        min-height: 44px;
    }
}

/* Extra small devices - phones */
@media (max-width: 575.98px) {
    .question-navigator {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .q-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .option-item {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .test-info h5 {
        font-size: 1rem;
    }
    
    .test-info p {
        font-size: 0.85rem;
    }
}

/* Hide sidebar toggle on desktop */
.test-sidebar-toggle {
    display: none;
}

@media (max-width: 767.98px) {
    .test-sidebar-toggle {
        display: block;
    }
}
