* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f5f7;
    color: #292929;
}

.booking-page {
    padding: 35px 18px;
}

.booking-container {
    max-width: 1050px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.booking-header {
    background: #721d35;
    color: #fff;
    text-align: center;
    padding: 35px 20px;
}

.booking-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.booking-header p {
    margin: 0;
    font-size: 15px;
    opacity: .9;
}

form {
    padding: 28px;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: 0;
}

.form-section h2 {
    margin: 0 0 18px;
    font-size: 19px;
    color: #721d35;
}

.section-description {
    color: #777;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 18px;
}


/* BOOKING TYPES */

.booking-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.booking-type input {
    display: none;
}

.booking-type span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 9px;
    cursor: pointer;
    transition: .2s;
}

.booking-type span:first-letter {
    font-size: 20px;
}

.booking-type strong {
    font-size: 15px;
}

.booking-type small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-left: auto;
}

.booking-type input:checked + span {
    border-color: #721d35;
    background: #faf1f4;
    box-shadow: 0 0 0 2px rgba(114,29,53,.08);
}


/* FORM */

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #721d35;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-note {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 11px;
}


/* ROOMS */

.rooms-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.room-option input {
    display: none;
}

.room-option-content {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: .2s;
}

.room-option input:checked + .room-option-content {
    border: 2px solid #721d35;
}

.room-option-content img,
.room-no-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.room-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #888;
}

.room-option-details {
    padding: 15px;
}

.room-option-details h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.room-category {
    color: #721d35;
    font-size: 12px;
    font-weight: bold;
}

.room-option-details p {
    color: #777;
    font-size: 13px;
    line-height: 1.4;
    margin: 9px 0;
}

.room-price {
    display: block;
    color: #721d35;
    font-size: 16px;
    margin-top: 10px;
}

.room-price small {
    color: #888;
    font-size: 11px;
}

.room-availability {
    display: block;
    color: #278046;
    font-size: 11px;
    margin-top: 5px;
}


/* MESSAGES */

.success-message,
.error-message {
    margin: 20px 28px 0;
    padding: 12px 15px;
    border-radius: 7px;
    font-size: 13px;
}

.success-message {
    background: #edf8f0;
    color: #26743e;
}

.error-message {
    background: #fff0f0;
    color: #a52828;
}


/* EMPTY */

.empty-booking {
    padding: 25px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 20px;
}

.empty-booking h3 {
    margin: 0 0 5px;
    color: #721d35;
}

.empty-booking p {
    color: #777;
}


/* BUTTON */

.submit-section {
    text-align: right;
    padding-top: 5px;
}

.submit-button {
    border: 0;
    border-radius: 7px;
    padding: 13px 28px;
    background: #721d35;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.submit-button:hover {
    background: #5a172a;
}


/* MOBILE */

@media (max-width: 700px) {

    .booking-page {
        padding: 10px;
    }

    .booking-container {
        border-radius: 10px;
    }

    .booking-header {
        padding: 28px 15px;
    }

    .booking-header h1 {
        font-size: 25px;
    }

    form {
        padding: 18px;
    }

    .booking-types,
    .rooms-selection,
    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-type span {
        padding: 14px;
    }

    .booking-type small {
        margin-left: auto;
    }

    .room-option-content img,
    .room-no-image {
        height: 190px;
    }

    .submit-section {
        text-align: stretch;
    }

    .submit-button {
        width: 100%;
    }

}