img.logo-lg{
    width: 80%;
}

/* =============================================
   MOBILE-FIRST MEMBER DASHBOARD STYLES
   ============================================= */

:root {
    --color-pale-lime: #d5ff5f;
    --color-cotton-seed: #f3f3f3;
    --color-grey-light: #bababa;
    --color-mid-grey: #656566;
    --color-raisin-black: #1e1e25;
    --color-outer-space: #2d2d36;

    --font-main: 'Inter', sans-serif;
    --radius-lg: 16px;
}

/* Mobile Header Styles */
.mobile-header {
    display: block;
    background: var(--color-outer-space);
    color: white;
    padding: 15px 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.mobile-header .profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-header .profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.mobile-header .welcome-text {
    flex: 1;
}

.mobile-header .welcome-text h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-pale-lime);
}

.mobile-header .welcome-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.mobile-header .info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-header .info-icon:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Mobile Hero Section */
.mobile-hero {
    display: none;
    margin-top: 0px;
    padding: 20px 15px;
}

.mobile-hero .hero-image {
    width: 100%;
    height: 200px;
    /* background: linear-gradient(45deg, #ff6b6b, #4ecdc4); */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background: linear-gradient(45deg, #d5ff5f, #2d2d36); */
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    padding: 10px 10px 20px 10px;
}

.mobile-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.mobile-hero .date-display {
    text-align: center;
    /* margin-bottom: 30px; */
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Mobile Workout Sections */
.mobile-workout-section {
    display: none;
    /* margin-bottom: 30px; */
    padding: 20px 15px;
}

.mobile-workout-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-cotton-seed);
    text-align: left;
}

.mobile-workout-cards {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-workout-cards::-webkit-scrollbar {
    display: none;
}

.mobile-workout-card {
    width: 260px;
    height: 160px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-workout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.workout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.workout-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.workout-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.mobile-workout-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.mobile-workout-card:hover::before {
    animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.mobile-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.mobile-pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.mobile-pagination-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Mobile Workout Categories */
.mobile-category-tabs {
    display: flex;
    overflow-x: auto;
    padding: 15px 20px;
    gap: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* background: white; */
    background-color: var(--color-raisin-black);
    border-bottom: 1px solid var(--color-outer-space);
}

.mobile-category-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-category-tab {
    min-width: 100px;
    padding: 12px 24px;
    background: var(--color-cotton-seed);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--color-raisin-black);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: inline-block;
}

.mobile-category-tab.active {
    background: var(--color-pale-lime);
    color: var(--color-raisin-black);
    border-color: var(--color-pale-lime);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mobile-category-tab:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Mobile Workout Grid */
.mobile-workout-grid {
    display: block;
    padding: 20px;
    margin-bottom: 100px;
    background: var(--color-raisin-black);
    min-height: 60vh;
}

.mobile-exercise-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-exercise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mobile-exercise-card .card-img-top {
    border-radius: 12px 12px 0 0;
}

.mobile-exercise-card .card-body {
    background: white;
    border-radius: 0 0 12px 12px;
}

/* Mobile Fullscreen Video Modal */
.mobile-video-modal {
    background: #000;
    color: white;
}

.mobile-video-header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.mobile-video-container {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-video-title {
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.8);
}

.mobile-video-title h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.mobile-video-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.mobile-video-footer .btn {
    flex: 1;
    padding: 12px 20px;
    font-weight: 600;
}

/* Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--color-outer-space);
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    background-color: var(--color-outer-space);
}

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

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 10px;
    min-width: 60px;
    color: #fff;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    background: rgba(102, 126, 234, 0.1);
    color: var(--color-pale-lime);
}

.mobile-bottom-nav .nav-item .nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mobile-bottom-nav .nav-item .nav-label {
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Profile Section */
.mobile-profile-section {
    display: none;
    padding: 20px 15px;
    /* margin-top: 80px; */
    margin-bottom: 100px;
}

.mobile-profile-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.mobile-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #667eea;
    object-fit: cover;
}

.mobile-profile-info h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.mobile-profile-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.mobile-status-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-status-badge.active {
    background: #d4edda;
    color: #155724;
}

.mobile-status-badge.expires {
    background: #fff3cd;
    color: #856404;
}

.mobile-membership-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.mobile-membership-info h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-membership-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-membership-details:last-child {
    margin-bottom: 0;
}

.mobile-membership-details span:first-child {
    color: #666;
    font-size: 14px;
}

.mobile-membership-details span:last-child {
    font-weight: 600;
    color: #333;
}

/* Mobile Billing Styles */
.mobile-billing-section {
    display: none;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 100px;
}

.mobile-billing-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.mobile-billing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-billing-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.mobile-payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-payment-item:last-child {
    border-bottom: none;
}

.mobile-payment-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-payment-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.mobile-payment-amount {
    text-align: right;
}

.mobile-payment-amount .amount {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.mobile-payment-amount .status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.mobile-payment-amount .status.paid {
    background: #d4edda;
    color: #155724;
}

.mobile-payment-amount .status.partial {
    background: #fff3cd;
    color: #856404;
}

.mobile-payment-amount .status.unpaid {
    background: #f8d7da;
    color: #721c24;
}

/* Mobile Attendance Styles */
.mobile-attendance-section {
    display: none;
    padding: 20px;
    margin-top: 80px;
    margin-bottom: 100px;
}

.mobile-attendance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-stat-card .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.mobile-stat-card .stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.mobile-attendance-list {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-attendance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-attendance-item:last-child {
    border-bottom: none;
}

.mobile-attendance-date {
    font-weight: 600;
    color: #333;
}

.mobile-attendance-status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-attendance-status.present {
    background: #d4edda;
    color: #155724;
}

.mobile-attendance-status.absent {
    background: #f8d7da;
    color: #721c24;
}

/* Mobile Fitness Styles */
.mobile-fitness-section {
    display: none;
    padding: 20px;
    margin-top: 80px;
    margin-bottom: 100px;
}

.mobile-fitness-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-fitness-category {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-fitness-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mobile-fitness-category .category-image {
    width: 100%;
    height: 100px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.mobile-fitness-category h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Dropdown Fixes for Member Pages */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.nxl-h-dropdown {
    min-width: 280px;
}

.nxl-user-dropdown .dropdown-header {
    padding: 1rem 1rem 0.5rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #6c757d;
    white-space: nowrap;
}

.nxl-user-dropdown .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.nxl-user-dropdown .dropdown-item:hover,
.nxl-user-dropdown .dropdown-item:focus {
    color: #1e2125;
    background-color: #e9ecef;
}

.nxl-user-dropdown .dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,.15);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    /* Hide desktop elements on mobile */
    .nxl-navigation,
    .nxl-header,
    .nxl-header .header-left .nxl-navigation-toggle,
    .nxl-header .header-right .full-screen-switcher,
    .header-wrapper, 
    .page-header,
    .main-content {
        display: none !important;
    }

    body{
        background-color: var(--color-raisin-black);
    }
    
    /* Show mobile elements */
    .mobile-header {
        display: block !important;
    }

    .mobile-hero {
        display: block !important;
    }

    .mobile-workout-section{
        display: block !important;
    }

    .mobile-profile-section{
        display: block !important;
    }
    
    .mobile-category-tabs {
        display: flex !important;
    }
    
    .mobile-workout-grid {
        display: block !important;
    }

    .mobile-billing-section {
        display: block !important;
    }
    
    .mobile-bottom-nav {
        display: block !important;
    }
    
    /* Adjust main content for mobile */
    .nxl-container {
        margin-left: 0;
        /* padding-top: 80px; */
        background-color: var(--color-raisin-black);
        color: var(--color-cotton-seed);
    }

    
    .nxl-content {
        padding: 0;
    }

    .nxl-container .footer {
        display: none;
    }
}

@media (min-width: 769px) {
    /* Hide mobile elements on desktop */
    .mobile-header,
    .mobile-category-tabs,
    .mobile-workout-grid,
    .mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-workout-cards {
        gap: 10px;
    }
    
    .mobile-workout-card {
        /* min-width: 120px;
        height: 100px; */
        font-size: 14px;
    }
    
    .mobile-fitness-categories {
        grid-template-columns: 1fr;
    }
    
    .mobile-attendance-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}