/* ============================================
   INDEX PAGE RESPONSIVE DESIGN
   Complete Mobile-First Responsive System
   ============================================ */

/* ============================================
   EXTRA LARGE SCREENS (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-text {
        font-size: 4rem;
    }

    .counter-grid-top {
        gap: 2rem;
    }
}

/* ============================================
   LARGE SCREENS (1200px - 1399px) - 4 columns for grids
   ============================================ */
@media (max-width: 1399px) {
    .hero-text {
        font-size: 3.5rem;
    }

    .counter-card-enhanced {
        height: 220px;
        padding: 1.5rem;
    }

    .counter-number {
        font-size: 2.25rem;
    }
}

/* ============================================
   DESKTOP SCREENS (1024px+) - Ensure 4 columns
   ============================================ */
@media (min-width: 1024px) {
    /* Counter grid: 4 columns on desktop screens (1 static + 3 flip) */
    .counter-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem;
    }
}

/* ============================================
   MEDIUM-LARGE SCREENS (1025px - 1199px) - Keep 4 columns
   ============================================ */
@media (max-width: 1200px) and (min-width: 1025px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text {
        font-size: 3rem;
    }

    /* Counter grid: 4 columns on large screens (1 static + 3 flip) */
    .counter-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    /* Features and Courses: 3 columns on medium-large screens */
    .features-grid,
    .courses-grid-enhanced {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }

    /* Video Carousel - 3 cards visible on medium-large screens */
    .video-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* ============================================
   TABLET SCREENS (768px - 1023px) - 2 columns for grids
   ============================================ */
@media (max-width: 1023px) {
    /* Navigation - Responsive mobile menu enabled */
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-btn,
    #mobileMenuBtn,
    button.mobile-menu-btn,
    button#mobileMenuBtn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Navbar adjustments for tablet */
    .navbar {
        padding: 0.75rem 0;
    }

    /* Container adjustments */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
    }

    .hero-text {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    /* Counter Cards - 3 columns on tablet */
    .counter-grid-wrapper {
        margin: 0 auto;
        padding: 0 1rem;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .counter-flip-card,
    .counter-static-card {
        height: 240px;
    }

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

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    /* CTA Buttons */
    .hero-buttons {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Features Section - 2 columns on tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Courses Section - 2 columns on tablet */
    .courses-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Video Carousel - 2 visible cards on tablet */
    .video-carousel-wrapper {
        padding: 0 40px;
    }

    .video-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .video-categories {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Courses Section - Keep base styles */
    .course-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* News Section */
    .news-container {
        flex-direction: column;
    }

    .quick-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 20px;
    }

    .mouse {
        width: 22px;
        height: 34px;
    }

    .arrows {
        transform: translateX(-50%) scale(0.8);
    }
}

/* ============================================
   MOBILE LANDSCAPE (576px - 767px) - 2 columns for grids
   ============================================ */
@media (max-width: 767px) and (min-width: 576px) {
    /* Features grid - 2 columns on mobile landscape */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Courses grid - 2 columns on mobile landscape */
    .courses-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Video Carousel - 2 cards visible on mobile landscape */
    .video-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

/* ============================================
   MOBILE SCREENS (< 768px)
   ============================================ */
@media (max-width: 767px) {
    /* Navigation - Mobile menu enabled */
    .navbar {
        padding: 0.625rem 0;
    }

    /* Mobile hamburger button sizing */
    .mobile-menu-btn,
    #mobileMenuBtn {
        width: 44px;
        height: 44px;
        padding: 0.5rem;
    }

    .mobile-hamburger span {
        height: 2.5px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-text {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-top: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    /* Counter Grid */
    .counter-grid-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .counter-grid-bottom {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .counter-card-enhanced {
        height: 180px;
        padding: 1.25rem;
        border-radius: 14px;
    }

    .counter-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .counter-number {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .counter-label {
        font-size: 0.8rem;
    }

    .coming-soon-text {
        font-size: 1rem !important;
    }

    /* Features Section */
    .features-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    /* News Section */
    .news-section {
        padding: 3rem 0;
    }

    .news-title-enhanced {
        font-size: 1.5rem;
    }

    .news-text-enhanced {
        font-size: 1rem;
    }

    .quick-news-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .quick-news-item {
        padding: 1rem;
    }

    /* Ad Section */
    .ad-container {
        margin: 1.5rem 1rem;
        border-radius: 12px;
    }

    .ad-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .ad-visual-content {
        display: none;
    }

    .ad-title {
        font-size: 1.25rem;
    }

    .ad-text {
        font-size: 0.9rem;
    }

    .ad-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Video Carousel */
    .video-showcase {
        padding: 3rem 0;
    }

    .video-carousel-wrapper {
        padding: 0 15px;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
    }

    .carousel-control.prev {
        left: 5px;
    }

    .carousel-control.next {
        right: 5px;
    }

    .video-categories {
        padding: 0 1rem;
        gap: 0.5rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .video-categories::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        flex-shrink: 0;
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Courses Section */
    .courses-section {
        padding: 3rem 0;
    }

    /* Courses filters */
    .course-filters {
        padding: 0 1rem;
        gap: 0.5rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .filter-chip {
        flex-shrink: 0;
    }

    .view-more-btn {
        margin: 1.5rem 1rem 0;
    }

    /* Testimonials - Single column on mobile */
    .testimonials-section {
        padding: 3rem 1rem;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Partners Section */
    .partners-section {
        padding: 3rem 0;
    }

    .become-partner-cta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Reviews Section - Single column on mobile */
    .reviews-section {
        padding: 3rem 0;
    }

    .professional-reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 15px;
        transform: translateX(-50%) scale(0.85);
    }

    .arrows {
        display: none;
    }
}

/* ============================================
   MOBILE PHONES (480px - 767px)
   ============================================ */
@media (max-width: 576px) {
    /* Hero Section */
    .hero-section {
        padding-top: 70px;
    }

    .hero-text {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .typing-cursor {
        font-size: 1.5rem;
    }

    /* Counter Grid - 1 column on mobile */
    .counter-grid-wrapper {
        margin: 0 auto;
        padding: 0 0.75rem;
    }

    .stats-section {
        padding: 2.5rem 0;
    }

    .counter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .counter-flip-card,
    .counter-static-card {
        height: 200px;
    }

    .counter-icon {
        font-size: 1.75rem;
        margin-bottom: 0.4rem;
    }

    .counter-number {
        font-size: 1.5rem;
    }

    .counter-label {
        font-size: 0.75rem;
    }

    .coming-soon-text {
        font-size: 0.875rem !important;
    }

    /* CTA Buttons */
    .cta-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .cta-button svg {
        width: 18px;
        height: 18px;
    }

    /* Sections */
    .features-section,
    .video-showcase,
    .courses-section,
    .testimonials-section,
    .partners-section,
    .news-section,
    .reviews-section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Feature Cards - Single column on small mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Courses - Single column on small mobile */
    .courses-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Video Carousel - 1 card visible on small mobile */
    .video-card {
        flex: 0 0 100%;
    }

    .video-carousel-wrapper {
        padding: 0 15px;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
    }

    .carousel-control.prev {
        left: 5px;
    }

    .carousel-control.next {
        right: 5px;
    }

    /* News */
    .news-main-card-enhanced {
        padding: 1.25rem;
    }

    .news-title-enhanced {
        font-size: 1.25rem;
    }

    .news-text-enhanced {
        font-size: 0.9rem;
    }

    .news-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    /* Ad Section */
    .ad-container {
        margin: 1rem 0.75rem;
    }

    .ad-content {
        padding: 1.25rem;
    }

    .ad-title {
        font-size: 1.1rem;
    }

    .ad-label {
        font-size: 0.7rem;
    }

    /* Back to Top Button */
    #back-to-top {
        width: 44px;
        height: 44px;
        right: 15px;
        bottom: 15px;
    }
}

/* ============================================
   EXTRA SMALL PHONES (< 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Navbar - Mobile responsive */
    .navbar {
        padding: 0.5rem 0.75rem;
    }

    /* Counter Grid - Single column on small phones */
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .counter-flip-card {
        height: 180px;
    }

    .counter-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .counter-number {
        font-size: 1.25rem;
    }

    .counter-label {
        font-size: 0.7rem;
    }

    .coming-soon-text {
        font-size: 0.75rem !important;
    }

    /* Hero */
    .hero-text {
        font-size: 1.35rem;
    }

    .hero-buttons {
        padding: 0 0.75rem;
    }

    /* Quick news */
    .quick-news-grid {
        grid-template-columns: 1fr;
    }

    .quick-news-item {
        padding: 0.875rem;
    }

    .quick-news-item p {
        font-size: 0.85rem;
    }

    /* Scroll indicator - hide on very small screens */
    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   VERY SMALL SCREENS (< 360px)
   ============================================ */
@media (max-width: 360px) {
    .hero-text {
        font-size: 1.2rem;
    }

    .counter-flip-card {
        height: 160px;
    }

    .counter-icon {
        font-size: 1.25rem;
    }

    .counter-number {
        font-size: 1.1rem;
    }

    .counter-label {
        font-size: 0.65rem;
    }

    .cta-button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }
}

/* ============================================
   LANDSCAPE MODE ON MOBILE
   ============================================ */
@media (max-height: 500px) and (max-width: 1023px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-text {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .counter-grid-wrapper {
        margin: 0 auto;
    }

    .stats-section {
        padding: 2rem 0;
    }

    .counter-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .counter-flip-card {
        height: 160px;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cta-button {
        width: auto;
        flex: 1;
        min-width: 140px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   FOOTER RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section-item {
        padding: 1.5rem 0;
    }

    .footer-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .footer-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        min-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

/* ============================================
   DARK THEME ADJUSTMENTS FOR INDEX PAGE
   ============================================ */
[data-theme="dark"] .profile-dropdown-toggle {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .profile-dropdown-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .mobile-profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

[data-theme="dark"] .counter-card-enhanced {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 213, 79, 0.15);
}

[data-theme="dark"] .coming-soon-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(40, 40, 40, 0.95) 100%);
    border-color: rgba(255, 213, 79, 0.3);
}

[data-theme="dark"] .quick-news-item {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .ad-container {
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.1), rgba(255, 193, 7, 0.05));
}

/* ============================================
   FOOTER LINK EXTERNAL INDICATOR
   ============================================ */
.footer-link[target="_blank"]::after {
    content: '\2197';
    margin-left: 4px;
    font-size: 0.8em;
    opacity: 0.7;
}

/* ============================================
   TOUCH-FRIENDLY ADJUSTMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-link {
        padding: 0.6rem 1rem;
    }

    .cta-button {
        min-height: 48px;
    }

    .category-btn,
    .filter-chip {
        min-height: 44px;
        padding: 0.6rem 1.25rem;
    }

    .social-btn {
        min-height: 48px;
    }

    .submit-btn {
        min-height: 52px;
    }

    /* Remove hover effects that don't work on touch */
    .feature-card:hover {
        transform: none;
    }

    .feature-card:active {
        transform: scale(0.98);
    }

    .counter-card-enhanced:hover::before {
        animation: none;
    }

    .nav-link:hover {
        transform: none;
    }

    .nav-link:active {
        background: rgba(var(--button-bg-rgb), 0.15);
    }

    /* Faster transitions for touch */
    * {
        transition-duration: 0.15s !important;
    }
}

/* ============================================
   SAFE AREA INSETS (for notched phones)
   ============================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer-section {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    #back-to-top {
        bottom: calc(15px + env(safe-area-inset-bottom));
    }

    .mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ============================================
   PRINT STYLES FOR INDEX
   ============================================ */
@media print {
    .hero-slideshow,
    .hero-particles,
    .scroll-indicator,
    .ad-container,
    #back-to-top,
    .mobile-menu,
    .hamburger {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .counter-card-enhanced {
        break-inside: avoid;
    }
}

/* ============================================
   REDUCED MOTION PREFERENCES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .hero-slideshow,
    .typing-cursor,
    .pulse-animation,
    .scroll-indicator,
    .counter-card-enhanced::before {
        animation: none !important;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ============================================
   MOBILE PROFILE SECTION (Enhanced styling from find-tutors.html)
   ============================================ */
.mobile-profile-section {
    margin-bottom: 0;
}

.mobile-profile-dropdown {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* Dropdown content hidden by default, shown when .open is added */
.mobile-profile-dropdown .mobile-profile-dropdown-content {
    display: none;
}

.mobile-profile-dropdown.open .mobile-profile-dropdown-content {
    display: block;
}

.mobile-profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(245, 158, 11, 0.08);
    border: none;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.mobile-profile-header:hover {
    background: rgba(245, 158, 11, 0.15);
}

.mobile-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--button-bg);
}

.mobile-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-profile-name {
    font-weight: 600;
    color: var(--heading);
    font-size: 0.95rem;
    line-height: 1.2;
}

.mobile-profile-role {
    font-size: 0.8rem;
    color: var(--button-bg);
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.2;
}

.mobile-profile-arrow {
    transition: transform 0.2s ease;
    color: var(--text-muted);
}

.mobile-profile-header.expanded .mobile-profile-arrow {
    transform: rotate(180deg);
}

.mobile-profile-dropdown-content {
    padding: 0.5rem;
    background: var(--hover-bg);
    border-radius: 0 0 0.5rem 0.5rem;
    margin-top: 0.25rem;
}

.mobile-dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.mobile-dropdown-user-info:hover {
    background: rgba(245, 158, 11, 0.1);
}

.mobile-dropdown-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-dropdown-info {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--heading);
}

.mobile-dropdown-email {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mobile-role-switcher-section {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.mobile-role-switcher-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.mobile-role-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-role-options .mobile-role-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-role-options .mobile-role-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--button-bg);
}

.mobile-role-options .mobile-role-btn.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--button-bg);
}

.mobile-role-options .mobile-role-btn .role-icon {
    font-size: 1rem;
}

.mobile-dropdown-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: #ef4444;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.2);
}

.mobile-dropdown-logout .mobile-menu-icon {
    width: 18px;
    height: 18px;
}

/* Dark theme adjustments for mobile profile section */
[data-theme="dark"] .mobile-profile-header {
    background: rgba(255, 213, 79, 0.08);
}

[data-theme="dark"] .mobile-profile-header:hover {
    background: rgba(255, 213, 79, 0.15);
}

[data-theme="dark"] .mobile-profile-role {
    color: #FFD54F;
}

[data-theme="dark"] .mobile-dropdown-user-info:hover {
    background: rgba(255, 213, 79, 0.1);
}

[data-theme="dark"] .mobile-role-options .mobile-role-btn:hover {
    background: rgba(255, 213, 79, 0.1);
    color: #FFD54F;
}

[data-theme="dark"] .mobile-role-options .mobile-role-btn.active {
    background: rgba(255, 213, 79, 0.15);
    color: #FFD54F;
}
