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

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

@keyframes shimmerText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 25px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 35px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.6);
    }
}

@keyframes deluxeGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes formFieldGlow {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15), 0 0 5px rgba(212, 175, 55, 0.05);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25), 0 0 8px rgba(212, 175, 55, 0.1);
    }
}

.booking-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #2d2d44 100%);
    min-height: 80vh;
    animation: fadeInSlow 0.6s ease-out 0.1s forwards;
    opacity: 1;
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: deluxeGradient 8s ease infinite;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.calendar-section,
.booking-form-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(45, 45, 68, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    opacity: 1 !important;
    position: relative;
    overflow: visible;
    display: block !important;
    visibility: visible !important;
}

.calendar-section {
    align-self: start;
    height: fit-content;
}

.calendar-section::before,
.booking-form-section::before {
    display: none;
}

.calendar-section h2,
.booking-form-section h2 {
    color: #f5f5f5;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
    opacity: 1;
    position: relative;
}

/* Calendar Styles */
.calendar-wrapper {
    max-width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(201, 169, 97, 0.2) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    color: #f5f5f5;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #f5f5f5;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8c547 50%, #f5f5f5 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
}

.calendar-nav,
.calendar-nav-btn {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(45, 45, 68, 0.95) 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: #e8c547;
    font-size: 1.8rem;
    font-weight: 700;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    line-height: 1;
    padding: 0;
}

.calendar-nav:hover,
.calendar-nav-btn:hover {
    background: linear-gradient(135deg, #e8c547 0%, #ddb84d 100%);
    color: #1a1a2e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
    border-color: #e8c547;
    text-shadow: none;
}

.calendar-nav:active,
.calendar-nav-btn:active {
    transform: scale(0.95);
}

.calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    color: #e8c547;
    padding: 0.8rem;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    position: relative;
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    color: rgba(245, 245, 245, 0.7);
}

.calendar-day:hover:not(.disabled):not(.booked) {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1) translateY(-2px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    color: #e8c547;
}

.calendar-day.available {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.calendar-day.available:hover {
    background: rgba(74, 222, 128, 0.3);
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
    transform: scale(1.15) translateY(-3px);
}

.calendar-day.booked {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.calendar-day.selected {
    background: linear-gradient(135deg, #e8c547 0%, #ddb84d 100%);
    color: #1a1a2e;
    border-color: #e8c547;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
    font-weight: 800;
    animation: pulse 2s ease-in-out infinite;
}

.calendar-day.in-range {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(201, 169, 97, 0.3) 100%);
    color: #e8c547;
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.calendar-day.disabled {
    color: rgba(173, 181, 189, 0.3);
    cursor: not-allowed;
    opacity: 0.3;
    background: rgba(26, 26, 46, 0.3);
}

.calendar-day.today {
    border: 2px solid #e8c547;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
    color: #e8c547;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.9);
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
    color: #e8c547;
}

.legend-available,
.legend-booked,
.legend-selected {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.legend-available {
    background: rgba(74, 222, 128, 0.3);
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.legend-booked {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.legend-selected {
    background: linear-gradient(135deg, #e8c547 0%, #ddb84d 100%);
    border-color: #e8c547;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Zašto rezervisati kod nas? – box ispod kalendara */
.why-book-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(201, 169, 97, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.why-book-title {
    color: #f0ede6;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-bottom: 2px solid #e8c547;
    box-shadow: 0 2px 4px rgba(232, 197, 71, 0.3);
}

.why-book-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.why-book-list li {
    color: rgba(245, 245, 245, 0.95);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.why-book-icon {
    font-size: 1.1rem;
}

/* Booking Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeInSlow 0.6s ease-out forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }
.form-group:nth-child(6) { animation-delay: 0.35s; }
.form-group:nth-child(7) { animation-delay: 0.4s; }
.form-group:nth-child(8) { animation-delay: 0.45s; }
.form-group:nth-child(9) { animation-delay: 0.5s; }
.form-group:nth-child(10) { animation-delay: 0.55s; }

.form-group label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.98);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(26, 26, 46, 0.6) !important;
    color: #f5f5f5 !important;
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    background: rgba(26, 26, 46, 0.8) !important;
    background-color: rgba(26, 26, 46, 0.8) !important;
    color: #f5f5f5 !important;
}

/* Prevent autofill from changing background to white */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(26, 26, 46, 0.6) inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    background: rgba(26, 26, 46, 0.6) !important;
    background-color: rgba(26, 26, 46, 0.6) !important;
    color: #f5f5f5 !important;
}

/* Date Input Styling - Golden and Black Theme */
input[type="date"] {
    color-scheme: dark;
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

input[type="date"]:focus {
    border-color: #e8c547;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
    background: rgba(26, 26, 46, 0.95);
}

/* Chrome/Edge Date Picker Calendar Icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(15deg);
    opacity: 0.8;
    transition: all 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(15deg) brightness(1.2);
    transform: scale(1.1);
}

/* Chrome/Edge Date Input Text Styling */
input[type="date"]::-webkit-datetime-edit {
    color: #f5f5f5;
    padding: 0.2rem;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    color: #f5f5f5;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: #e8c547;
    padding: 0 0.3rem;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #f5f5f5;
    background: transparent;
}

input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background: rgba(212, 175, 55, 0.2);
    color: #e8c547;
    border-radius: 4px;
    outline: none;
}

/* Date Picker Calendar Popup Styling (Chrome/Edge) */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    padding: 0.3rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Additional Date Input Styling */
input[type="date"] {
    position: relative;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Firefox Date Input Styling */
input[type="date"] {
    -moz-appearance: textfield;
}

input[type="date"]::-moz-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(15deg);
    opacity: 0.8;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Safari Date Input Styling */
input[type="date"]::-webkit-datetime-edit-ampm-field:focus,
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background-color: rgba(212, 175, 55, 0.2);
    color: #e8c547;
    border-radius: 4px;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 245, 245, 0.35) !important;
}

/* Make placeholder text less visible for email and phone */
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: rgba(245, 245, 245, 0.3) !important;
}

.critical-field::placeholder {
    color: rgba(245, 245, 245, 0.3) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e8c547;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.2), 0 0 40px rgba(212, 175, 55, 0.1);
    background: rgba(26, 26, 46, 0.9) !important;
    background-color: rgba(26, 26, 46, 0.9) !important;
    color: #f5f5f5 !important;
    transform: translateY(-2px);
    animation: formFieldGlow 2s ease-in-out infinite;
}

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

.form-group small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    transition: all 0.3s ease;
}

.form-group:focus-within small {
    color: rgba(212, 175, 55, 1);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* Critical Fields Styling (Email & Phone) */
.required-field {
    position: relative;
}

.required-field label {
    color: #ffc107 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.critical-field {
    border: 2px solid rgba(255, 193, 7, 0.4) !important;
    /* Inherits background from .form-group input */
}

.critical-field:not(:placeholder-shown) {
    /* Inherits background from .form-group input:not(:placeholder-shown) */
}

.critical-field:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3), 0 0 20px rgba(255, 193, 7, 0.4) !important;
    /* Inherits background from .form-group input:focus */
}

.critical-field:not(:placeholder-shown):valid {
    border-color: #4ade80 !important;
    background: rgba(26, 26, 46, 0.8) !important;
    background-color: rgba(26, 26, 46, 0.8) !important;
    color: #f5f5f5 !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2) !important;
}

.critical-field:not(:placeholder-shown):invalid {
    border-color: #ef4444 !important;
    background: rgba(26, 26, 46, 0.8) !important;
    background-color: rgba(26, 26, 46, 0.8) !important;
    color: #f5f5f5 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Email input - prevent white background on autofill only, otherwise use same styles as other inputs */
input[type="email"]:-webkit-autofill,
input[type="email"]:-webkit-autofill:hover,
input[type="email"]:-webkit-autofill:focus,
input[type="email"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(26, 26, 46, 0.6) inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
}

input[type="email"].critical-field:-webkit-autofill,
input[type="email"].critical-field:-webkit-autofill:hover,
input[type="email"].critical-field:-webkit-autofill:focus,
input[type="email"].critical-field:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(26, 26, 46, 0.6) inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
}

/* Contact Reminder Box */
.contact-reminder {
    background: linear-gradient(135deg, rgba(255,193,7,0.1) 0%, rgba(255,152,0,0.1) 100%);
    border: 2px solid rgba(255,193,7,0.3);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.booking-summary {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(45, 45, 68, 0.8) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    margin: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.1);
    animation: fadeInSlow 0.6s ease-out 0.3s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.booking-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.booking-summary h3 {
    color: #e8c547;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: shimmerText 3s ease-in-out infinite;
    background: linear-gradient(135deg, #e8c547 0%, #ddb84d 50%, #e8c547 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.9);
    transition: all 0.3s ease;
}

.summary-item:hover {
    color: #e8c547;
    transform: translateX(5px);
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.3rem;
    color: #e8c547;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInSlow 0.8s ease-out 0.6s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background: rgba(26, 26, 46, 0.9) !important;
    color: #f5f5f5 !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠️';
    font-size: 1rem;
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    border: 2px solid #c3e6cb;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: #155724;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cancel-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(21, 87, 36, 0.2);
}

.btn-cancel {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-cancel:active {
    transform: translateY(0);
}

#cancelTimer {
    font-weight: 800;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
}

/* Cancellation Confirmation Modal */
.cancel-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeInSlow 0.3s ease-out;
}

.cancel-modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(45, 45, 68, 0.98) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.3);
    animation: fadeInSlow 0.4s ease-out 0.1s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.cancel-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.cancel-modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.cancel-modal-header h3 {
    color: #e8c547;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e8c547 0%, #ddb84d 50%, #e8c547 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
}

.cancel-modal-body {
    margin-bottom: 2rem;
    text-align: center;
}

.cancel-modal-body p {
    color: rgba(245, 245, 245, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cancel-countdown {
    color: #e8c547;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancel-countdown #cancelTimer {
    font-size: 4rem;
    font-weight: 800;
    color: #e8c547;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5);
    animation: pulse 1s ease-in-out infinite;
    line-height: 1;
}

.cancel-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cancel-btn-no,
.cancel-btn-yes {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid;
    flex: 1;
    max-width: 200px;
    position: relative;
    overflow: hidden;
}

.cancel-btn-no {
    background: rgba(26, 26, 46, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
    color: rgba(245, 245, 245, 0.9);
}

.cancel-btn-no:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
    color: #e8c547;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.cancel-btn-yes {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.4);
    color: rgba(239, 68, 68, 0.9);
}

.cancel-btn-yes:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(239, 68, 68, 0.5);
}

.cancel-btn-yes:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(239, 68, 68, 0.1);
    color: rgba(239, 68, 68, 0.5);
}

@media (max-width: 768px) {
    .cancel-modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    
    .cancel-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .cancel-modal-body p {
        font-size: 1rem;
    }
    
    .cancel-modal-footer {
        flex-direction: column;
    }
    
    .cancel-btn-no,
    .cancel-btn-yes {
        max-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .booking-section {
        padding: 2rem 1rem;
        overflow: visible;
    }

    .calendar-section,
    .booking-form-section {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .calendar-section h2,
    .booking-form-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .calendar-header {
        padding: 0.8rem;
        border-radius: 12px;
    }

    .calendar-header h3 {
        font-size: 1.2rem;
    }

    .calendar-nav,
    .calendar-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
        border-radius: 10px;
    }

    .calendar-grid {
        gap: 0.3rem;
    }

    .calendar-day {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .calendar-legend {
        gap: 1rem;
        flex-wrap: wrap;
    }

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

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.95rem;
        padding: 0.9rem;
    }

    .btn-primary {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .booking-section {
        padding: 1.5rem 0.8rem;
    }

    .calendar-section,
    .booking-form-section {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .calendar-section h2,
    .booking-form-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .calendar-header {
        padding: 0.7rem;
        margin-bottom: 1rem;
    }

    .calendar-header h3 {
        font-size: 1.1rem;
    }

    .calendar-nav,
    .calendar-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        border-radius: 8px;
    }

    .calendar-grid {
        gap: 0.25rem;
    }

    .calendar-day {
        font-size: 0.75rem;
        padding: 0.4rem 0.3rem;
        min-height: 35px;
    }

    .calendar-legend {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .calendar-legend-item {
        font-size: 0.85rem;
    }

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

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.8rem;
        border-radius: 8px;
    }

    .btn-primary {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .calendar-day {
        min-height: 44px;
        padding: 0.5rem;
    }

    .calendar-nav {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-primary {
        min-height: 44px;
    }
}

/* Mobile performance: stop infinite animations and blur */
@media (max-width: 1024px) {
    .booking-section::before {
        animation: none !important;
    }
    .calendar-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .cancel-modal {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}
