@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
    --primary-color: #079bb2;
    --secondary-color: #612E0F;
    --light-gray: #f0f2f5;
    --text-color: #333;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(45deg, #aeeff9, #079bb2);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.booking-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    min-width: 320px;
    background-color: rgba(255, 255, 255, 0.97);
    background-image: url('../images/background-earth.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 16px;
    box-shadow: 15px 15px 30px rgba(0,0,0,0.2);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-header { display: flex; justify-content: center; align-items: center; gap: 15px; }
.header-logo { height: 50px; }
.main-header h1 { margin: 0; font-size: 1.6em; color: var(--secondary-color); }

.location-choice fieldset { border: 1px solid var(--border-color); border-radius: 15px; padding: 10px 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.location-choice legend { font-weight: 500; padding: 0 10px; color: var(--secondary-color); }
.location-choice div { display: flex; align-items: center; gap: 8px; }

.info-banner { width: 100%; max-width: 600px; border: 1px solid var(--border-color); border-radius: 12px; }
.info-header { display: flex; align-items: center; padding: 15px; cursor: pointer; list-style: none; }
.info-header::-webkit-details-marker { display: none; }
.info-title { font-weight: 500; flex-grow: 1; }
.info-icon { font-size: 1.8em; font-weight: 300; color: var(--primary-color); transition: transform 0.3s ease; }
.info-banner[open] .info-icon { transform: rotate(45deg); }
.info-content { padding: 0 20px 20px 20px; color: #4a5568; line-height: 1.6; }

.calendar-slots-wrapper { display: flex; flex-wrap: wrap; gap: 20px; width: 100%; background-color: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.calendar-container, .slots-container { flex: 1; min-width: 300px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.calendar-header h2 { margin: 0; font-size: 1.2em; }
.calendar-header button { background: none; border: none; font-size: 1.5em; cursor: pointer; color: var(--primary-color); }

.calendar-table { width: 100%; border-collapse: separate; border-spacing: 2px; }
.calendar-table th { font-weight: 500; color: #999; padding-bottom: 10px; }
.calendar-table td { text-align: center; vertical-align: middle; height: 44px; width: 44px; font-size: 0.9em; border-radius: 50%; }

.current-month { color: var(--text-color); }
.other-month { color: #ccc; }
.today { border: 2px solid var(--primary-color); }
.has-slots { cursor: pointer; font-weight: 700; background-color: #eaf8fa; color: var(--primary-color); }
.has-slots:hover { background-color: #d1f0f5; }
.selected { background-color: var(--primary-color) !important; color: #fff !important; }

#slots-header { text-align: center; font-size: 1.2em; font-weight: 500; margin-bottom: 20px; min-height: 2em; }
#slots-list { display: flex; flex-direction: column; gap: 10px; max-height: 350px; overflow-y: auto; padding-right: 5px; }
.slot-button { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; background-color: #fff; cursor: pointer; font-size: 1em; transition: all 0.2s ease; }
.slot-button:hover { border-color: var(--primary-color); background-color: var(--primary-color); color: #fff; }

@media (max-width: 900px) {
    .booking-wrapper { background-attachment: scroll; padding: 15px; max-width: 100%;}
    .calendar-slots-wrapper { flex-direction: column; }
}