/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #1d5d99;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --background-light: #f7fafc;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary-color: #e2e8f0;
    --secondary-color: #cbd5e0;
    --accent-color: #63b3ed;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --background-light: #1a202c;
    --background-white: #2d3748;
    --border-color: #4a5568;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background-light);
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==================== WRAPPER & CARD ==================== */
.wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: visible;
    animation: fadeInCard 0.6s ease-out;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 769px) {
    .card {
        padding: 3rem 2rem;
    }
}

/* ==================== HEADER SECTION ==================== */
.booking-header {
    background: transparent;
    color: var(--text-primary);
    padding: 0;
    text-align: center;
    box-shadow: none;
    margin-bottom: 2rem;
}

.header-container {
    max-width: 100%;
    margin: 0;
}

.header-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.header-description {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ==================== MAIN CONTENT ==================== */
.booking-main {
    min-height: auto;
    display: block;
    padding: 0;
}

.booking-container {
    width: 100%;
    max-width: 1000px;
    animation: fadeIn 0.6s ease-in-out;
}

/* ==================== CALENDAR SECTION ==================== */
.calendar-section {
    margin-bottom: 3rem;
}

.calendar-wrapper {
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: slideUp 0.7s ease-in-out 0.1s both;
}

.calendar-iframe {
    width: 100%;
    height: 750px;
    min-height: 750px;
    border: none;
    display: block;
    background: var(--background-white);
}

/* Mobile optimization for iframe */
@media (max-height: 900px) {
    .calendar-iframe {
        height: 650px;
        min-height: 650px;
    }
}

@media (max-width: 640px) {
    .calendar-iframe {
        height: 600px;
        min-height: 600px;
    }
}

/* ==================== INFO SECTION ==================== */
.info-section {
    background: var(--background-white);
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: var(--shadow-md);
    animation: slideUp 0.7s ease-in-out 0.2s both;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-title {
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.info-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.info-item-title {
    font-size: clamp(0.7rem, 1.4vw, 0.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.info-item-text {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 500;
    color: var(--text-primary);
}

.info-footer {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* ==================== FOOTER SECTION ==================== */
.booking-footer {
    background: transparent;
    color: var(--text-secondary);
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 100%;
    margin: 0;
}

.booking-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.813rem;
    opacity: 0.8;
}

.footer-disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.75rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .booking-header {
        padding: 0;
    }
    
    .header-title {
        font-size: 1.875rem;
        margin-bottom: 0.5rem;
    }
    
    .header-description {
        font-size: 0.9rem;
    }
    
    .info-section {
        padding: 1.5rem 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calendar-wrapper {
        border-radius: 8px;
    }
    
    .calendar-iframe {
        height: 550px;
        min-height: 550px;
    }
}

@media (max-width: 480px) {
    .booking-header {
        padding: 0;
    }
    
    .header-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .header-description {
        font-size: 0.875rem;
        text-align: left;
    }
    
    .card {
        padding: 1.5rem 1rem;
    }
    
    .info-section {
        padding: 1.25rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .info-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
    
    .info-item-title {
        font-size: 0.75rem;
    }
    
    .info-item-text {
        font-size: 0.875rem;
    }
    
    .calendar-iframe {
        height: 480px;
        min-height: 480px;
    }
}

/* ==================== USER INFO SECTION ==================== */
.user-info-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 1.5rem 0;
    margin-bottom: 1.5rem;
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
}

.user-info-section .section-title {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.user-info-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.info-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.info-field {
    display: flex;
    flex-direction: column;
}

.info-field label {
    font-size: clamp(0.65rem, 1.3vw, 0.85rem);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-field .info-value {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-note {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
}

/* ==================== SLOTS SECTION ==================== */
.slots-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.slots-section .section-title {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.slots-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.slots-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Slots Container */
.slots-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slots-day-title {
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.slot-button {
    padding: 1rem 0.75rem;
    background: var(--background-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.slot-button:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.slot-button:active {
    transform: translateY(-2px);
}

.slot-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
    color: var(--text-secondary);
    border-color: #e5e7eb;
}

.slot-button.slot-selected {
    border-color: #10b981;
    background: #10b981;
    color: var(--background-white);
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Booked slot — visually distinct: muted red tint, not clickable */
.slot-button.slot-booked {
    background: #fef2f2;
    color: #9ca3af;
    border-color: #fca5a5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
    opacity: 0.75;
}

.slot-button.slot-booked:hover {
    background: #fef2f2;
    color: #9ca3af;
    border-color: #fca5a5;
    transform: none;
    box-shadow: none;
}

.slot-time {
    display: block;
    font-weight: 600;
}

.slot-status-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    color: #ef4444;
}

/* ==================== CONFIRMATION SECTION ==================== */
.confirmation-section {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    animation: slideIn 0.5s ease-out;
    margin-top: 2rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.confirmation-content .checkmark {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-out 0.2s backwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirmation-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.confirmation-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.booking-details {
    background: var(--background-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-label {
    font-weight: 600;
    color: var(--text-primary);
    flex: 0 0 40%;
}

.detail-value {
    color: var(--text-secondary);
    flex: 1;
    text-align: right;
}

/* ==================== DEVELOPMENT MODE STYLES ==================== */
.dev-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #FFF3CD;
    border: 1px solid #FFC107;
    border-radius: 4px;
    color: #856404;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* ==================== CALENDAR INTEGRATION ==================== */
.calendar-section-custom {
    background: var(--background-white);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.calendar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.calendar-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.calendar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-calendar {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.google-calendar {
    background: #1a365d;
    color: white;
}

.google-calendar:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.system-calendar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.system-calendar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.confirmation-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    line-height: 1.5;
}

.calendar-notice {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-left: 4px solid #0284c7;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    color: #0c4a6e;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .slot-button {
        min-height: 85px;
        padding: 1.5rem 1rem;
        font-size: 1rem;
        border: 2px solid var(--border-color);
    }

    .slot-button:active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .booking-header,
    .booking-footer {
        display: none;
    }
    
    .booking-main {
        padding: 0;
        min-height: auto;
    }
    
    .calendar-iframe {
        height: 600px;
    }
}

/* ==================== DEVELOPMENT MODE STYLES ==================== */
.dev-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: #FFF3CD;
    border: 1px solid #FFC107;
    border-radius: var(--radius-sm);
    color: #856404;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .slot-button {
        min-height: 95px;
        padding: var(--spacing-2xl) var(--spacing-lg);
        font-size: 1.15rem;
        border: 3px solid var(--border-color);
    }

    .slot-button:active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== BOOKING FORM SECTION ==================== */
.form-section {
    background: transparent;
    border: none;
    padding: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    animation: slideUp 0.5s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

.form-group label {
    display: block;
    font-size: clamp(0.75rem, 1.5vw, 0.95rem);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--background-white);
    color: var(--text-primary);
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1), 0 4px 12px rgba(26, 54, 93, 0.15);
}

.input-wrapper input:hover,
.input-wrapper select:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.08);
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1.5rem;
}

.form-header .section-title {
    margin-bottom: 0;
    flex: 1;
}

.back-button {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: var(--background-light);
    border-color: var(--accent-color);
    transform: translateX(-4px);
}

.back-button:active {
    transform: translateX(-2px);
}

/* Slot Confirmation Display */
.slot-confirmation {
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.12);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.slot-confirmation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.confirmation-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-slot-text {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}


.validation-message {
    font-size: clamp(0.7rem, 1.4vw, 0.85rem);
    color: #dc2626;
    margin-top: 0.5rem;
    display: block;
    min-height: 1.2rem;
    font-weight: 500;
    animation: slideInError 0.3s ease-out;
}

.validation-message::before {
    content: '✗ ';
    margin-right: 4px;
    font-weight: 600;
}

.validation-message:empty {
    animation: none;
}

.button-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    min-height: 50px;
    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.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--background-white);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .form-header {
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .form-header .section-title {
        flex: none;
        margin-bottom: 0;
        width: 100%;
    }

    .back-button {
        align-self: flex-start;
        width: 100%;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .booking-header,
    .booking-footer {
        display: none;
    }
    
    .booking-main {
        padding: 0;
        min-height: auto;
    }
    
    .calendar-iframe {
        height: 600px;
    }
}
