/* Mobile Responsive Styles - Matching Design Mockup */

/* Mobile-first approach - Base mobile styles */
@media (max-width: 768px) {
    /* General Mobile Optimizations */
    body {
        font-size: 14px;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* Notification Popup Mobile Fixes */
    .notification-popup-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important; /* Dynamic viewport height for mobile */
        z-index: 2147483647 !important;
        display: flex !important;
        visibility: visible !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: rgba(0, 0, 0, 0.7) !important;
        -webkit-overflow-scrolling: touch !important;
        overflow: auto !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    /* Fallback for browsers with fixed position issues */
    @supports (-webkit-touch-callout: none) {
        .notification-popup-overlay {
            position: -webkit-fixed !important;
            position: fixed !important;
        }
    }

    .notification-popup-overlay.show {
        display: flex !important;
    }

    .notification-popup-container {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 90vh !important;
        margin: auto !important;
        position: relative !important;
        transform: none !important;
        -webkit-transform: none !important;
    }

    .notification-popup-overlay.show .notification-popup-container {
        transform: none !important;
        -webkit-transform: none !important;
    }

    .notification-popup-body {
        max-height: 60vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .notification-popup-footer {
        flex-direction: column !important;
    }

    .notification-popup-footer .btn {
        width: 100% !important;
        min-width: unset !important;
        margin-bottom: 8px !important;
    }

    .notification-popup-footer .btn:last-child {
        margin-bottom: 0 !important;
    }

    /* Hide ID and Amount columns on mobile */
    .mobile-hide {
        display: none !important;
    }

    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    body {
        margin: 0;
        padding: 0;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 16px;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* Mobile Header */
    .main-header {
        padding: 0;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        z-index: 2000;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .header-content {
        flex-direction: row;
        justify-content: center;
        padding: 0 16px;
        gap: 0;
        min-height: 54px;
    }

    .logo h1 {
        font-size: 1.5rem;
        font-weight: 800;
        text-align: center;
    }

    .main-header .logo h1 {
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        line-height: 1.2;
        text-align: center;
    }

    .desktop-nav {
        display: none; /* Hide desktop nav on mobile */
    }

    .main-nav {
        display: none; /* Hide desktop nav on mobile */
    }

    /* Main Content - Reserve space for the fixed mobile header */
    body:not(.header-hidden):not(.admin-page) .main-content {
        padding-top: 54px;
        padding-bottom: 80px;
    }

    body.admin-page .main-content {
        padding-top: 54px;
    }

    body.header-hidden .main-content,
    body.home-page .main-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Ensure mobile bottom nav is visible */
    .mobile-bottom-nav {
        display: flex !important;
    }

    /* Mobile Bottom Navigation - Enhanced with SVG Icons */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-color);
        height: 70px;
        justify-content: space-around;
        align-items: center;
        z-index: 1100;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        padding: 8px 0;
        border-top: 1px solid var(--border-color);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
        flex: 1;
        transition: all 0.2s;
        gap: 4px;
        padding: 8px 4px;
        border-radius: var(--radius-sm);
        min-width: 50px;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: var(--primary-color);
        background-color: var(--primary-light);
    }

    .mobile-nav-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* SVG Icons for Navigation */
    .nav-icon-home,
    .nav-icon-bookings,
    .nav-icon-dashboard,
    .nav-icon-profile,
    .nav-icon-logout {
        display: inline-block;
        width: 24px;
        height: 24px;
    }

    .nav-icon-home::before,
    .nav-icon-bookings::before,
    .nav-icon-dashboard::before,
    .nav-icon-profile::before,
    .nav-icon-logout::before {
        display: none;
    }

    .nav-icon-home {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-nav-item.active .nav-icon-home,
    .mobile-nav-item:hover .nav-icon-home {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e60023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    }

    .nav-icon-bookings {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-nav-item.active .nav-icon-bookings,
    .mobile-nav-item:hover .nav-icon-bookings {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e60023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
    }

    .nav-icon-dashboard {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-nav-item.active .nav-icon-dashboard,
    .mobile-nav-item:hover .nav-icon-dashboard {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e60023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
    }

    .nav-icon-profile {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-nav-item.active .nav-icon-profile,
    .mobile-nav-item:hover .nav-icon-profile {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e60023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    }

    .nav-icon-logout {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-nav-item:hover .nav-icon-logout {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e60023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
    }

    .nav-icon-refer {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-nav-item:hover .nav-icon-refer,
    .mobile-nav-item.active .nav-icon-refer {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e60023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E");
    }

    /* Mobile bottom nav - Profile sub-menu */
    .mobile-profile-wrap {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-width: 50px;
    }

    .mobile-profile-wrap .mobile-nav-item {
        width: 100%;
        height: 100%;
        background: none;
        border: none;
        cursor: pointer;
        flex: none;
    }

    .bottom-profile-submenu {
        display: none;
        position: absolute;
        bottom: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        border: 1px solid #e0e0e0;
        min-width: 170px;
        z-index: 1001;
        overflow: hidden;
    }

    .bottom-profile-submenu.show {
        display: block;
    }

    .bottom-profile-submenu .bottom-submenu-item {
        display: block;
        width: 100%;
        text-align: center;
        padding: 13px 16px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid #f0f0f0;
        border-left: none;
        border-right: none;
        border-top: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
    }

    .bottom-profile-submenu .bottom-submenu-item:last-child {
        border-bottom: none;
    }

    .bottom-profile-submenu .bottom-submenu-item:hover {
        background-color: var(--primary-light);
        color: var(--primary-color);
    }

    /* Mobile Announcement Bar */
    .announcement-bar {
        padding: 10px 0;
        font-size: var(--font-size-xs);
        top: 54px;
    }

    .announcement-content {
        padding: 0;
    }

    .scrolling-text span {
        animation-duration: 20s;
        font-size: var(--font-size-xs);
        padding: 0 16px;
    }

    /* Mobile Hero Section */
    .hero-section {
        padding: 76px 16px 20px;
        margin: 54px 0 20px 0;
        background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    }

    .hero-section h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .hero-section-new {
        height: auto;
        min-height: 100vh;
        max-height: none;
        margin: 0;
        width: 100%;
    }

    .hero-overlay {
        position: relative;
        height: auto;
        padding: 100px 16px 40px;
        align-items: flex-start;
        display: flex;
    }

    .hero-content h1 {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .search-tabs {
        gap: 12px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .tab-btn {
        font-size: 13px;
        padding: 6px 0;
    }

    .search-form {
        padding: 16px;
        border-radius: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 14px;
        border-radius: 4px;
    }

    /* Categories Section */
    .categories-section,
    .services-section {
        margin-bottom: 40px;
    }

    .categories-section h3,
    .services-section h3 {
        font-size: 20px;
        padding: 0 16px;
        margin-bottom: 16px;
    }

    .categories-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    /* Category & Service Cards */
    .category-card,
    .service-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .category-card:hover,
    .service-card:hover {
        transform: translateY(-2px);
    }

    .category-image-container,
    .service-image-container {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }

    .category-content,
    .service-content {
        padding: 16px;
    }

    .category-content h4,
    .service-content h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .category-content p,
    .service-content p {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .service-price {
        font-size: 16px;
        margin: 6px 0;
    }

    .service-duration {
        font-size: 12px;
    }

    /* Service Booking Page - Mobile */
    .service-booking-page {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 0;
        padding: 16px;
    }

    .service-info,
    .booking-form-container {
        padding: 16px;
        border-radius: 12px;
    }

    .service-info h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-price {
        font-size: 20px;
        margin: 12px 0;
    }

    .breadcrumb {
        font-size: 12px;
        padding: 0 16px;
        margin-bottom: 12px;
    }

    /* Time Slots - Mobile */
    .time-slots-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
    }

    .time-slot {
        padding: 14px;
        border-radius: 8px;
        font-size: 14px;
    }

    .time-slot strong {
        font-size: 15px;
    }

    /* Buttons - Mobile */
    .btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
        min-height: 48px;
    }

    .btn-large {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    /* Auth Pages - Mobile */
    .auth-page {
        padding: 20px 16px;
        min-height: calc(100vh - 140px);
    }

    body.header-hidden .auth-page {
        min-height: 100vh;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .auth-card h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
    }

    /* Login/Register Page */
    .auth-links {
        margin-top: 20px;
        font-size: 14px;
    }

    /* Confirmation Page - Mobile */
    .confirmation-page {
        margin: 20px 16px;
        padding: 0;
    }

    .confirmation-header {
        margin-bottom: 20px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin: 0 auto 12px;
    }

    .confirmation-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .confirmation-header p {
        font-size: 14px;
    }

    .booking-details-card {
        padding: 16px 12px;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .booking-details-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }

    @media (max-width: 480px) {
        .details-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }
    }

    .detail-item {
        padding: 8px;
        background-color: #f9f9f9 !important;
        border-radius: 6px;
        border: none;
    }

    .detail-item strong {
        font-size: 0.7rem;
        margin-bottom: 4px;
        text-transform: uppercase;
        color: #666;
    }

    .detail-item span {
        font-size: 0.85rem;
        color: #333;
    }

    .detail-item strong {
        font-size: 12px;
        color: #888;
        display: block;
        margin-bottom: 4px;
    }

    .detail-item span {
        font-size: 15px;
        color: #333;
        display: block;
    }

    .confirmation-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .email-notice {
        font-size: 12px;
        padding: 0 16px;
    }

    /* My Bookings Page - Mobile */
    .dashboard-header {
        margin-bottom: 20px;
        padding: 0 16px;
    }

    .dashboard-header h2 {
        font-size: 22px;
    }

    /* Hide desktop table, show mobile cards */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Mobile Bookings Cards */
    .bookings-mobile-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .mobile-booking-card {
        background: var(--bg-color);
        border-radius: 8px;
        padding: 16px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        border: 1px solid var(--border-color);
    }

    .bookings-mobile-container .mobile-booking-card:nth-child(even) {
        background: #f6f6f6;
    }

    .mobile-booking-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 12px;
    }

    .booking-id-mobile,
    .booking-category-mobile {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .booking-id-mobile strong,
    .booking-category-mobile strong,
    .mobile-booking-service strong,
    .mobile-booking-col strong {
        font-size: 11px;
        color: #888;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .booking-id-mobile span,
    .booking-category-mobile span {
        font-size: 14px;
        color: #333;
        font-weight: 600;
    }

    .mobile-booking-service {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 12px;
    }

    .mobile-booking-service span {
        font-size: 14px;
        color: #333;
        font-weight: 500;
    }

    .mobile-booking-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .mobile-booking-col {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-booking-col span {
        font-size: 13px;
        color: #333;
    }

    .mobile-booking-actions {
        display: flex;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }

    .mobile-booking-actions .btn {
        flex: 1;
        font-size: 13px;
        padding: 10px 16px;
        min-height: 40px;
    }

    .bookings-mobile-container .mobile-booking-actions .btn-secondary {
        background: #152033;
        border-color: #152033;
        color: #fff;
    }

    .bookings-mobile-container .mobile-booking-actions .btn-success,
    .bookings-mobile-container .mobile-booking-actions .btn-success:hover {
        color: #fff;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
        padding: 0 16px;
    }

    .stat-card {
        padding: 16px 10px;
        border-radius: 8px;
    }

    .stat-card h3 {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .stat-number {
        font-size: 20px;
    }

    /* Bookings List - Mobile */
    .bookings-list {
        gap: 12px;
        padding: 0 16px;
    }

    .booking-item {
        padding: 16px;
        border-radius: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .booking-info {
        width: 100%;
        margin-bottom: 12px;
    }

    .booking-info h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .booking-info p {
        font-size: 13px;
        margin: 4px 0;
        line-height: 1.4;
    }

    .booking-status {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }

    .status-badge {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 6px;
    }

    /* Tables - Mobile */
    .data-table-wrapper {
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    /* ensure table cards themselves are scrollable on smaller devices */
    @media (max-width: 768px) {
        .data-table-card {
            overflow-x: auto;
        }
    }

    /* ensure analytics tab navigation is swipeable on small screens */
    .analytics-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .analytics-content {
        overflow-x: auto;
    }

    .data-table {
        font-size: 13px;
        min-width: 100%;
        table-layout: fixed;
        width: 100%;
        border-collapse: collapse;
    }

    .data-table th,
    .data-table td {
        padding: 4px 4px !important;
        font-size: 0.75rem !important;
        white-space: nowrap; /* Prevent text wrapping to keep table structure */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .data-table th {
        font-size: 11px;
    }

    /* Hide stores table columns on mobile */
    .stores-table-card .data-table th:nth-child(3),
    .stores-table-card .data-table td:nth-child(3),
    .stores-table-card .data-table th:nth-child(4),
    .stores-table-card .data-table td:nth-child(4),
    .stores-table-card .data-table th:nth-child(5),
    .stores-table-card .data-table td:nth-child(5),
    .stores-table-card .data-table th:nth-child(6),
    .stores-table-card .data-table td:nth-child(6) {
        display: none !important;
    }

    /* Footer - Mobile */
    .main-footer {
        padding: 12px 16px;
        margin-top: 0;
        font-size: 12px;
        margin-bottom: 70px; /* Space for bottom nav */
        background-color: var(--dark-color);
        color: #fff;
    }

    /* Alerts - Mobile */
    .alert {
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 16px;
        font-size: 13px;
    }

    /* No Data Message */
    .no-data {
        padding: 40px 20px;
        font-size: 14px;
    }

    .no-data-message {
        padding: 40px 16px;
        font-size: 15px;
    }

    /* Carousel - Mobile */
    .banner-carousel-section {
        margin: 0 0 30px 0;
        width: 100%;
    }

    .carousel-container {
        border-radius: 0;
    }

    .carousel-slides {
        height: 250px;
    }

    .slide-content {
        padding: 16px;
    }

    .slide-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .slide-content p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .carousel-control {
        font-size: 20px;
        padding: 6px 10px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    /* Category Page Header */
    .category-header {
        margin-bottom: 20px;
        padding: 0 16px;
    }

    .category-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .category-header p {
        font-size: 14px;
    }

    .category-image-container {
        height: 200px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    /* Form Row Bottom - Mobile */
    .form-row-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .price-display {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px;
        background: #f7f7f7;
        border-radius: 8px;
    }

    .price-value {
        font-size: 20px;
        font-weight: 700;
        color: var(--primary-color);
    }

    .book-btn {
        width: 100%;
    }

    /* Inventory Items - Mobile */
    .inventory-items {
        gap: 12px;
    }

    .inventory-item {
        padding: 12px;
        border-radius: 8px;
        font-size: 14px;
    }

    .stock-info {
        font-size: 12px;
    }

    .total-amount {
        padding: 14px;
        font-size: 18px;
        border-radius: 8px;
    }

    /* Loading States */
    .loading {
        padding: 30px 20px;
        text-align: center;
        font-size: 14px;
        color: #888;
    }

    /* Section Spacing */
    .section-header {
        padding: 0 16px;
        margin-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-header h3 {
        font-size: 20px;
    }

    .explore-all {
        font-size: 13px;
    }

    /* Customer Dashboard - Mobile */
    .customer-dashboard {
        padding: 16px;
    }

    .welcome-section {
        margin-bottom: 20px;
    }

    .welcome-section h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .welcome-section p {
        font-size: 14px;
        color: #888;
    }

    /* Recent Bookings Section */
    .recent-bookings {
        margin-top: 20px;
    }

    .recent-bookings h3 {
        font-size: 18px;
        margin-bottom: 16px;
        padding: 0 16px;
    }

    .booking-card {
        background: #fff;
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .booking-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .booking-card h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .booking-card p {
        font-size: 13px;
        color: #666;
        margin: 4px 0;
    }

.booking-status-progress {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .booking-status-progress .progress-track {
        justify-content: center;
    }

    .booking-status-progress .status-step {
        min-width: 55px;
        margin: 0;
    }

    .booking-status-progress .status-connector {
        width: 100%;
        min-width: 20px;
        height: 3px;
        margin-top: 15px;
        flex: 1 1 20px;
    }

    .booking-status-progress .step-circle {
        width: 32px;
        height: 32px;
        border-width: 3px;
        font-size: 12px;
        margin-bottom: 6px;
    }

    .booking-status-progress .step-label {
        font-size: 0.65rem;
    }

    .booking-status-progress .estimated-time {
        font-size: 0.6rem;
    }

    .booking-status-progress .step-circle svg {
        width: 14px;
        height: 14px;
    }

    .view-details-link {
        font-size: 13px;
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 18px;
    }

    .categories-section h3,
    .services-section h3 {
        font-size: 18px;
    }

    .btn {
        font-size: 14px;
        padding: 12px 16px;
    }

    .stats-grid,
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-number {
        font-size: 24px;
    }
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }

    .main-content {
        padding-top: 56px;
        padding-bottom: 0;
    }
}
