/* === EAU Registration Form Styles === */

.eau-form-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #374151;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 100%;
}

.eau-container {
    max-width: 56rem;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 0;
    overflow: hidden;
}

/* --- Header --- */
.eau-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.eau-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.eau-title-group {
    line-height: 1.2;
}

.eau-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #8B0000;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
}

.eau-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8B0000;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.eau-menu-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 9999px;
    transition: background 0.2s;
}

.eau-menu-btn:hover {
    background: #f3f4f6;
}

/* --- Form --- */
.eau-form {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .eau-form {
        padding: 2.5rem;
    }
}

/* --- Grid Rows --- */
.eau-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .eau-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.eau-field {
    margin-bottom: 1.5rem;
}

.eau-field-full {
    grid-column: 1 / -1;
}

/* --- Labels --- */
.eau-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.eau-required {
    color: #ef4444;
}

/* --- Inputs --- */
.eau-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

.eau-input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.15);
}

input[type="date"].eau-input {
    cursor: pointer;
    min-height: 2.75rem;
}

input[type="date"].eau-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

input[type="date"].eau-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* --- Select --- */
.eau-select-wrap {
    position: relative;
}

.eau-select {
    appearance: none;
    padding-right: 2.5rem;
    line-height: 1.5;
    min-height: 2.75rem;
}

.eau-select-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* --- Help & Count --- */
.eau-help {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.eau-count {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: right;
    margin-top: 0.25rem;
}

/* --- Section --- */
.eau-section {
    background: #f9fafb;
    margin: 1.5rem -1.5rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .eau-section {
        margin: 2rem -2.5rem;
        padding: 2.5rem;
    }
}

.eau-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid;
}

.eau-section-title--blue {
    color: #8B0000;
    border-color: #8B0000;
}

.eau-section-title--teal {
    color: #8B0000;
    border-color: #C9A84C;
}

/* --- File Upload --- */
.eau-file-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .eau-file-group {
        flex-direction: row;
        align-items: center;
    }
}

.eau-btn-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C9A84C;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.eau-btn-file:hover {
    background: #B8943A;
}

.eau-file-name {
    font-size: 0.875rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* --- Submit Button --- */
.eau-submit-wrap {
    margin-top: 2.5rem;
}

.eau-btn-submit {
    display: block;
    width: 100%;
    background: #9B1B30;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.eau-btn-submit:hover {
    background: #6B0F20;
    transform: scale(1.01);
}

.eau-btn-submit:active {
    transform: scale(0.99);
}

/* --- Mobile Responsive --- */
@media (max-width: 767px) {
    .eau-title {
        font-size: 0.875rem;
    }
    .eau-subtitle {
        font-size: 0.625rem;
    }
}
