/* ============================================
   Dressed4U Booking Form — dressed4u-booking-form.css
   Palette: black / white / grey
   Font: Raleway 500 (fields/labels), Cormorant Garamond (button)
   ============================================ */

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

.d4u-form-wrap {
    max-width: 560px;
    margin: 0 auto;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: #111111;
}

/* -- Success message -- */
.d4u-success {
    border: 1px solid #111;
    padding: 28px 32px;
    background: #fafafa;
}
.d4u-success p {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.7;
    color: #111;
}
.d4u-success p:last-child { margin-bottom: 0; }

/* -- Error box -- */
.d4u-errors {
    border-left: 3px solid #111;
    background: #f5f5f5;
    padding: 14px 20px;
    margin-bottom: 24px;
}
.d4u-errors p {
    margin: 0 0 6px;
    font-size: 15px;
    color: #333;
}
.d4u-errors p:last-child { margin-bottom: 0; }

/* -- Form layout -- */
.d4u-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* -- Honeypot — completely hidden -- */
.d4u-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* -- Individual field -- */
.d4u-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.d4u-field label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #444;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.d4u-field .req {
    color: #111;
    margin-left: 2px;
}

/* -- Inputs, textarea -- */
.d4u-form input[type="text"],
.d4u-form input[type="tel"],
.d4u-form input[type="date"],
.d4u-form textarea {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #111;
    background: #fff;
    border: 1px solid #888;
    border-radius: 0;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.d4u-form input[type="text"]:focus,
.d4u-form input[type="tel"]:focus,
.d4u-form input[type="date"]:focus,
.d4u-form textarea:focus {
    border-color: #111;
}

.d4u-form input::placeholder,
.d4u-form textarea::placeholder {
    color: #bbb;
    font-style: italic;
}

.d4u-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* -- Date + AM/PM row -- */
.d4u-date-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.d4u-date-row input[type="date"] {
    flex: 1;
    min-width: 160px;
}

/* -- AM / PM radio -- */
.d4u-ampm {
    display: flex;
    gap: 10px;
}

.d4u-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    user-select: none;
}

.d4u-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #666;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    margin: 0;
    padding: 0;
}

.d4u-radio input[type="radio"]:checked {
    background: #111;
    border-color: #111;
}

/* -- Submit button -- */
.d4u-submit {
    margin-top: 4px;
}

.d4u-form button[type="submit"] {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    background: #111;
    border: 1px solid #111;
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 0;
    display: inline-block;
}

.d4u-form button[type="submit"]:hover {
    background: #fff;
    color: #111;
}

/* -- Responsive -- */
@media (max-width: 480px) {
    .d4u-date-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .d4u-date-row input[type="date"] {
        width: 100%;
    }
}