/* Erg Chigaga Booking Form — v1.0 */

.ecb-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: inherit;
}

.ecb-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EAF3DE;
    color: #27500A;
    border: 1px solid #97C459;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 15px;
}

.ecb-errors {
    background: #FCEBEB;
    color: #791F1F;
    border: 1px solid #F09595;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 14px;
}

.ecb-errors p {
    margin: 4px 0;
}

.ecb-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ecb-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888780;
    padding-top: 0.5rem;
    border-top: 1px solid #E8E6DE;
    margin-top: 0.25rem;
}

.ecb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 540px) {
    .ecb-row { grid-template-columns: 1fr; }
}

.ecb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ecb-field label {
    font-size: 13px;
    font-weight: 500;
    color: #5F5E5A;
}

.ecb-req {
    color: #D85A30;
}

.ecb-field input,
.ecb-field select,
.ecb-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #2C2C2A;
    background: #ffffff;
    border: 1px solid #D3D1C7;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.ecb-field input:focus,
.ecb-field select:focus,
.ecb-field textarea:focus {
    border-color: #BA7517;
    box-shadow: 0 0 0 3px rgba(186, 117, 23, 0.12);
}

.ecb-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.ecb-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888780' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 36px;
    cursor: pointer;
}

.ecb-btn {
    margin-top: 0.5rem;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    color: #ffffff;
    background: #BA7517;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    align-self: flex-start;
}

.ecb-btn:hover  { background: #854F0B; }
.ecb-btn:active { transform: scale(0.98); }

.ecb-note {
    font-size: 12px;
    color: #888780;
    margin: 0;
}
