* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #e9f5ec;
    color: #333;
    padding: 20px;
}

/* Main container */
.booking-container {
    max-width: 650px;
    margin: auto;
    background: #f6fbf7;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 110px;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 6px;
}

.header p {
    font-size: 14px;
    color: #555;
}

/* Sections */
.form-section {
    margin-bottom: 22px;
}

.form-section h2 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #2f7d4f;
    font-weight: bold;
}

/* Fields */
.input-field {
    margin-bottom: 15px;
}

.input-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

/* Inputs */
input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    background: white;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2f7d4f;
    box-shadow: 0 0 0 2px rgba(47, 125, 79, .15);
}

/* Date inputs: make space for icon */
input[type="date"] {
    padding-right: 30px;
    cursor: pointer;
}

/* Two column dates */
.date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Calendar icon */
.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #2f7d4f;
    pointer-events: none; /* Critical: allows clicks to pass through to input */
    user-select: none;
}

/* === Ensure consistent spacing in date & guests rows === */
.date-group .input-field,
.guests-row .input-field {
    margin-bottom: 0;
    padding: 0;
}

.date-group .input-field:last-child,
.guests-row .input-field:last-child {
    margin-bottom: 0;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* Submit */
.form-actions {
    margin-top: 20px;
    text-align: left;
}

.btn-submit {
    background: #2f7d4f;
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #25643f;
}

/* ========================= */
/* GUESTS ROW (FIXED) */
/* ========================= */

.guests-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.guests-row .input-field {
    margin-bottom: 0;
}

/* Mobile */
@media(max-width:600px) {
    .date-group {
        grid-template-columns: 1fr;
    }

    .guests-row {
        grid-template-columns: 1fr;
    }
}
/* SIMPLER FIX - Keep your HTML as-is */
.input-wrapper i.fa-calendar-alt,
.input-wrapper i.fa-calendar-check {
    pointer-events: none !important;
    z-index: 1;
}

input[type="date"] {
    position: relative;
    z-index: 2;
    background-color: transparent;
    /* Important for click-through */
}

/* Add this to your styles.css */

.icon-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-input-wrapper i {
    position: absolute;
    left: 12px; /* Icon on the left side */
    color: #2f7d4f;
    z-index: 2;
    pointer-events: none; /* Still not clickable */
}

.icon-input-wrapper input[type="date"] {
    width: 100%;
    padding: 10px 10px 10px 40px; /* Extra left padding for icon */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
}

.icon-input-wrapper input[type="date"]:focus {
    outline: none;
    border-color: #2f7d4f;
    box-shadow: 0 0 0 2px rgba(47, 125, 79, .15);
}

/* === Custom Alert Modal === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-box h3 {
    color: #2f7d4f;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.modal-box p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

.modal-btn {
    background: #2f7d4f;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.modal-btn:hover {
    background: #25643f;
}