/* Kik Sport Club - Mobile First Design */

:root {
    --primary-color: #C41E3A;
    --secondary-color: #D4D4D4; /* Light gray */
    --text-light: #FFFFFF;
    --text-dark: #1A1A1A;
    --bg-overlay: rgba(80, 80, 80, 0.75); /* Light gray semi-transparent for info box */
    --bg-overlay-light: rgba(80, 80, 80, 0.6);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'YekanBakh', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    background-color: #f5f5f5;
}

/* ============================================
   Mobile Navigation - Redesigned
   ============================================ */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(196, 30, 58, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    display: none;
}

/* Desktop Menu */
.nav-menu-desktop {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.nav-menu-desktop .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu-desktop .nav-link:hover {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
}

.nav-menu-desktop .nav-link.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.nav-menu-desktop .nav-link i {
    font-size: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover span {
    background: #b01a2f;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.mobile-menu-logo {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    flex: 1;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    flex: 1;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.mobile-menu-link:hover {
    background: rgba(196, 30, 58, 0.05);
    border-right-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu-link.active {
    background: rgba(196, 30, 58, 0.1);
    border-right-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-link i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.mobile-menu-form {
    margin: 0;
    padding: 0;
}

.mobile-menu-logout {
    width: 100%;
    background: transparent;
    border: none;
    text-align: right;
    cursor: pointer;
    color: #dc3545;
}

.mobile-menu-logout:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
}

/* Responsive Navigation */
@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu-desktop {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 15px 40px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav-menu-desktop .nav-link {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Landing Page - Minimal Design */
.landing-page {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: #f8f8f8;
}

/* Subtle Tennis Court Background */
.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f8f8;
    background-image: 
        /* Court center line - slightly more visible */
        linear-gradient(to bottom, transparent 0%, transparent 48%, rgba(196, 30, 58, 0.08) 49%, rgba(196, 30, 58, 0.08) 51%, transparent 52%),
        /* Grid pattern - slightly more visible */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(196, 30, 58, 0.05) 98px,
            rgba(196, 30, 58, 0.05) 100px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(196, 30, 58, 0.05) 98px,
            rgba(196, 30, 58, 0.05) 100px
        );
    z-index: 1;
}

/* Section 1: Hero */
.landing-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.logo-above-card {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-above-card img,
.logo-above-card svg {
    width: 100px;
    height: 100px;
    filter: brightness(0) invert(1); /* Makes logo white */
}

.landing-content {
    position: relative;
    z-index: 2;
    padding: 0 24px 0;
}

.landing-info-box {
    background: var(--primary-color);
    border-radius: 24px 24px 0 0; /* Rounded only on top */
    padding: 60px 28px 40px;
    box-shadow: 0 -4px 20px rgba(196, 30, 58, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.landing-title {
    color: var(--text-light);
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.5;
}

.landing-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 32px;
}

.membership-btn {
    width: 100%;
    background: var(--text-light);
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'YekanBakh', sans-serif;
    text-align: center;
    text-decoration: none;
    display: block;
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
}

.membership-btn:active {
    transform: translateY(0);
    background: #ebebeb;
}

.scroll-indicator {
    text-align: center;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
}

.scroll-indicator i {
    font-size: 20px;
    animation: bounceIndicator 2s infinite;
}

@keyframes bounceIndicator {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* Common Landing Sections */
.landing-section {
    position: relative;
    background: #ffffff;
    padding: 60px 24px;
    z-index: 2;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
}

/* Section 2: Sign Up Form */
.signup-section {
    background: #f8f8f8;
}

.signup-section .section-container {
    max-width: 500px;
}

/* Section 3: Courts Grid */
.courts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.court-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.court-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.court-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(196, 30, 58, 0.15);
    border-color: var(--primary-color);
}

.court-card:hover::before {
    transform: scaleX(1);
}

.court-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.court-icon {
    width: 56px;
    height: 56px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.court-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.court-name {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    flex: 1;
}

.court-type {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.court-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.court-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    color: #666;
    font-size: 14px;
}

.price-value {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
}

.court-reserve-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.court-reserve-btn:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Section 4: CTA */
.cta-section {
    background: var(--primary-color);
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: var(--text-light);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-block;
    background: var(--text-light);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
}

/* Section 5: Blogs */
.blogs-section {
    background: #f8f8f8;
}

.blogs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e5e5e5;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.blog-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Section 6: Contact */
.contact-section {
    background: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    width: 24px;
}

.contact-item span,
.contact-item a {
    color: var(--text-dark);
    font-size: 16px;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.map-container i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #999;
}

/* Main Content Area */
.main-content-mobile {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
}

/* Responsive */
@media (min-width: 768px) {
    .logo-above-card {
        top: 100px;
    }
    
    .logo-above-card img,
    .logo-above-card svg {
        width: 120px;
        height: 120px;
    }
    
    .landing-content {
        padding: 0 32px 0;
    }
    
    .landing-info-box {
        padding: 80px 48px 50px;
    }
    
    .landing-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .landing-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .nav-menu {
        gap: 10px;
        padding: 8px;
    }
    
    .nav-menu a {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Sections - Tablet */
    .landing-section {
        padding: 80px 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .courts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .landing-info-box {
        max-width: 560px;
        padding: 56px 44px;
    }
    
    .landing-title {
        font-size: 32px;
    }
    
    .landing-description {
        font-size: 16px;
    }
    
    .logo-above-card {
        top: 120px;
    }
    
    .logo-above-card img,
    .logo-above-card svg {
        width: 140px;
        height: 140px;
    }
    
    .landing-content {
        padding: 0 48px 0;
    }
    
    .landing-info-box {
        max-width: 800px;
        margin: 0 auto;
        padding: 100px 64px 60px;
    }
    
    .landing-title {
        font-size: 36px;
    }
    
    .landing-description {
        font-size: 18px;
    }
    
    /* Sections - Desktop */
    .landing-section {
        padding: 100px 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .courts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .blogs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-item {
        flex: 1;
        min-width: 250px;
    }
    
    .map-placeholder {
        height: 400px;
    }
}

/* Sign Up Form Styles in Landing - KIK Design */
.signup-section {
    background: #ffffff;
}

.signup-form-landing {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 100%;
}

.signup-form-landing .form-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.signup-form-landing .form-group {
    margin-bottom: 16px;
}

.signup-form-landing label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
}

.signup-form-landing .form-control {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
    font-family: 'YekanBakh', sans-serif;
}

.signup-form-landing .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

.signup-form-landing .password-field {
    position: relative;
}

.signup-form-landing .toggle-password-btn {
    position: absolute;
    left: 12px;
    top: 38px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 6px;
    z-index: 1;
}

.signup-form-landing .toggle-password-btn:hover {
    color: var(--primary-color);
}

.signup-form-landing .signin-link {
    color: var(--primary-color);
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 8px;
}

.signup-form-landing .signin-link:hover {
    text-decoration: underline;
}

.signup-form-landing .signup-submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
    font-family: 'YekanBakh', sans-serif;
}

.signup-form-landing .signup-submit-btn:hover {
    background: #b01a2f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.signup-form-landing .text-danger {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
    display: block;
}

@media (max-width: 480px) {
    .signup-form-landing {
        padding: 24px 20px;
    }
    
    .signup-form-landing .form-row-compact {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .signup-form-landing .form-group {
        margin-bottom: 14px;
    }
    
    .signup-form-landing label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .signup-form-landing .form-control {
        padding: 9px 12px;
        font-size: 13px;
    }
    
    .signup-form-landing .signup-submit-btn {
        padding: 11px 20px;
        font-size: 14px;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Reservation Module Styles
   ============================================ */

/* Calendar Page */
.calendar-page {
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.header-info {
    flex: 1;
}

.page-title {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
}

.page-subtitle {
    color: #666;
    font-size: 14px;
}

/* Date Selector */
.date-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
}

.date-selector::-webkit-scrollbar {
    display: none;
}

.date-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.date-nav-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.date-list {
    display: flex;
    gap: 12px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.date-list::-webkit-scrollbar {
    display: none;
}

.date-item {
    min-width: 70px;
    padding: 12px 8px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.date-item:not(.disabled):hover {
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--primary-color);
}

.date-item.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.date-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.day-name {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.day-number {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.day-month {
    display: block;
    font-size: 11px;
    margin-top: 2px;
}

/* Time Slots */
.time-slots-container {
    margin-bottom: 24px;
}

.loading-slots {
    text-align: center;
    padding: 40px;
    color: #666;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 10px 6px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .time-slot {
        padding: 8px 4px;
        min-height: 45px;
    }
}

.time-slot.available {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.time-slot.available:hover {
    background: #c8e6c9;
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.time-slot.reserved {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.disabled {
    background: #e0e0e0;
    border-color: #9e9e9e;
    color: #757575;
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slot.unavailable {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
    cursor: not-allowed;
}

.time-slot.past {
    background: #f5f5f5;
    border-color: #bdbdbd;
    color: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.6;
    position: relative;
}

.time-slot.past::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #9e9e9e;
    transform: translateY(-50%);
}

.time-range {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .time-range {
        font-size: 11px;
    }
}

.slot-badge {
    display: block;
    font-size: 10px;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 4px;
}

.reserved-badge {
    background: #f44336;
    color: white;
}

.disabled-badge {
    background: #9e9e9e;
    color: white;
}

.past-badge {
    background: #757575;
    color: white;
}

.selected-icon {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 14px;
}

/* Selected Summary */
.selected-summary {
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 16px;
    margin-top: 24px;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.1);
    position: sticky;
    bottom: 20px;
    z-index: 100;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-header h3 {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.clear-selection {
    background: #ffebee;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    color: #c62828;
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
}

.clear-selection:hover {
    background: #ffcdd2;
}

.clear-selection i {
    font-size: 12px;
}

.summary-slots {
    margin-bottom: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.summary-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.summary-slot-item:last-child {
    border-bottom: none;
}

.summary-slot-item .slot-time {
    color: var(--text-dark);
    font-weight: 500;
}

.summary-slot-item .slot-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
}

.summary-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 12px;
}

.total-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

.total-price .price-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.total-price .price-value {
    font-size: 16px;
    color: var(--primary-color);
}

.total-price .price-currency {
    font-size: 12px;
    color: #666;
}

.summary-action {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--primary-color);
}

.reserve-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.2);
}

.reserve-btn:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.reserve-btn:active {
    transform: translateY(0);
}

.reserve-btn i {
    font-size: 14px;
}

@media (max-width: 480px) {
    .selected-summary {
        padding: 12px;
        margin-top: 16px;
    }
    
    .summary-header h3 {
        font-size: 14px;
    }
    
    .summary-slot-item {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .total-price {
        font-size: 14px;
    }
    
    .total-price .price-value {
        font-size: 15px;
    }
    
    .reserve-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Reservation Modal */
.reservation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.modal-close {
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
}

.reservation-details {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.reservation-info p {
    margin: 8px 0;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'YekanBakh', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

.coach-selection {
    margin-top: 16px;
}

.coach-selection label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    flex: 1;
    background: #f5f5f5;
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-submit {
    flex: 1;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Payment Page */
.payment-page {
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.payment-header {
    text-align: center;
    margin-bottom: 32px;
}

.payment-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.reservation-summary {
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.price-item {
    border-top: 2px solid var(--primary-color);
    margin-top: 8px;
    padding-top: 16px;
}

.summary-item .label {
    color: #666;
    font-size: 14px;
}

.summary-item .value {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.summary-item .value.price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-payment {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-payment:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-cancel {
    width: 100%;
    background: #f5f5f5;
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.payment-info {
    margin-top: 24px;
}

.info-box {
    background: #e3f2fd;
    border-right: 4px solid #2196f3;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.info-box i {
    color: #2196f3;
    font-size: 20px;
    margin-top: 2px;
}

.info-box p {
    color: #1565c0;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Payment Callback */
.payment-callback-page {
    padding: 40px 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-success,
.callback-error {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon,
.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.success-icon {
    background: #e8f5e9;
    color: #4caf50;
}

.error-icon {
    background: #ffebee;
    color: #f44336;
}

.success-icon i,
.error-icon i {
    font-size: 60px;
}

.callback-title {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}

.callback-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.reservation-code-box {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.code-label {
    color: #666;
    font-size: 14px;
}

.code-value {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.callback-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* My Reservations */
.my-reservations-page {
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-link {
    background: #f5f5f5;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.dashboard-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-tab:hover {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reservation-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.reservation-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reservation-code {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.status-approved {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.status-pending {
    background: #fff3e0;
    color: #e65100;
}

.status-badge.status-requested {
    background: #e3f2fd;
    color: #1565c0;
}

.status-badge.status-completed {
    background: #f3e5f5;
    color: #6a1b9a;
}

.status-badge.status-cancelled {
    background: #ffebee;
    color: #c62828;
}

.status-badge.status-rejected {
    background: #fce4ec;
    color: #c2185b;
}

.reservation-body {
    margin-bottom: 16px;
}

.reservation-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 14px;
}

.info-row i {
    color: var(--primary-color);
    width: 20px;
}

.info-row.price-row {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

.reservation-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-pay {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-pay:hover {
    background: #b01a2f;
    transform: translateY(-2px);
}

.btn-view {
    background: #f5f5f5;
    color: var(--text-dark);
}

.btn-view:hover {
    background: #e0e0e0;
}

.btn-cancel {
    background: #ffebee;
    color: #c62828;
}

.btn-cancel:hover {
    background: #ffcdd2;
}

.btn-entry-card {
    background: #e3f2fd;
    color: #1565c0;
}

.btn-entry-card:hover {
    background: #bbdefb;
}

/* Reservation Details */
.reservation-details-page {
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.details-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.reservation-details-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.reservation-code-section {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 24px;
}

.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.details-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.details-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.detail-label {
    color: #666;
    font-size: 14px;
}

.detail-value {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.detail-value.price {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

.detail-value.discount {
    color: #4caf50;
}

.detail-value.paid {
    color: #4caf50;
}

.detail-value.unpaid {
    color: #f44336;
}

.notes-text {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 10px;
}

.cancelled-section {
    background: #ffebee;
    padding: 16px;
    border-radius: 10px;
}

.cancellation-reason {
    color: #c62828;
    font-size: 14px;
    line-height: 1.6;
}

.details-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Dashboard */
.dashboard-page {
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.new-reservation-btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.new-reservation-btn:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.upcoming {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.stat-icon.total {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
}

.stat-info {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
}

.dashboard-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.view-all-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.reservation-card-mini {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reservation-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.item-icon {
    width: 48px;
    height: 48px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.item-info {
    flex: 1;
}

.item-title {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.item-subtitle {
    display: block;
    color: #666;
    font-size: 12px;
}

.item-status {
    margin-left: auto;
}

.item-link {
    color: var(--primary-color);
    font-size: 18px;
    text-decoration: none;
}

.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.action-btn {
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.action-btn.primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.action-btn.primary:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.action-btn.secondary {
    background: #f5f5f5;
    color: var(--text-dark);
}

.action-btn.secondary:hover {
    background: #e0e0e0;
}

/* Entry Card */
.entry-card-page {
    padding: 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entry-card-container {
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
}

.entry-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.entry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-color);
}

.entry-card.valid::before {
    background: #4caf50;
}

.entry-card.valid {
    border: 2px solid #4caf50;
}

.entry-card.expired::before {
    background: #f44336;
}

.entry-card.expired {
    border: 2px solid #f44336;
    opacity: 0.8;
}

.entry-card.upcoming::before {
    background: #ff9800;
}

.entry-card.upcoming {
    border: 2px solid #ff9800;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.club-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card-title h2 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 4px 0;
}

.card-title p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

.status-indicator {
    text-align: center;
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.valid-badge {
    background: #e8f5e9;
    color: #2e7d32;
}

.expired-badge {
    background: #ffebee;
    color: #c62828;
}

.upcoming-badge {
    background: #fff3e0;
    color: #e65100;
}

.reservation-code-section {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 20px;
}

.code-label {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}

.code-value {
    display: block;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.reservation-details {
    margin-bottom: 20px;
}

.detail-row {
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-item i {
    width: 24px;
    color: var(--primary-color);
    font-size: 18px;
}

.detail-label {
    display: block;
    color: #666;
    font-size: 11px;
    margin-bottom: 2px;
}

.detail-value {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
}

.time-status {
    text-align: center;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 20px;
}

.time-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.valid-time {
    color: #2e7d32;
}

.expired-time {
    color: #c62828;
}

.upcoming-time {
    color: #e65100;
}

.time-remaining {
    font-size: 12px;
    color: #666;
}

.qr-code-section {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 48px;
}

.qr-text {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.card-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.footer-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.footer-time {
    font-size: 11px;
    color: #999;
}

.card-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.card-actions .btn-action {
    flex: 1;
    background: #f5f5f5;
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.card-actions .btn-action:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 60px 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page i {
    font-size: 64px;
    color: #f44336;
    margin-bottom: 24px;
}

.error-page h2 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 480px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .date-item {
        min-width: 60px;
        padding: 10px 6px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Mobile Footer - Redesigned
   ============================================ */

.mobile-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-light);
    margin-top: 60px;
    position: relative;
}

.mobile-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 0;
}

.footer-about {
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    color: var(--text-light);
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

.footer-title {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 8px 0;
}

.footer-link-list a:hover {
    color: var(--primary-color);
    padding-right: 8px;
}

.footer-link-list a i {
    font-size: 12px;
    color: var(--primary-color);
}

.footer-contact-list {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-list li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-copyright p {
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #b01a2f;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

.back-to-top i {
    font-size: 20px;
}

/* Footer Responsive */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-about {
        text-align: right;
    }
    
    .footer-logo {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .footer-description {
        margin: 0;
        text-align: right;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .back-to-top {
        left: 40px;
        bottom: 120px;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1.5fr 1.5fr;
        gap: 60px;
    }
    
    .footer-container {
        padding: 60px 40px 30px;
    }
    
    .back-to-top {
        left: 60px;
        width: 56px;
        height: 56px;
    }
    
    .back-to-top i {
        font-size: 22px;
    }
}

/* ============================================
   Cart Dropdown (سبد خرید)
   ============================================ */

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid #ffffff;
}

.cart-dropdown {
    position: fixed;
    top: 70px;
    left: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.cart-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 16px 16px 0 0;
}

.cart-dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.cart-dropdown-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.cart-dropdown-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-dropdown-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(100vh - 180px);
}

.cart-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(196, 30, 58, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.cart-item:hover {
    background: #f0f0f0;
    transform: translateX(-4px);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
}

.cart-item-link {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-item-link:hover {
    background: #b01a2f;
    transform: scale(1.1);
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.cart-empty p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Cart */
@media (max-width: 767px) {
    .cart-dropdown {
        top: 70px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 90%;
        max-width: 400px;
    }
    
    .cart-dropdown.show {
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   Blog Pages (صفحات بلاگ)
   ============================================ */

/* Blog List Page */
.page-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b01a2f 100%);
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* Blog Filters */
.blog-filters {
    padding: 0 20px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.search-form {
    margin-bottom: 15px;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #b01a2f;
}

.category-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.filter-scroll {
    display: flex;
    gap: 10px;
    padding: 5px 0;
}

.category-chip {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.category-chip.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.chip-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.category-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Blog List Container */
.blog-list-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
    font-size: 48px;
}

.blog-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.blog-card-meta i {
    margin-left: 5px;
}

.blog-date,
.blog-comments {
    display: flex;
    align-items: center;
}

.blog-card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.blog-author {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more i {
    font-size: 12px;
    transition: var(--transition);
}

.blog-card:hover .read-more i {
    transform: translateX(-3px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.empty-state p {
    font-size: 14px;
}

/* Pagination */
.pagination-wrapper {
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 10px 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination-number:hover {
    background: #f0f0f0;
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* Blog Details Page */
.blog-details-header {
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.back-btn:hover {
    color: #b01a2f;
}

.back-btn i {
    font-size: 18px;
}

/* Blog Article */
.blog-article {
    background: #ffffff;
    margin: 20px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}

.article-category {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.article-date,
.article-comments {
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #666;
    margin-top: 12px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 14px;
}

.article-author i {
    color: var(--primary-color);
}

.article-featured-image {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-header-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}

.article-header-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0 0 24px 0;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-gallery {
    margin: 24px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    font-style: italic;
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid #f0f0f0;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Related Posts */
.related-posts {
    margin: 30px 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
}

.related-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-post-card {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.related-post-card:hover {
    background: #f8f8f8;
}

.related-post-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-post-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Responsive Blog */
@media (min-width: 768px) {
    .blog-list-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-posts-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .related-post-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (min-width: 1024px) {
    .blog-list-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .article-content {
        font-size: 18px;
    }
}

/* ============================================
   Review Page (Checkout/Invoice)
   ============================================ */

.review-page {
    padding: 20px;
    min-height: calc(100vh - 70px);
    padding-bottom: 100px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* Invoice Card */
.invoice-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 24px;
}

.invoice-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b01a2f 100%);
    color: var(--text-light);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.invoice-logo img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.invoice-title h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: bold;
    color: var(--text-light);
}

.invoice-code {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.invoice-code strong {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    letter-spacing: 1px;
}

.invoice-body {
    padding: 24px 20px;
}

.invoice-section {
    margin-bottom: 24px;
}

.invoice-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.section-title i {
    color: var(--primary-color);
    font-size: 20px;
}

.invoice-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.notes-row {
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 100px;
}

.detail-value {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

/* Price Section */
.price-section {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.price-row.discount-row {
    color: #4caf50;
}

.price-row.total-row {
    border-top: 2px solid var(--primary-color);
    padding-top: 16px;
    margin-top: 8px;
}

.price-label {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-label i {
    color: var(--primary-color);
}

.price-value {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
}

.price-value.discount-value {
    color: #4caf50;
}

.price-value.total-price-value {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

/* Terms Section */
.terms-section {
    margin-top: 24px;
}

.terms-box {
    background: #fff3e0;
    border-right: 4px solid #ff9800;
    border-radius: 12px;
    padding: 16px;
}

.terms-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e65100;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
}

.terms-box h4 i {
    color: #ff9800;
}

.terms-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-list li {
    color: #e65100;
    font-size: 13px;
    line-height: 1.6;
    padding-right: 20px;
    position: relative;
}

.terms-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #ff9800;
    font-weight: bold;
    font-size: 16px;
}

/* Invoice Footer */
.invoice-footer {
    background: #f8f8f8;
    padding: 16px 20px;
    border-top: 1px solid #e0e0e0;
}

.invoice-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    justify-content: center;
}

.invoice-date i {
    color: var(--primary-color);
}

/* Review Actions */
.review-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    flex: 1;
    background: #f5f5f5;
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-proceed {
    flex: 2;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-proceed:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

.btn-proceed i {
    font-size: 18px;
}

/* Responsive Review */
@media (max-width: 480px) {
    .review-page {
        padding: 16px;
    }
    
    .invoice-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }
    
    .invoice-title h2 {
        font-size: 18px;
    }
    
    .invoice-code {
        font-size: 12px;
    }
    
    .invoice-code strong {
        font-size: 14px;
    }
    
    .invoice-body {
        padding: 20px 16px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .detail-label {
        font-size: 13px;
        min-width: 80px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .price-value.total-price-value {
        font-size: 18px;
    }
    
    .review-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-proceed {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .review-page {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .invoice-header {
        padding: 30px 28px;
    }
    
    .invoice-body {
        padding: 30px 28px;
    }
}

/* ============================================
   Club Introduction Page (صفحه معرفی باشگاه)
   ============================================ */

.club-introduction-page {
    background: #f8f9fa;
}

/* Hero Section */
.intro-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b01a2f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    padding: 40px 20px;
    background: #ffffff;
    margin-bottom: 20px;
}

.intro-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.intro-section .section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    text-align: center;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.info-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 24px;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.info-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-text a:hover {
    text-decoration: underline;
}

/* Courts Showcase */
.courts-showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.court-showcase-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: var(--transition);
}

.court-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.court-showcase-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.court-icon-large {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 32px;
    flex-shrink: 0;
}

.court-header-info {
    flex: 1;
}

.court-showcase-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.court-showcase-type {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.court-showcase-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.court-showcase-prices {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.price-item-large {
    flex: 1;
    min-width: 150px;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.price-label-large {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.price-value-large {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.court-reserve-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.court-reserve-btn-large:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Facilities Section */
.facilities-section {
    background: #f8f9fa;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.facility-item {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.facility-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b01a2f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 28px;
}

.facility-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.facility-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Features Section */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-check {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-size: 20px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b01a2f 100%);
    color: var(--text-light);
}

.cta-box-large {
    text-align: center;
    padding: 60px 20px;
}

.cta-title-large {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--text-light);
}

.cta-description-large {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Map Section */
.map-section {
    background: #f8f9fa;
}

.map-container-large {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Landing Page - Club Intro Preview */
.club-intro-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
}

.intro-preview-header {
    text-align: center;
    margin-bottom: 40px;
}

.intro-preview-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.preview-text {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.preview-text h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.preview-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 24px;
}

.preview-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.preview-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.preview-feature-item i {
    color: #4caf50;
    font-size: 18px;
}

.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.preview-btn:hover {
    background: #b01a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--primary-color);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    color: var(--text-light);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Club Introduction */
@media (min-width: 768px) {
    .intro-hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .courts-showcase {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-preview-content {
        flex-direction: row;
        align-items: center;
    }
    
    .preview-text {
        flex: 1;
    }
    
    .preview-stats {
        flex: 0 0 300px;
    }
    
    .preview-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-list {
        max-width: 900px;
    }
    
    .courts-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

