.main {
    width: 100%;
    padding: 7rem 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.reservationSection {
    width: min(800px, 100%);
    padding: 2.5rem;
    background: var(--layerColor);
    border-radius: 40px;

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quickReserveP {
    text-align: justify;
}


.reservationHeader {
    text-align: center;
}

.reservationHeader h2 {
    margin: 0;
    font: var(--logoFont);
    color: #181818;
}

.reservationHeader p {
    margin-top: 0.8rem;
    font: var(--thirdFont);
    font-size: 1.05rem;
    color: rgba(0, 0, 0, .65);
    line-height: 1.5;
}


.reservationForm {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}


.formRow {
    display: flex;
    gap: 1rem;
}

.formRow .inputGroup {
    flex: 1;
}


.inputGroup {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.inputGroup label {
    font: var(--mainFont);
    font-size: 0.95rem;
    color: rgba(0, 0, 0, .8);
}


.inputGroup input {
    width: 100%;
    padding: 14px 18px;

    border: none;
    outline: none;

    border-radius: 16px;

    background: rgba(255, 255, 255, .65);

    font: var(--secondaryFont);
    font-size: 1rem;

    transition: .2s ease;

    box-sizing: border-box;
}

.inputGroup input:focus {
    transform: translateY(-1px);

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.18),
        0 8px 18px rgba(0, 0, 0, .08);
}

.toast {
    position: fixed;
    top: 90px;
    right: 20px;

    background: rgba(255, 80, 80, 0.15);
    color: #b30000;
    border: 1px solid rgba(255, 80, 80, 0.3);

    padding: 1rem 1.2rem;
    border-radius: 14px;

    font: var(--secondaryFont);

    display: none;
    z-index: 9999;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.toast.show {
    display: block;
    animation: slideIn .25s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

input[type="text"] {
    cursor: pointer;
}

#reservationDate {
    cursor: pointer;
}


.dateInputWrapper {
    position: relative;
    width: 100%;
}


.reservationBtn {
    margin-top: 0.5rem;

    border: none;
    cursor: pointer;

    padding: 14px;

    border-radius: 16px;

    background: rgba(0, 0, 0, 0.884);
    color: white;

    font: var(--mainFont);
    font-size: 1rem;

    transition: .2s ease;
}

.reservationBtn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);
}


.inputHint {
    margin-top: .2rem;
    color: rgba(0, 0, 0, .5);
    font-size: .8rem;
}


.toast {
    position: fixed;
    top: 90px;
    right: 20px;

    padding: 1rem 1.2rem;
    border-radius: 14px;

    display: none;

    font: var(--secondaryFont);

    z-index: 9999;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.toast.show {
    display: block;
}

.toast.error {
    background: rgba(255, 80, 80, 0.15);
    color: #b30000;
    border: 1px solid rgba(255, 80, 80, 0.3);
}

.toast.success {
    background: rgba(0, 146, 70, 0.15);
    color: #007a3d;
    border: 1px solid rgba(0, 146, 70, 0.3);
}

.toast.info {
    background: rgba(0, 120, 255, 0.12);
    color: #0b5ed7;
    border: 1px solid rgba(0, 120, 255, 0.25);
}


.titleReservation {
    padding: 0;
    margin-top: 0;
    margin-bottom: 3rem;
}


.flatpickr-calendar {
    border: none !important;
    border-radius: 22px !important;

    overflow: hidden;

    box-shadow:
        rgba(17, 17, 26, .08) 0px 8px 24px,
        rgba(17, 17, 26, .12) 0px 16px 56px !important;
}

.flatpickr-day {
    border-radius: 10px !important;
}

.flatpickr-day.selected {
    background: rgba(0, 0, 0, 0.884) !important;
    border-color: rgba(0, 0, 0, 0.884) !important;
}

.reservationModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 10000;
}

.reservationModalContent {
    width: min(420px, 92%);
    background: white;
    border-radius: 24px;
    padding: 2rem;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: pop .2s ease;
}

@keyframes pop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.reservationModalActions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.reservationModalActions .btn {
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font: var(--mainFont);
    background: #111;
    color: white;
}

.reservationModalContent h1 {
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
}

.reservationModalActions .btn.danger {
    background: #b30000;
    width: 100%;
    border: none;
}

.closeModal {
    margin-top: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
}


@media (max-width: 768px) {

    .main {
        padding: 6rem 1rem 2rem;
    }

    .reservationSection {
        padding: 2rem;
        border-radius: 28px;
    }

    .formRow {
        flex-direction: column;
    }

    .reservationModalContent h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 450px) {

    .reservationModalContent h1 {
        font-size: 1.1rem;
    }

    .reservationSection {
        padding: 1.2rem;
    }

    .reservationBtn {
        padding: 14px;
    }
}