/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-header: #2d2435;
    --bg-footer: #7B2CBF;
    --text-primary: #000000;
    --text-secondary: #ffffff;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --accent-purple: #FF6B35;
    --accent-purple-light: #FF8C5A;
    --accent-purple-dark: #E55A2B;
    --card-bg: #ffffff;
    --selected-day: #FF6B35;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --header-height: 70px;
    --footer-height: 60px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-header);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo-title {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-purple);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.phone-link:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-link {
    color: var(--text-secondary);
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.social-link:hover {
    opacity: 0.7;
}

.login-btn {
    background-color: #53a52f;
    color: var(--text-secondary);
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.login-btn:hover {
    background-color: #4a9429;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-primary);
}

.logout-btn {
    background-color: #dc3545;
    color: #ffffff;
    border: 1px solid #dc3545;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.logout-btn:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 20px 0;
    background-color: var(--bg-primary);
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--accent-purple);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Content Pages Styles */
.content-section {
    padding: 40px 20px;
    background-color: var(--bg-primary);
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.content-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
}

.content-text {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    line-height: 1.8;
    max-width: 100%;
    margin-top: 60px;
}

.content-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-align: left;
}

.content-text h2:first-of-type {
    margin-top: 0;
}

.content-text p {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.8;
    max-width: 100%;
}

.content-text ul {
    margin-bottom: 24px;
    padding-left: 24px;
    text-align: left;
}

.content-text li {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.8;
    text-align: left;
}

.content-text a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-text a:hover {
    color: var(--accent-purple-dark);
    text-decoration: underline;
}

/* Email Confirmation Styles */
.confirm-email-container {
    max-width: 600px;
    margin: 60px auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
}

.confirm-email-loading,
.confirm-email-success,
.confirm-email-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.confirm-email-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.confirm-email-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.confirm-email-icon.success-icon {
    background-color: #d4edda;
    color: #28a745;
}

.confirm-email-icon.error-icon {
    background-color: #f8d7da;
    color: #dc3545;
}

.confirm-email-icon svg {
    width: 48px;
    height: 48px;
}

.confirm-email-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.02em;
}

.confirm-email-text {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.confirm-email-message {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

.confirm-email-button {
    display: inline-block;
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.confirm-email-button:hover {
    background-color: var(--accent-purple-dark);
}

.confirm-email-button.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.confirm-email-button.secondary:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.confirm-email-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.content-contact {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 16px;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.8;
}

.content-contact a {
    color: var(--accent-purple);
}

/* Hero Section */
.hero-section {
    padding: 100px 20px 120px 20px;
    min-height: 80vh;
    background-color: var(--bg-primary);
    background-image: url('icons/background2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--header-height) + 80px);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000000,
        1px -1px 0 #000000,
        -1px 1px 0 #000000,
        1px 1px 0 #000000;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 
        -1px -1px 0 #000000,
        1px -1px 0 #000000,
        -1px 1px 0 #000000,
        1px 1px 0 #000000;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    display: inline-block;
}

.hero-button.primary {
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    border: 2px solid var(--accent-purple);
}

.hero-button.primary:hover {
    background-color: var(--accent-purple-dark);
    border-color: var(--accent-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.hero-button.secondary {
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    border: 2px solid var(--accent-purple);
}

.hero-button.secondary:hover {
    background-color: var(--accent-purple-dark);
    border-color: var(--accent-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}


/* Map Section */
.map-section {
    padding: 60px 20px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.map-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background-color: var(--card-bg);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.map-address {
    text-align: center;
    position: relative;
    z-index: 1;
}

.address-phone-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

.address-phone-link:hover {
    text-decoration: underline;
}

.address-text {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 500;
    margin: 8px 0;
}

/* Booking Header Section */
.booking-header-section {
    padding: 40px 20px 20px;
    background-color: var(--bg-primary);
}

.booking-header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.trainer-mode-badge {
    margin: 12px auto 0;
    max-width: fit-content;
    padding: 6px 16px;
    border-radius: 20px;
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Trainer Reservations Section */
.trainer-reservations-section {
    padding: 20px 20px 60px;
    background-color: var(--bg-primary);
}

.trainer-reservations-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trainer-reservations-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    text-align: center;
}

.trainer-reservations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.trainer-reservation-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.trainer-reservation-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trainer-reservation-time {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.trainer-reservation-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.trainer-cancel-button {
    background-color: #e53935;
    color: var(--text-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.trainer-cancel-button:hover {
    background-color: #c62828;
}

.trainer-cancel-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.trainer-pagination-bar {
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 16px auto 0;
}

.trainer-page-btn {
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: var(--font-primary);
}

.trainer-page-btn:hover:not(:disabled) {
    background-color: var(--accent-purple-dark);
}

.trainer-page-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.trainer-page-info {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.trainer-page-size {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--card-bg);
    cursor: pointer;
}

/* Calendar Section */
.calendar-section {
    padding: 20px 20px 0;
    background-color: var(--bg-primary);
}

.calendar-container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.months-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 10px;
    width: 100%;
}

.month-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.month-btn.active {
    color: var(--accent-purple);
    font-weight: 600;
}

.month-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-purple);
}

.month-btn:hover {
    color: var(--accent-purple);
}

.days-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: center;
    width: 100%;
}

.day-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 50px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.day-item:hover {
    background-color: var(--bg-secondary);
}

.day-name {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.day-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.day-item.active .day-number {
    background-color: var(--selected-day);
    color: var(--text-secondary);
}

/* Booking Content Section */
.booking-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.booking-header {
    margin-bottom: 20px;
    text-align: center;
}

.training-title {
    display: inline-block;
    background-color: var(--bg-secondary);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.time-slots-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 8px;
}

.time-slot-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: default;
    transition: all 0.2s ease;
}

.time-slot-card:hover {
    border-color: var(--border-color);
    box-shadow: none;
}

.time-slot-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.time-slot-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.time-range {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.available-tables {
    font-size: 14px;
    color: var(--text-muted);
}

.table-numbers {
    font-weight: 500;
    color: var(--text-primary);
}

.time-slot-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.table-book-button {
    background-color: #ff6b35;
    color: var(--text-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.table-book-button:hover {
    background-color: #e55a2b;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.table-book-button:active {
    transform: scale(0.98);
}

.slots-empty {
    padding: 24px 16px;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.no-slots-label {
    font-size: 13px;
    color: #bbb;
    font-weight: 500;
}

.booking-auth-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.booking-auth-text {
    font-size: 12px;
    color: #666;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.booking-login-btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.booking-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-modal-content {
    background-color: var(--bg-primary);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-width: min(500px, 90vw);
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 20px;
    min-height: 300px;
}

.booking-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    z-index: 10;
}

.booking-modal-close:hover {
    color: var(--accent-purple);
}

.booking-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-align: center;
}

.booking-modal-info {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.booking-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.booking-info-item:last-child {
    margin-bottom: 0;
}

.booking-info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.booking-info-value {
    color: var(--text-primary);
    font-weight: 600;
}

.booking-modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-modal-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-input,
.booking-table-select {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.2s ease;
    width: 100%;
}

.booking-input {
    cursor: text;
}

.booking-table-select {
    cursor: pointer;
}

.booking-input:focus,
.booking-table-select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

.booking-input.invalid {
    border-color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.2);
}

.booking-input.invalid:focus {
    border-color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

.booking-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.required {
    color: #ff6b35;
    font-weight: 700;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent-purple);
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--accent-purple);
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 53, 0.5);
    transition: color 0.2s ease;
}

.checkbox-label a:hover {
    color: var(--accent-purple-dark);
    text-decoration-color: var(--accent-purple-dark);
}

.booking-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #ff6b35;
    flex-shrink: 0;
}

.privacy-link {
    color: var(--accent-purple);
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 53, 0.5);
    transition: all 0.2s ease;
}

.privacy-link:hover {
    color: var(--accent-purple-dark);
    text-decoration-color: var(--accent-purple-dark);
}

.booking-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    z-index: 20;
}

.booking-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.booking-modal-form.loading {
    opacity: 0.3;
    pointer-events: none;
}

.booking-message {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.booking-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.booking-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.success-modal-content {
    text-align: center;
    padding: 48px 32px;
}

.success-message {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.6;
}

#successModalOkBtn {
    width: 100%;
    margin-top: 0;
}

.booking-submit-btn {
    background-color: #ff6b35;
    color: var(--text-secondary);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}

.booking-submit-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.booking-submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 24px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-auth-test {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-test-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.footer-test-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.auth-test-result {
    font-size: 12px;
    font-weight: 600;
}

/* Test Buttons */
.test-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.test-btn {
    background-color: #FF6B35;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.test-btn:hover {
    background-color: #E55A2B;
    transform: translateY(-1px);
}

.test-btn:active {
    transform: translateY(0);
}

.test-btn:disabled {
    background-color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.login-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background-color: var(--bg-primary);
    border-radius: 16px;
    padding: 48px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.login-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.login-modal-close:hover {
    color: var(--accent-purple);
}

.login-modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-align: center;
}

.login-modal-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.auth-choice-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}

.auth-choice-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--accent-purple);
    background-color: var(--accent-purple);
    color: var(--text-secondary);
}

.auth-choice-btn:hover {
    background-color: var(--accent-purple-dark);
    border-color: var(--accent-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.auth-form-screen {
    width: 100%;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-input {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.2s ease;
    width: 100%;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

.auth-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.forgot-password-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    width: fit-content;
    margin-left: auto;
}

.forgot-password-link:hover {
    color: var(--accent-purple-dark);
    text-decoration: underline;
}

.auth-form-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 32px;
}

.form-footer {
    margin-top: 16px;
    text-align: center;
}

.back-to-login-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-login-link:hover {
    color: var(--accent-purple-dark);
    text-decoration: underline;
}

.auth-submit-btn {
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}

.auth-submit-btn:hover:not(:disabled) {
    background-color: var(--accent-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.auth-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.auth-submit-btn .btn-text {
    display: inline-block;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Message */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.message-icon {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
}

.message-icon.success-icon {
    color: #155724;
}

.message-icon.error-icon {
    color: #721c24;
}

.message-text {
    flex: 1;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    border: 2px solid transparent;
    color: var(--text-secondary);
}

.login-social-btn svg,
.login-social-btn img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.social-link img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.login-social-btn.yandex-btn {
    background-color: #FC3F1D;
}

.login-social-btn.yandex-btn:hover {
    background-color: #E02E0A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 63, 29, 0.3);
}

.login-social-btn.vk-btn {
    background-color: #0077FF;
}

.login-social-btn.vk-btn:hover {
    background-color: #0051CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

.login-social-btn.telegram-btn {
    background-color: #0088cc;
}

.login-social-btn.telegram-btn:hover {
    background-color: #006ba3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.login-social-btn.google-btn {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #dadce0;
}

.login-social-btn.google-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-social-btn.google-btn svg {
    width: 24px;
    height: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scrollbar Styling */
.time-slots-container::-webkit-scrollbar {
    width: 6px;
}

.time-slots-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Advantages Section */
.advantages-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advantages-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 2px solid rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.6);
    background-color: rgba(255, 255, 255, 1);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 16px;
    }

    .logo-title {
        font-size: 15px;
    }

    .header-nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }

    .header-contacts {
        display: none;
    }

    .social-links {
        display: none;
    }
}

@media (max-width: 1190px) {
    .header-contacts {
        display: none;
    }

    .social-links {
        display: none;
    }
    
    .booking-header-section {
        padding: 30px 16px 16px;
    }
    
    .booking-title {
        font-size: 32px;
    }
    
    .calendar-section {
        padding: 16px 16px 0;
    }
    
    .booking-content {
        padding: 16px;
        max-width: 700px;
    }
    
    .time-slot-card {
        padding: 14px 18px;
    }
    
    .time-slot-right {
        gap: 20px;
    }
    
    .table-book-button {
        padding: 10px 18px;
    }
    
    .content-section {
        padding: 30px 16px;
    }
    
    .content-title {
        font-size: 32px;
        text-align: center;
    }
    
    .content-subtitle {
        text-align: center;
        margin-bottom: 0;
    }
    
    .content-text {
        padding: 32px 24px;
        margin-top: 50px;
    }
    
    .content-text h2 {
        font-size: 22px;
        text-align: left;
    }
    
    .content-text p,
    .content-text li {
        text-align: left;
    }
    
    .confirm-email-container {
        margin: 40px auto;
        padding: 32px 24px;
    }
    
    .confirm-email-title {
        font-size: 24px;
    }
    
    .confirm-email-icon {
        width: 64px;
        height: 64px;
    }
    
    .confirm-email-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .confirm-email-message {
        font-size: 15px;
    }
    
    .confirm-email-button {
        padding: 10px 24px;
        font-size: 15px;
    }
    
    .confirm-email-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .confirm-email-actions .confirm-email-button {
        width: 100%;
    }
    
    .content-contact {
        text-align: center;
    }
    
    .booking-modal-content {
        padding: 28px 24px;
        max-width: 90%;
    }
    
    .booking-modal-title {
        font-size: 26px;
        margin-bottom: 22px;
    }
    
    .booking-modal-info {
        padding: 18px;
        margin-bottom: 22px;
    }
    
    .booking-info-item {
        font-size: 15px;
    }
    
    .booking-submit-btn {
        padding: 13px 28px;
        font-size: 15px;
    }
    
    .footer {
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --footer-height: 70px;
    }
    
    .header-container {
        padding: 0 12px;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--bg-header);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .header-nav.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 14px;
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
    
    .logo-img {
        height: 32px;
        border-radius: 8px;
    }
    
    .logo-title {
        font-size: 14px;
    }
    
    .header-right {
        gap: 8px;
        order: 3;
    }
    
    .header-contacts {
        display: none;
    }
    
    .social-links {
        display: none;
    }
    
    .login-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .breadcrumbs {
        padding: 16px 12px 0;
    }
    
    .calendar-section {
        padding: 16px 12px 0;
    }
    
    .booking-header-section {
        padding: 20px 16px 16px;
    }
    
    .booking-title {
        font-size: 28px;
    }
    
    .booking-content {
        padding: 16px 12px;
        max-width: 100%;
    }
    
    .days-row {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }
    
    .day-item {
        min-width: 50px;
        padding: 6px;
    }
    
    .day-name {
        font-size: 12px;
    }
    
    .time-slots-container {
        max-height: 50vh;
    }
    
    .time-slot-card {
        flex-wrap: wrap;
    }
    
    .time-slot-info {
        min-width: 200px;
        flex: 1 1 auto;
    }
    
    .table-book-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .footer {
        padding: 20px 16px;
        margin-top: 30px;
    }
    
    .footer-text {
        font-size: 13px;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-button {
        width: 100%;
        max-width: 300px;
    }
    
    .map-section {
        padding: 40px 20px;
    }
    
    .map-title {
        font-size: 28px;
    }
    
    .map-wrapper {
        height: 400px;
    }
    
    .advantages-section {
        padding: 40px 20px;
    }
    
    .advantages-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .months-row {
        gap: 16px;
    }
    
    .month-btn {
        font-size: 14px;
    }
    
    .days-row {
        gap: 12px;
    }
    
    .day-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .training-title {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .time-slot-card {
        padding: 14px 16px;
    }
    
    .time-range {
        font-size: 15px;
    }
    
    .available-tables {
        font-size: 13px;
    }
    
    .time-slot-price {
        font-size: 15px;
    }
    
    .booking-modal-content {
        padding: 28px 20px;
        max-width: 92%;
        border-radius: 12px;
    }
    
    .booking-modal-close {
        top: 16px;
        right: 16px;
        font-size: 28px;
    }
    
    .booking-modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .booking-modal-info {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .booking-info-item {
        font-size: 14px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    
    .booking-info-label {
        font-size: 13px;
    }
    
    .booking-info-value {
        font-size: 14px;
    }
    
    .booking-modal-form {
        gap: 16px;
    }
    
    .booking-modal-form label {
        font-size: 13px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
    
    .booking-checkbox {
        width: 16px;
        height: 16px;
    }
    
    .booking-table-select {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .booking-submit-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: nowrap;
    }

    .header-right {
        gap: 6px;
    }

    .user-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 1px;
    }

    .user-name {
        font-size: 11px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logout-btn {
        padding: 3px 8px;
        font-size: 11px;
    }

    .header-nav {
        padding: 16px;
        gap: 12px;
    }

    .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }

    .logo-title {
        font-size: 13px;
    }

    .login-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .months-row {
        gap: 12px;
    }
    
    .month-btn {
        font-size: 13px;
    }
    
    .days-row {
        gap: 8px;
    }
    
    .day-item {
        min-width: 45px;
    }
    
    .day-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .booking-header-section {
        padding: 16px 12px 12px;
    }
    
    .booking-title {
        font-size: 24px;
    }
    
    .calendar-section {
        padding: 12px 8px 0;
    }
    
    .days-row {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .days-row::-webkit-scrollbar {
        height: 4px;
    }
    
    .days-row::-webkit-scrollbar-track {
        background: var(--bg-secondary);
    }
    
    .days-row::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
    
    .day-item {
        min-width: 40px;
        padding: 4px;
        flex-shrink: 0;
    }
    
    .day-name {
        font-size: 11px;
    }
    
    .day-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .booking-content {
        padding: 12px 8px;
    }
    
    .time-slots-container {
        max-height: 45vh;
        gap: 10px;
    }
    
    .time-slot-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 14px;
    }
    
    .time-slot-info {
        width: 100%;
        min-width: 0;
    }
    
    .time-range {
        font-size: 14px;
    }
    
    .available-tables {
        font-size: 12px;
    }
    
    .time-slot-right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .time-slot-price {
        font-size: 14px;
        align-self: flex-start;
    }
    
    .table-book-button {
        width: auto;
        flex: 1;
        min-width: 120px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .booking-modal {
        padding: 10px;
        align-items: flex-end;
    }
    
    .booking-modal-content {
        padding: 20px 16px;
        max-width: 100%;
        width: calc(100% - 20px);
        border-radius: 12px 12px 0 0;
        max-height: 90vh;
        overflow-y: auto;
        margin: 0;
    }
    
    .booking-modal-close {
        top: 12px;
        right: 12px;
        font-size: 24px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
    }
    
    .booking-modal-title {
        font-size: 20px;
        margin-bottom: 16px;
        padding-right: 40px;
    }
    
    .booking-modal-info {
        padding: 14px;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    
    .booking-info-item {
        font-size: 13px;
        margin-bottom: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .booking-info-label {
        font-size: 12px;
        color: var(--text-muted);
    }
    
    .booking-info-value {
        font-size: 14px;
        font-weight: 600;
    }
    
    .booking-modal-form {
        gap: 14px;
    }
    
    .booking-modal-form label {
        font-size: 12px;
    }
    
    .checkbox-label {
        font-size: 12px;
        gap: 8px;
    }
    
    .booking-checkbox {
        width: 16px;
        height: 16px;
        margin-top: 1px;
    }
    
    .booking-table-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .booking-submit-btn {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
    }
    
    .footer {
        padding: 16px 12px;
        margin-top: 20px;
    }
    
    .footer-container {
        padding: 0;
    }
    
    .footer-text {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .footer-links {
        gap: 6px;
        margin-top: 6px;
    }
    
    .footer-link {
        font-size: 11px;
    }
    
    .footer-separator {
        font-size: 11px;
    }
    
    .content-section {
        padding: 20px 16px;
    }
    
    .content-title {
        font-size: 28px;
        text-align: center;
    }
    
    .content-subtitle {
        font-size: 16px;
        margin-bottom: 0;
        text-align: center;
    }
    
    .content-text {
        padding: 24px 20px;
        margin-top: 40px;
    }
    
    .content-text h2 {
        font-size: 20px;
        margin-top: 28px;
        margin-bottom: 16px;
        text-align: left;
    }
    
    .confirm-email-container {
        margin: 30px auto;
        padding: 24px 20px;
    }
    
    .confirm-email-title {
        font-size: 20px;
    }
    
    .confirm-email-icon {
        width: 56px;
        height: 56px;
    }
    
    .confirm-email-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .confirm-email-message {
        font-size: 14px;
    }
    
    .confirm-email-button {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .content-text p {
        font-size: 15px;
        margin-bottom: 16px;
        text-align: left;
        line-height: 1.7;
    }
    
    .content-text li {
        font-size: 15px;
        margin-bottom: 12px;
        text-align: left;
        line-height: 1.7;
    }
    
    .content-text ul {
        padding-left: 20px;
        margin-bottom: 20px;
    }
    
    .content-contact {
        text-align: center;
        margin-top: 32px;
        padding-top: 24px;
        font-size: 15px;
    }
    
    .hero-section {
        padding: 30px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .map-section {
        padding: 30px 16px;
    }
    
    .map-title {
        font-size: 24px;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .address-text {
        font-size: 16px;
    }
    
    .advantages-section {
        padding: 30px 16px;
    }
    
    .advantages-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .advantage-item {
        padding: 16px;
    }
    
    .advantage-icon {
        width: 48px;
        height: 48px;
    }
    
    .advantage-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .advantage-text {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .logo-title {
        display: none;
    }
}

/* Tournaments Section */
.tournaments-section {
    padding: 40px 20px;
    background-color: var(--bg-primary);
}

.tournament-card.loading {
    position: relative;
    pointer-events: none;
}

.tournament-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    z-index: 10;
}

.tournament-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.tournaments-container {
    max-width: 800px;
    margin: 0 auto;
}

.tournaments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.tournaments-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex: 1;
    min-width: 200px;
}

.tournament-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.tournament-register-btn:hover {
    background-color: #006ba3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.tournament-register-btn svg,
.tournament-register-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.tournaments-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tournament-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.tournament-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
}

.tournament-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.tournament-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.tournament-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tournament-text {
    flex: 1;
}

.tournament-info-item.promotion {
    background-color: rgba(255, 107, 53, 0.05);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-purple);
}

.tournament-players {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.players-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-primary);
    padding: 8px 0;
}

.player-number {
    color: var(--text-muted);
    min-width: 30px;
}

.player-name {
    flex: 1;
}

.player-rating {
    color: var(--accent-purple);
    font-weight: 600;
}

.player-partner {
    color: var(--text-muted);
    font-size: 14px;
    margin-left: 8px;
}

.player-item.extra-player {
    color: var(--text-muted);
    font-style: italic;
}

.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--accent-purple);
    color: var(--text-secondary);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-decoration: none;
    margin-top: 24px;
}

.register-btn:hover {
    background-color: var(--accent-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.register-btn svg {
    width: 20px;
    height: 20px;
}

.no-tournaments {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    padding: 60px 20px;
}

/* Responsive for tournaments */
@media (max-width: 768px) {
    .tournaments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .tournaments-title {
        font-size: 36px;
        text-align: left;
    }
    
    .tournament-register-btn {
        width: 100%;
        justify-content: center;
    }
    
    .tournament-card {
        padding: 24px;
    }
    
    .tournament-info-item {
        font-size: 15px;
    }
    
    .players-title {
        font-size: 16px;
    }
    
    .footer {
        padding: 20px 16px;
        margin-top: 30px;
    }
    
    .footer-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tournaments-section {
        padding: 20px 16px;
    }
    
    .tournaments-header {
        gap: 16px;
    }
    
    .tournaments-title {
        font-size: 28px;
    }
    
    .tournament-register-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .tournament-card {
        padding: 20px;
    }
    
    .tournament-info-item {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .tournament-icon {
        font-size: 18px;
    }
    
    .players-title {
        font-size: 16px;
    }
    
    .player-item {
        font-size: 14px;
    }
    
    .footer {
        padding: 16px 12px;
        margin-top: 20px;
    }
    
    .footer-container {
        padding: 0;
    }
    
    .footer-text {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Responsive for Login Modal */
@media (max-width: 768px) {
    .login-modal-content {
        padding: 32px 24px;
        max-width: 90%;
    }
    
    .login-modal-title {
        font-size: 28px;
    }
    
    .auth-choice-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .auth-form {
        gap: 18px;
    }
    
    .auth-input {
        padding: 11px 14px;
        font-size: 15px;
    }
    
    .auth-submit-btn {
        padding: 13px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .login-modal-content {
        padding: 24px 20px;
    }
    
    .login-modal-title {
        font-size: 24px;
    }
    
    .auth-choice-buttons {
        gap: 12px;
        margin-top: 20px;
    }
    
    .auth-choice-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .auth-form {
        gap: 16px;
        margin-top: 20px;
    }
    
    .auth-form label {
        font-size: 13px;
    }
    
    .auth-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .auth-submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
