/* ============================================================
   Brunchlane & Amber Terrace — Reservation Forms
   ============================================================ */

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

/* ---------- Wrap ---------- */
.blat-wrap {
    max-width: 720px;
    margin: 40px auto;
    border-radius: 0px;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 12px 48px rgba(0,0,0,.10);
    background: #fff;
}

/* ---------- Form Body ---------- */
.blat-form {
    padding: 40px 48px;
    background: #fff;
}

@media (max-width: 580px) {
    .blat-form { padding: 28px 20px; }
    .blat-row-2 { grid-template-columns: 1fr !important; }
}

/* ---------- Layout ---------- */
.blat-row { margin-bottom: 20px; }
.blat-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---------- Labels ---------- */
.blat-field { display: flex; flex-direction: column; }
.blat-field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 6px;
}
.blat-field label span { color: #c0392b; }
.blat-field label .optional {
    font-weight: 400;
    text-transform: none;
    color: #aaa;
}

/* ---------- Inputs ---------- */
.blat-field input[type="text"],
.blat-field input[type="email"],
.blat-field input[type="tel"],
.blat-field input[type="date"],
.blat-field select,
.blat-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e2e2;
    border-radius: 0px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.blat-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

/* Focus — same for both forms */
.blat-field input:focus,
.blat-field select:focus,
.blat-field textarea:focus {
    outline: none;
    border-color: #fc893e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(252,137,62,.13);
}

.blat-field textarea { resize: vertical; min-height: 90px; }

/* ---------- Checkboxes ---------- */
.blat-check-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 4px;
}
.blat-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1.5px solid #e2e2e2;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    background: #fafafa;
    transition: border-color .2s, background .2s;
}
.blat-check:hover {
    border-color: #8a8a66;
    background: #f7f7f2;
}
.blat-check input[type="checkbox"] {
    accent-color: #8a8a66;
    width: 15px;
    height: 15px;
}

/* ---------- Submit Button ---------- */
.blat-actions { margin-top: 28px; }

.blat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 36px;
    border-radius: 0px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .02em;
    background: linear-gradient(135deg, #fc893e 0%, #8a8a66 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(252,137,62,.30);
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.blat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(252,137,62,.35);
}
.blat-btn:active  { transform: translateY(0); }
.blat-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Response Messages ---------- */
.blat-message {
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 0px;
    font-size: 14px;
    line-height: 1.55;
    display: none;
}
.blat-message.blat-success {
    background: #edfaf3;
    border: 1.5px solid #9ddcb8;
    color: #1b6e3f;
    display: block;
}
.blat-message.blat-error {
    background: #fef0ee;
    border: 1.5px solid #f5b8b3;
    color: #a82b2b;
    display: block;
}
