/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: "Playfair Display", serif;
    background: linear-gradient(180deg, #F7F3ED, #EFE6DA);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 8px;
    color: #2E2A27;
}

/* CONTAINER */
.reservation-wrapper {
    width: 100%;
    max-width: 340px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* TITLE */
.reservation-title {
    text-align: center;
    margin-bottom: 10px;
}

.reservation-title h2 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.reservation-title p {
    font-size: 0.72rem;
    color: #8A7F75;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* LABEL */
label {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #7A6F66;
}

/* INPUT + SELECT + TEXTAREA */
input,
select,
textarea {
    padding: 7px 8px;
    font-size: 0.78rem;
    border-radius: 5px;
    border: 1px solid #E5DED3;
    background: #FCFAF7;
    font-family: "Playfair Display", serif;
    line-height: 1.2;
    transition: all 0.2s ease;
}

/* FOCUS STATE (premium feel) */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7B2E2E;
    background: white;
    box-shadow: 0 0 0 2px rgba(123,46,46,0.08);
}

/* TEXTAREA BOX */
.request-box {
    border: 1px solid #E5DED3;
    border-radius: 6px;
    background: #FCFAF7;
}

.request-box textarea {
    width: 100%;
    border: none;
    resize: none;
    min-height: 50px;
}

/* BUTTON */
button {
    padding: 8px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #7B2E2E, #5C1F1F);
    color: white;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    font-family: "Playfair Display", serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

/* TAP FEEDBACK (important for mobile!) */
button:active {
    transform: scale(0.97);
}

/* HOVER (desktop fallback) */
button:hover {
    transform: translateY(-1px);
}

/* SECOND BUTTON */
.order-btn {
    background: #F0E6D8;
    color: #2E2A27;
}

/* BUTTON GROUP */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* LINKS */
.order-link,
.check-link {
    text-align: center;
    font-size: 0.7rem;
}

.order-link a,
.check-link a {
    color: #7B2E2E;
    text-decoration: none;
}

/* LAYOUT BUTTON */
.layout-btn {
    background: #FCFAF7;
    border: 1px solid #E5DED3;
    color: #5C1F1F;
    font-size: 0.75rem;
    padding: 7px;
}

/* MODAL */
.layout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
}

.layout-content {
    background: white;
    padding: 14px;
    border-radius: 8px;
    width: 92%;
    max-width: 420px;
    text-align: center;
}

.close-layout {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.layout-image {
    width: 100%;
    margin-top: 10px;
    border-radius: 6px;
}

/* MOBILE MICRO-TUNING */
@media (max-width: 380px){

    .reservation-wrapper {
        max-width: 300px;
        padding: 14px 12px;
    }

    .reservation-title h2 {
        font-size: 1rem;
    }

    input,
    select,
    textarea {
        font-size: 0.75rem;
    }

    button {
        font-size: 0.72rem;
    }
}