/* ==============================================
   Yaropa Opening Event — Registration Form CSS
   ============================================== */

.yaropa-event-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: 'Georgia', serif;
}

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

.ye-form-title {
    font-size: 28px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 8px;
    font-weight: 400;
}

.ye-form-subtitle {
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
    margin: 0;
}

/* Section label */
.ye-section-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a96e;
    margin: 28px 0 16px;
    border-bottom: 1px solid #f0e8da;
    padding-bottom: 8px;
}

/* Row layout */
.ye-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.ye-row .ye-field {
    flex: 1;
}

/* Field */
.ye-field {
    margin-bottom: 20px;
}

.ye-field label {
    display: block;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 7px;
    font-family: sans-serif;
}

.ye-req {
    color: #c9a96e;
}

.ye-field input,
.ye-field select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 15px;
    font-family: 'Georgia', serif;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.ye-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a96e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.ye-field input:focus,
.ye-field select:focus {
    outline: none;
    border-color: #c9a96e;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

/* Guest blocks */
.ye-guest-block {
    background: #fdf9f5;
    border: 1px solid #efe5d5;
    border-radius: 6px;
    padding: 20px 22px 4px;
    margin-bottom: 16px;
    animation: ye-fade-in 0.25s ease;
}

.ye-guest-block .ye-section-label {
    margin-top: 0;
    border-bottom-color: #efe5d5;
}

@keyframes ye-fade-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Submit button */
.ye-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #1a1a1a;
    color: #c9a96e;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: sans-serif;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s, color 0.2s;
}

.ye-btn:hover {
    background: #c9a96e;
    color: #fff;
}

.ye-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Notices */
.ye-notice {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.ye-success {
    background: #edf7ed;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.ye-error {
    background: #fdecea;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

/* Responsive */
@media ( max-width: 580px ) {
    .ye-row {
        flex-direction: column;
        gap: 0;
    }
    .ye-form-title {
        font-size: 22px;
        letter-spacing: 2px;
    }
}
