/* ============================================
   STUDIO FITNESS - PUBLIKUS OLDAL STÍLUSOK
   ============================================ */

/* === CSS VÁLTOZÓK === */
:root {
    /* Modernizált színpaletta - Indigo + Emerald */
    --primary-color: #4f46e5;       /* Indigo-600 */
    --primary-dark: #4338ca;        /* Indigo-700 */
    --primary-light: #eef2ff;       /* Indigo-50 */
    --primary-hover: #6366f1;       /* Indigo-500 */
    
    --secondary-color: #10b981;     /* Emerald-500 */
    --secondary-dark: #059669;      /* Emerald-600 */
    --secondary-light: #d1fae5;     /* Emerald-100 */
    
    --success-color: #10b981;       /* Emerald-500 */
    --error-color: #ef4444;         /* Red-500 */
    --warning-color: #f59e0b;       /* Amber-500 */
    --info-color: #3b82f6;          /* Blue-500 */
    
    /* Szürke skála */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Felületek */
    --bg-page: #f8fafc;             /* Világos szürke háttér (nem gradiens!) */
    --bg-primary: #ffffff;
    --bg-secondary: var(--gray-50);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --border-color: var(--gray-200);
    
    /* Betűtípusok */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    
    /* Árnyékok - modernizálva */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Animációk - spring-szerű easing */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border radius - egységesített */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Méret */
    --max-width: 1280px;
    --header-height: 80px;
}

/* === ALAPÉRTELMEZETT STÍLUSOK === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-page);      /* Egyszínű, modern háttér */
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === HEADER === */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    transition: all var(--transition-base);
}

.header:hover {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.header-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* === MAIN CONTAINER === */
.main-container {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* === WEEK NAVIGATION === */
.week-navigation {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    transition: box-shadow var(--transition-base);
}

.week-navigation:hover {
    box-shadow: var(--shadow-md);
}

.week-display {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1 1 auto;
    text-align: center;
}

.week-nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* === WEEK GRID (DESKTOP) === */
.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.875rem; /* Kompaktabb elrendezés */
}

.day-column {
    background: var(--bg-primary);
    border-radius: var(--radius-lg); /* Kisebb border-radius */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    min-height: 220px; /* Minimum magasság konzisztencia miatt */
}

.day-column:hover {
    transform: translateY(-2px); /* Finomabb hover */
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.day-column.today {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 0 3px var(--secondary-light);
}

.day-column.today:hover {
    box-shadow: 0 0 0 3px var(--secondary-light), var(--shadow-lg);
}

.day-column.past {
    opacity: 0.5;
    pointer-events: none; /* Nem klikkelhetőek a múltbeli napok */
}

.day-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 0.875rem 0.75rem; /* Kompaktabb padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.day-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px; /* Kisebb díszítő elem */
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transform: skewX(-15deg) translateX(40px);
}

.day-column.today .day-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.day-name {
    font-size: 0.6875rem; /* Kisebb betűméret */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.day-date {
    font-size: 1.5rem; /* Kisebb, de olvasható */
    font-weight: 700;
    margin-top: 0.15rem;
}

.day-slots {
    padding: 0.75rem; /* Kompaktabb padding */
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* Kisebb gap */
    min-height: 140px; /* Kisebb minimum magasság */
    flex: 1; /* Kitölti a maradék helyet */
}

/* === DAY VIEW (MOBIL) === */
.day-view {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.day-view h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.slots-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* === SLOT CARDS === */
.slot-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md); /* Kisebb border-radius */
    padding: 0.875rem; /* Kompaktabb padding */
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.slot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px; /* Vékonyabb jelzővonal */
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.slot-card:hover::before {
    transform: scaleY(1);
}

.slot-card:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-1px); /* Finomabb hover */
    box-shadow: var(--shadow-md);
}

.slot-card.full {
    background: var(--gray-50);
    border-color: var(--gray-300);
    opacity: 0.65;
    cursor: not-allowed;
}

.slot-card.full::before {
    background: var(--gray-400);
}

.slot-card.full:hover {
    transform: none;
    box-shadow: none;
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.slot-time {
    font-size: 0.9375rem; /* Kisebb betűméret */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem; /* Kisebb margin */
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* === ÚJ ÁRAZÁS MEGJELENÍTÉS (TOVÁBBFEJLESZTVE) === */
.slot-pricing {
    display: flex;
    flex-direction: column; /* Függőleges elrendezés a kompaktabb megjelenésért */
    gap: 0.375rem;
    margin: 0.5rem 0;
}

.price-single,
.price-double {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.price-single {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--gray-50);
}

.price-single::before {
    content: '🧍';
    font-size: 0.875rem;
    margin-right: 0.375rem;
}

.price-double {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary-dark);
    background: var(--secondary-light);
    border: 1px solid var(--secondary-color);
}

.price-double::before {
    content: '🧍🧍';
    font-size: 0.875rem;
    margin-right: 0.375rem;
}

.price-separator {
    display: none; /* Elrejtjük a "vagy" szót a kompaktabb dizájnhoz */
}

.slot-status {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.status-badge {
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-badge.available {
    background: var(--secondary-light);
    color: var(--secondary-dark);
}

.status-badge.full {
    background: var(--gray-200);
    color: var(--gray-600);
}

.slot-time::before {
    content: '🕐';
    font-size: 1.25rem;
}

.slot-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.slot-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.slot-spots {
    background: var(--success-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.slot-spots::before {
    content: '👥';
    font-size: 0.875rem;
}

.slot-spots.full {
    background: var(--gray-400);
}

.slot-spots.low {
    background: var(--warning-color);
}

.no-slots,
.no-slots-small {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
    font-style: italic;
}

.no-slots-small {
    padding: 0.75rem; /* Kompaktabb padding */
    font-size: 0.8125rem; /* Kisebb betűméret */
    opacity: 0.7; /* Halvány megjelenés */
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-100);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-slow);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 1.5rem;
}

.modal-info {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.modal-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-info-item:last-child {
    border-bottom: none;
}

.modal-info-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.modal-info-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* === VENDÉGSZÁM VÁLASZTÓ === */
.guest-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
}

.guest-option {
    cursor: pointer;
    position: relative;
}

.guest-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition-base);
    background: white;
    position: relative;
}

.guest-option:hover .option-card {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.guest-option input[type="radio"]:checked ~ .option-card,
.guest-option.selected .option-card {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.option-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.guest-option.selected .option-price {
    color: var(--primary-dark);
}

/* === FIZETENDŐ ÖSSZEG === */
.booking-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.total-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-label .required {
    color: var(--error-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-block {
    width: 100%;
}

.btn-cancel {
    background: var(--gray-200);
    color: var(--text-primary);
}

.btn-cancel:hover {
    background: var(--gray-300);
}

.btn-confirm {
    background: var(--primary-color);
    color: white;
}

.btn-confirm:hover {
    background: var(--primary-dark);
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    min-width: 320px;
    max-width: 420px;
    transform: translateX(calc(100% + 3rem));
    opacity: 0;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    border-left-width: 4px;
    border-left-color: var(--info-color);
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast::before {
    content: 'ℹ️';
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-success {
    border-left-color: var(--success-color);
    background: linear-gradient(to right, #f0fdf4 0%, #ffffff 100%);
    color: #166534;
}

.toast.toast-success::before {
    content: '✅';
}

.toast.toast-error {
    border-left-color: var(--error-color);
    background: linear-gradient(to right, #fef2f2 0%, #ffffff 100%);
    color: #991b1b;
}

.toast.toast-error::before {
    content: '❌';
}

.toast.toast-info {
    border-left-color: var(--info-color);
    background: linear-gradient(to right, #eff6ff 0%, #ffffff 100%);
    color: #1e40af;
}

.toast.toast-warning {
    border-left-color: var(--warning-color);
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 100%);
    color: #92400e;
}

.toast.toast-warning::before {
    content: '⚠️';
}

/* === LOADING SPINNER === */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === SUCCESS MESSAGE === */
.success-details {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.success-details p {
    margin: 0.5rem 0;
}

.info-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

/* === UTILITIES === */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .week-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 oszlop tableten */
        gap: 0.75rem;
    }
    
    .day-column {
        min-height: 200px;
    }
    
    .day-header {
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --font-size-base: 14px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .header-info {
        display: none;
    }
    
    /* User menu mobile */
    .user-name {
        display: none; /* Csak avatar mobilon */
    }
    
    .user-menu-trigger {
        padding: 0.375rem 0.75rem;
    }
    
    .user-avatar {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
    
    .dropdown-icon {
        display: none;
    }
    
    /* Auth links mobile */
    .auth-links {
        gap: 0.5rem;
    }
    
    .btn-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-primary-sm {
        padding: 0.375rem 1rem;
        font-size: 0.875rem;
    }
    
    .main-container {
        margin: 1rem auto;
        padding: 0 1rem;
    }
    
    .week-navigation {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .week-display {
        font-size: 0.9375rem;
        order: -1; /* Dátum fentebb */
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
    
    .week-grid {
        grid-template-columns: 1fr; /* Egy oszlop mobile-on */
        gap: 0.75rem;
    }
    
    /* Mobile-on kisebb day-column */
    .day-column {
        min-height: 0; /* Rugalmas magasság mobile-on */
    }
    
    .day-header {
        padding: 0.75rem;
    }
    
    .day-name {
        font-size: 0.75rem;
    }
    
    .day-date {
        font-size: 1.375rem;
    }
    
    .day-slots {
        padding: 0.75rem;
        gap: 0.5rem;
        min-height: 0;
    }
    
    /* Slot card mobile optimalizálás */
    .slot-card {
        padding: 0.75rem;
    }
    
    .slot-time {
        font-size: 0.875rem;
    }
    
    .slot-pricing {
        gap: 0.25rem;
        margin: 0.375rem 0;
    }
    
    .price-single,
    .price-double {
        font-size: 0.75rem;
        padding: 0.25rem 0.375rem;
    }
    
    .modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .week-nav-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn {
        flex: 1;
        justify-content: center;
    }
}

/* === USER MENU === */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.user-menu-trigger:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.user-menu-trigger:hover .user-name {
    color: white;
}

.dropdown-icon {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform var(--transition-fast);
}

.user-menu-trigger:hover .dropdown-icon {
    color: white;
}

.user-menu:hover .dropdown-icon {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-item:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 1px solid var(--gray-200);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.dropdown-item span:first-child {
    font-size: 1.2rem;
}

/* === AUTH LINKS === */
.auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-link:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.btn-primary-sm {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border: 2px solid var(--primary-color);
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === INFO BOX === */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 2px solid;
}

.info-box.success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.info-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

.info-content strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 0.95rem;
    margin: 0;
}

/* === OFFLINE BANNER === */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.offline-banner:not(.hidden) {
    transform: translateY(0);
}

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

/* === DARK MODE SUPPORT (opcionális) === */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: var(--gray-800);
        --bg-secondary: var(--gray-900);
        --text-primary: var(--gray-100);
        --text-secondary: var(--gray-400);
        --border-color: var(--gray-700);
    }
    
    body {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    
    .header {
        background: rgba(31, 41, 55, 0.98);
    }
    
    .day-column {
        background: var(--gray-800);
    }
    
    .slot-card {
        background: var(--gray-700);
        border-color: var(--gray-600);
    }
    
    .slot-card:hover {
        background: var(--gray-600);
    }
}
