/* static/css/style-light.css - Light Theme */

/* Apply Inter font globally and set base background/text colors for light theme */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc !important; /* slate-50 */
    color: #334155 !important; /* slate-700 */
}

/* Override any hardcoded body background from inline styles */
body.bg-slate-50 {
    background-color: #f8fafc !important; /* slate-50 */
}

body.text-gray-800 {
    color: #1f2937 !important; /* gray-800 */
}

/* Custom button style (mirrors .btn-primary setup) */
.btn-primary {
    /* Light theme button styling handled by Tailwind classes in HTML */
}

/* Input field base styling for light theme */
.form-input, .form-select, .form-textarea {
    /* Light theme form styling handled by Tailwind classes in HTML */
}

/* Fix for select elements - light theme version */
select.form-select {
    width: 100%;
    padding: 0.5rem 1rem; 
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    background-color: #ffffff; /* white */
    border: 1px solid #d1d5db; /* gray-300 */
    color: #374151; /* gray-700 */
    border-radius: 0.375rem; /* rounded-md */
}

/* Fieldset styling for light theme */
.fieldset-group {
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 1.5rem; /* p-6 */
    margin-bottom: 1.5rem; /* mb-6 */
}
.fieldset-legend {
    padding-left: 0.5rem; /* px-2 */
    padding-right: 0.5rem; /* px-2 */
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #3b82f6; /* blue-500 */
}

/* Flash messages - light theme */
.flash-messages {
    margin-bottom: 1rem;
}

.flash-message {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.flash-success {
    background-color: rgba(16, 185, 129, 0.1); /* emerald-500 with light opacity */
    border: 1px solid #10b981; /* emerald-500 */
    color: #065f46; /* emerald-800 */
}

.flash-error {
    background-color: rgba(239, 68, 68, 0.1); /* red-500 with light opacity */
    border: 1px solid #ef4444; /* red-500 */
    color: #991b1b; /* red-800 */
}

.flash-info {
    background-color: rgba(59, 130, 246, 0.1); /* blue-500 with light opacity */
    border: 1px solid #3b82f6; /* blue-500 */
    color: #1e40af; /* blue-800 */
}

/* Dashboard cards and layouts - light theme */
.dashboard-card {
    background-color: #ffffff; /* white */
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.dashboard-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0; /* slate-200 */
    font-weight: 600;
    background-color: #f8fafc; /* slate-50 */
}

.dashboard-card-body {
    padding: 1.5rem;
}

/* Profile page styles - light theme */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid #3b82f6; /* blue-500 */
}

.profile-info-section {
    background-color: #ffffff; /* white */
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-section-title {
    color: #3b82f6; /* blue-500 */
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0; /* slate-200 */
}

/* Dashboard Welcome Header Styling - Light Theme */
.welcome-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.welcome-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Light Theme Navigation Card Styling */
.nav-item-card {
    background-color: #f1f5f9; /* slate-100 */
    border-color: #cbd5e1; /* slate-300 */
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item-card:hover {
    background-color: #e2e8f0; /* slate-200 */
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(59, 130, 246, 0.5) !important;
}

.nav-item-card .nav-icon {
    transition: transform 0.3s ease;
}

.nav-item-card:hover .nav-icon {
    transform: scale(1.1);
}

/* Dashboard Card Enhancements - Light Theme */
.dashboard-card-dark {
    background-color: #ffffff; /* white */
    border: 1px solid #e2e8f0; /* slate-200 */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Custom Alert Styling - Light Theme */
.alert-dark {
    background-color: #f1f5f9; /* slate-100 */
    border-color: #3b82f6; /* blue-500 */
    color: #475569; /* slate-600 */
}

/* Avatar Circle - Light Theme */
.avatar-circle {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Stats Cards Animation - Light Theme */
.stats-card-dark {
    background-color: #ffffff; /* white */
    border: 1px solid #e2e8f0; /* slate-200 */
    transition: all 0.3s ease;
}

.stats-card-dark:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Progress Bar Styling - Light Theme */
.progress-dark {
    background-color: #f1f5f9; /* slate-100 */
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-dark {
    transition: width 0.6s ease;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

/* Button Enhancements - Light Theme */
.btn-dark-theme {
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 0.5rem;
    background-color: #ffffff; /* white */
    border-color: #3b82f6; /* blue-500 */
    color: #3b82f6; /* blue-500 */
}

.btn-dark-theme:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
    background-color: #3b82f6; /* blue-500 */
    color: #ffffff; /* white */
}

/* Light theme color overrides for consistency */
.text-primary-dark { color: #3b82f6 !important; } /* blue-500 */
.text-secondary-dark { color: #64748b !important; } /* slate-500 */
.text-success-dark { color: #059669 !important; } /* emerald-600 */
.text-warning-dark { color: #d97706 !important; } /* amber-600 */
.text-danger-dark { color: #dc2626 !important; } /* red-600 */
.text-info-dark { color: #2563eb !important; } /* blue-600 */

.bg-primary-dark { background-color: #3b82f6 !important; } /* blue-500 */
.bg-secondary-dark { background-color: #f1f5f9 !important; } /* slate-100 */
.bg-success-dark { background-color: #059669 !important; } /* emerald-600 */
.bg-warning-dark { background-color: #d97706 !important; } /* amber-600 */
.bg-danger-dark { background-color: #dc2626 !important; } /* red-600 */
.bg-info-dark { background-color: #2563eb !important; } /* blue-600 */

.border-primary-dark { border-color: #3b82f6 !important; } /* blue-500 */
.border-secondary-dark { border-color: #e2e8f0 !important; } /* slate-200 */

/* Ensure all cards have consistent light styling */
.card-dark {
    background-color: #ffffff !important; /* white */
    border: 1px solid #e2e8f0 !important; /* slate-200 */
    color: #374151 !important; /* gray-700 */
}

.card-header-dark {
    background-color: #3b82f6 !important; /* blue-500 */
    color: #ffffff !important; /* white */
    border-bottom: 1px solid #e2e8f0 !important; /* slate-200 */
}

/* Override hardcoded Tailwind classes for light theme */
.bg-slate-800 { background-color: #ffffff !important; } /* white */
.bg-slate-700 { background-color: #f8fafc !important; } /* slate-50 */
.bg-slate-600 { background-color: #f1f5f9 !important; } /* slate-100 */
.bg-slate-900 { background-color: #f8fafc !important; } /* slate-50 */

.border-slate-700 { border-color: #e2e8f0 !important; } /* slate-200 */
.border-slate-600 { border-color: #cbd5e1 !important; } /* slate-300 */
.border-slate-500 { border-color: #94a3b8 !important; } /* slate-400 */

.text-white { color: #1f2937 !important; } /* gray-800 */
.text-gray-200 { color: #374151 !important; } /* gray-700 */
.text-gray-300 { color: #4b5563 !important; } /* gray-600 */
.text-gray-400 { color: #6b7280 !important; } /* gray-500 */
.text-slate-200 { color: #374151 !important; } /* gray-700 */
.text-slate-300 { color: #4b5563 !important; } /* gray-600 */
.text-slate-400 { color: #6b7280 !important; } /* gray-500 */

/* Form element overrides */
.form-input { 
    background-color: #ffffff !important; /* white */
    border-color: #d1d5db !important; /* gray-300 */
    color: #374151 !important; /* gray-700 */
}

.form-select { 
    background-color: #ffffff !important; /* white */
    border-color: #d1d5db !important; /* gray-300 */
    color: #374151 !important; /* gray-700 */
}

.form-textarea { 
    background-color: #ffffff !important; /* white */
    border-color: #d1d5db !important; /* gray-300 */
    color: #374151 !important; /* gray-700 */
}

/* Button overrides */
.btn-secondary {
    background-color: transparent !important;
    border-color: #3b82f6 !important; /* blue-500 */
    color: #3b82f6 !important; /* blue-500 */
}

.btn-secondary:hover {
    background-color: #3b82f6 !important; /* blue-500 */
    color: #ffffff !important; /* white */
}

/* Hover state overrides */
.hover\\:bg-slate-600:hover { background-color: #e2e8f0 !important; } /* slate-200 */
.hover\\:bg-slate-700:hover { background-color: #f1f5f9 !important; } /* slate-100 */

/* Alert and message styling */
.alert-success { 
    background-color: #d1fae5 !important; /* green-100 */
    border-color: #10b981 !important; /* emerald-500 */
    color: #047857 !important; /* emerald-700 */
}

.alert-danger { 
    background-color: #fee2e2 !important; /* red-100 */
    border-color: #ef4444 !important; /* red-500 */
    color: #b91c1c !important; /* red-700 */
}

.alert-info { 
    background-color: #dbeafe !important; /* blue-100 */
    border-color: #3b82f6 !important; /* blue-500 */
    color: #1d4ed8 !important; /* blue-700 */
}

/* Navigation and header styling */
.navbar-dark {
    background-color: #ffffff !important; /* white */
    border-color: #e2e8f0 !important; /* slate-200 */
}

.navbar-brand {
    color: #3b82f6 !important; /* blue-500 */
}

.nav-link {
    color: #475569 !important; /* slate-600 */
}

.nav-link:hover {
    color: #3b82f6 !important; /* blue-500 */
}

/* Additional common class overrides */
.rounded-xl { border-radius: 0.75rem !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

/* Gradient overrides for light theme */
.bg-gradient-to-r {
    background: linear-gradient(to right, #3b82f6, #2563eb) !important; /* blue-500 to blue-600 */
}

.from-cyan-600 {
    --tw-gradient-from: #3b82f6 !important; /* blue-500 */
}

.to-blue-600 {
    --tw-gradient-to: #2563eb !important; /* blue-600 */
}

/* Icon color overrides */
.text-cyan-400 { color: #3b82f6 !important; } /* blue-500 for better contrast */
.text-cyan-500 { color: #3b82f6 !important; } /* blue-500 for better contrast */

/* Settings page specific overrides */
.settings-nav-item {
    color: #4b5563 !important; /* gray-600 */
}

.settings-nav-item:hover {
    background-color: #f1f5f9 !important; /* slate-100 */
    color: #3b82f6 !important; /* blue-500 */
    border-left-color: rgba(59, 130, 246, 0.3) !important;
}

.settings-nav-item.active {
    background-color: #f1f5f9 !important; /* slate-100 */
    color: #3b82f6 !important; /* blue-500 */
    border-left-color: #3b82f6 !important; /* blue-500 */
}

.settings-section {
    background-color: #ffffff !important; /* white */
    border: 1px solid #e2e8f0 !important; /* slate-200 */
    color: #374151 !important; /* gray-700 */
}

.settings-section-title {
    color: #3b82f6 !important; /* blue-500 */
    border-bottom-color: #e2e8f0 !important; /* slate-200 */
}

.settings-form-label {
    color: #374151 !important; /* gray-700 */
}

.settings-form-input {
    background-color: #ffffff !important; /* white */
    border-color: #d1d5db !important; /* gray-300 */
    color: #374151 !important; /* gray-700 */
}

.settings-form-input:focus {
    border-color: #3b82f6 !important; /* blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

.settings-btn-primary {
    background-color: #3b82f6 !important; /* blue-500 */
    color: #ffffff !important; /* white */
}

.settings-btn-primary:hover {
    background-color: #2563eb !important; /* blue-600 */
}

.theme-toggle-container {
    background-color: #f8fafc !important; /* slate-50 */
    border-color: #e2e8f0 !important; /* slate-200 */
}

.theme-toggle-slider {
    background-color: #d1d5db !important; /* gray-300 */
}

input:checked + .theme-toggle-slider {
    background-color: #3b82f6 !important; /* blue-500 */
}

/* Additional text color overrides for settings pages */
.text-slate-400 { color: #6b7280 !important; } /* gray-500 */
.text-slate-500 { color: #6b7280 !important; } /* gray-500 */
.text-slate-200 { color: #374151 !important; } /* gray-700 */

/* Border color overrides */
.border-slate-700 { border-color: #e2e8f0 !important; } /* slate-200 */
.border-t { border-top-color: #e2e8f0 !important; } /* slate-200 */

/* Additional background overrides */
.bg-slate-700 { background-color: #f8fafc !important; } /* slate-50 */
.border-slate-600 { border-color: #cbd5e1 !important; } /* slate-300 */

/* Opacity overrides for disabled elements */
.opacity-50 { opacity: 0.5 !important; }

/* Discover page specific overrides */
.discover-header {
    background-color: #ffffff !important; /* white */
    border-bottom: 1px solid #e2e8f0 !important; /* slate-200 */
}

.discover-content {
    background-color: #f8fafc !important; /* slate-50 */
}

.search-bar {
    background-color: #ffffff !important; /* white */
    border-color: #d1d5db !important; /* gray-300 */
    color: #374151 !important; /* gray-700 */
}

.search-bar:focus {
    border-color: #3b82f6 !important; /* blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3) !important;
}

.tutor-card {
    background-color: #ffffff !important; /* white */
    border: 1px solid #e2e8f0 !important; /* slate-200 */
    color: #374151 !important; /* gray-700 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.tutor-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.tutor-card h3 {
    color: #1f2937 !important; /* gray-800 */
}

.tutor-card p {
    color: #6b7280 !important; /* gray-500 */
}

.tag-text {
    background-color: rgba(59, 130, 246, 0.1) !important; /* blue-500 with opacity */
    color: #3b82f6 !important; /* blue-500 */
    border-color: rgba(59, 130, 246, 0.2) !important;
}

.tag-text:hover {
    background-color: rgba(59, 130, 246, 0.2) !important;
    color: #2563eb !important; /* blue-600 */
}

.filter-btn {
    background-color: #ffffff !important; /* white */
    color: #4b5563 !important; /* gray-600 */
    border-color: #d1d5db !important; /* gray-300 */
}

.filter-btn:hover, .filter-btn.active {
    background-color: #3b82f6 !important; /* blue-500 */
    color: #ffffff !important; /* white */
    border-color: #3b82f6 !important; /* blue-500 */
}

/* Empty state styling */
.text-gray-600 { color: #4b5563 !important; } /* gray-600 */
.text-gray-300 { color: #6b7280 !important; } /* gray-500 */

/* Navbar light theme overrides */
nav.bg-slate-900\/80 {
    background-color: rgba(255, 255, 255, 0.95) !important; /* white with transparency */
    backdrop-filter: blur(8px) !important;
    border-bottom: 1px solid #e2e8f0 !important; /* slate-200 */
}

/* Navbar text colors */
nav .text-white {
    color: #374151 !important; /* gray-700 */
}

nav .text-white:hover {
    color: #3b82f6 !important; /* blue-500 */
}

nav .hover\\:text-cyan-400:hover {
    color: #3b82f6 !important; /* blue-500 */
}

/* Dropdown menu */
.bg-slate-800 {
    background-color: #ffffff !important; /* white */
    border: 1px solid #e2e8f0 !important; /* slate-200 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.hover\\:bg-slate-700:hover {
    background-color: #f1f5f9 !important; /* slate-100 */
}

.hover\\:bg-slate-700:hover .hover\\:text-cyan-400:hover {
    color: #3b82f6 !important; /* blue-500 */
}

/* Dropdown separator */
.border-slate-600 {
    border-color: #e2e8f0 !important; /* slate-200 */
}

/* Mobile menu button */
.text-gray-300 {
    color: #6b7280 !important; /* gray-500 */
}

.text-gray-300:hover {
    color: #374151 !important; /* gray-700 */
}

/* Mobile menu */
#mobile-menu.bg-slate-800 {
    background-color: #ffffff !important; /* white */
    border-top: 1px solid #e2e8f0 !important; /* slate-200 */
}

#mobile-menu a.text-white {
    color: #374151 !important; /* gray-700 */
}

#mobile-menu a.hover\\:bg-slate-700:hover {
    background-color: #f1f5f9 !important; /* slate-100 */
}

#mobile-menu a.hover\\:text-cyan-400:hover {
    color: #3b82f6 !important; /* blue-500 */
}

/* Navbar buttons */
.bg-cyan-500 {
    background-color: #3b82f6 !important; /* blue-500 */
}

.bg-cyan-500:hover {
    background-color: #2563eb !important; /* blue-600 */
}

.border-cyan-400 {
    border-color: #3b82f6 !important; /* blue-500 */
}

.text-cyan-400 {
    color: #3b82f6 !important; /* blue-500 */
}

.hover\\:bg-cyan-400:hover {
    background-color: #3b82f6 !important; /* blue-500 */
}

/* Logout button in mobile menu */
.bg-red-600 {
    background-color: #dc2626 !important; /* red-600 */
}

.bg-cyan-600 {
    background-color: #3b82f6 !important; /* blue-500 */
}

/* Theme toggle in navbar (if present) */
#theme-toggle, #theme-toggle-mobile {
    color: #374151 !important; /* gray-700 */
}

#theme-toggle:hover, #theme-toggle-mobile:hover {
    color: #3b82f6 !important; /* blue-500 */
}

/* Additional navbar link styling */
nav a {
    color: #374151 !important; /* gray-700 */
}

nav a:hover {
    color: #3b82f6 !important; /* blue-500 */
}

/* Ensure dropdown items have proper spacing and styling */
.group:hover .absolute {
    background-color: #ffffff !important; /* white */
    border: 1px solid #e2e8f0 !important; /* slate-200 */
}

.group:hover .absolute a {
    color: #374151 !important; /* gray-700 */
}

.group:hover .absolute a:hover {
    background-color: #f1f5f9 !important; /* slate-100 */
    color: #3b82f6 !important; /* blue-500 */
}

/* Profile Page Specific Styling - Light Theme */
.profile-picture-container {
    position: relative;
    display: inline-block;
}

.profile-picture {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid #3b82f6;
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.camera-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #0891b2 0%, #3b82f6 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.camera-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Profile Info Cards - Light Theme */
.profile-info-card {
    background-color: #f8fafc; /* slate-50 */
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.profile-info-card:hover {
    background-color: #f1f5f9; /* slate-100 */
    transform: translateX(4px);
}

.profile-info-icon {
    color: #3b82f6; /* blue-500 */
    margin-right: 0.75rem;
    width: 1.25rem;
    flex-shrink: 0;
}

/* Subject Tags - Light Theme */
.subject-tag {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.subject-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Quick Stats Cards - Light Theme */
.quick-stat-card {
    background-color: #ffffff; /* white */
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0; /* slate-200 */
}

.quick-stat-card:hover {
    background-color: #f8fafc; /* slate-50 */
    border-color: #3b82f6; /* blue-500 */
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-stat-number {
    color: #3b82f6; /* blue-500 */
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.quick-stat-label {
    color: #64748b; /* slate-500 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Section Headers - Light Theme */
.profile-section-header {
    background: linear-gradient(135deg, #0891b2 0%, #3b82f6 100%);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
}

.profile-section-header i {
    margin-right: 0.75rem;
}

/* Bio Section - Light Theme */
.bio-content {
    background-color: #f8fafc; /* slate-50 */
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    padding: 1.5rem;
    line-height: 1.6;
    color: #475569; /* slate-600 */
}

/* Achievement Cards - Light Theme */
.achievement-card {
    background-color: #ffffff; /* white */
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0; /* slate-200 */
}

.achievement-card:hover {
    background-color: #f8fafc; /* slate-50 */
    border-color: #3b82f6; /* blue-500 */
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .profile-picture {
        width: 96px;
        height: 96px;
    }
    
    .camera-button {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .profile-picture {
        width: 80px;
        height: 80px;
    }
    
    .subject-tag {
        margin: 0.125rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .profile-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .welcome-header {
        padding: 1.5rem;
        text-align: center;
    }
    
    .nav-item-card {
        margin-bottom: 1rem;
    }
}

/* Loading states for profile pictures - Light Theme */
.profile-picture-loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Home header section - Light theme overrides */
header#home {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important; /* Clean light gradient */
    border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
}

/* Remove the dark gradient overlay */
header#home .bg-gradient-to-t {
    background: transparent !important; /* Remove dark gradient overlay */
}

/* Header text styling for light theme */
header#home h1 {
    color: #1f2937 !important; /* gray-800 for main heading */
}

header#home h1 .text-cyan-400 {
    color: #3b82f6 !important; /* blue-500 for accent text */
}

header#home p {
    color: #4b5563 !important; /* gray-600 for subtitle */
}

/* Enhanced CTA Buttons for Home Header */
header#home .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important; /* text-lg */
    padding: 0.875rem 2rem !important; /* py-3.5 px-8 */
    border-radius: 0.75rem !important; /* rounded-xl */
    border: none !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.025em !important;
    position: relative !important;
    overflow: hidden !important;
}

header#home .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

header#home .btn-primary:hover::before {
    left: 100%;
}

header#home .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4) !important;
}

header#home .btn-secondary {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #3b82f6 !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important; /* text-lg */
    padding: 0.875rem 2rem !important; /* py-3.5 px-8 */
    border-radius: 0.75rem !important; /* rounded-xl */
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15) !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.025em !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: hidden !important;
}

header#home .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

header#home .btn-secondary:hover::before {
    left: 100%;
}

header#home .btn-secondary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3) !important;
    border-color: #2563eb !important;
}

/* Button container spacing */
header#home .space-x-4 {
    gap: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    header#home .btn-primary,
    header#home .btn-secondary {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        margin: 0.5rem !important;
    }

    header#home .space-x-4 {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
}

/* ===== Tutor Search Page Styles ===== */

/* Header Section */
.tutorsearch-header {
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.tutorsearch-content {
    padding: 2rem 0;
    min-height: 100vh;
}

.main-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sidebar Filters */
.search-filters {
    flex: 0 0 320px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.filters-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

.filter-input, .filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    color: #374151;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.filter-input:focus, .filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.price-range-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    color: #374151;
    font-size: 0.875rem;
}

.price-separator {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.star-rating {
    display: flex;
    gap: 0.125rem;
}

.star {
    font-size: 1.5rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star.active, .star:hover {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.availability-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.time-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.time-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    color: #374151;
    font-size: 0.75rem;
}

.search-button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.search-button:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.clear-filters {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.5rem;
    text-align: center;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    transition: all 0.2s ease;
    cursor: pointer;
    display: block;
    margin-top: 0.5rem;
}

.clear-filters:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Results Area */
.results-container {
    flex: 1;
    min-width: 0;
}

.results-header {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.results-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.results-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

.tutor-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tutor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.tutor-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-right: 1.5rem;
    border: 3px solid #3b82f6;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.tutor-card:hover img {
    transform: scale(1.02);
}

.tutor-info {
    flex: 1;
}

.tutor-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.tutor-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.meta-icon {
    color: #3b82f6;
    font-size: 1rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
}

.rating-star {
    color: #fbbf24;
    font-size: 0.875rem;
}

.rating-star.empty {
    color: #d1d5db;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
    transition: all 0.2s ease;
}

.tag:hover {
    background-color: #dbeafe;
    color: #1e3a8a;
}

.tutor-bio {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.view-profile-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 1rem;
    white-space: nowrap;
}

.view-profile-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.no-results {
    background: white;
    border-radius: 1rem;
    text-align: center;
    padding: 4rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #9ca3af;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.no-results p {
    margin-bottom: 2rem;
    color: #6b7280;
}

/* Mobile Responsiveness for Tutor Search */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }

    .search-filters {
        flex: none;
        position: static;
        order: -1;
    }

    .filters-title {
        display: none;
    }

    .filter-group {
        margin-bottom: 1rem;
    }

    .search-filters {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tutorsearch-header {
        padding: 2rem 0;
    }

    .tutorsearch-header h1 {
        font-size: 2rem;
    }

    .main-container {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .tutor-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .tutor-card img {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 70px;
        height: 70px;
    }

    .view-profile-btn {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .tutor-meta {
        justify-content: center;
        gap: 1rem;
    }

    .price-range-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .availability-container {
        gap: 0.5rem;
    }

    .time-inputs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .search-filters {
        border-radius: 0.5rem;
        padding: 1rem;
    }

    .results-header {
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .tutor-card {
        border-radius: 0.5rem;
        padding: 1rem;
    }
}