.eae-auth-wrap {
    width: 100%;
    max-width: 820px;
    margin: 32px auto;
    color: #0f172a !important;
}

.eae-auth-card {
    box-sizing: border-box;
    padding: 32px;
    border: 1px solid #d8dee7;
    border-radius: 16px;
    background: #ffffff !important;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    color: #0f172a !important;
}

.eae-auth-card,
.eae-auth-card p,
.eae-auth-card h2,
.eae-auth-card label,
.eae-auth-badge {
    color: #0f172a !important;
}

.eae-auth-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.eae-auth-card h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.eae-auth-intro {
    margin: 0 0 22px;
    font-size: 17px;
}

.eae-auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.eae-auth-row {
    display: flex;
    gap: 10px;
}

.eae-auth-row input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #aeb8c6 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}

.eae-auth-row input::placeholder {
    color: #8792a2 !important;
    opacity: 1;
}

.eae-auth-row input:focus {
    border-color: #20b8ad !important;
    box-shadow: 0 0 0 3px rgba(32,184,173,.18);
}

.eae-auth-row button {
    padding: 13px 24px;
    border: 0 !important;
    border-radius: 8px;
    background: #20b8ad !important;
    color: #07131f !important;
    -webkit-text-fill-color: #07131f !important;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
}

.eae-auth-row button:hover {
    filter: brightness(.96);
}

.eae-auth-row button:disabled {
    opacity: .7;
    cursor: wait;
}

.eae-auth-result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 16px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.eae-auth-result[hidden] {
    display: none !important;
}

.eae-auth-valid {
    background: #edf8ef !important;
    border: 1px solid #8bc796 !important;
    color: #155724 !important;
}

.eae-auth-error {
    background: #fff2f2 !important;
    border: 1px solid #df9c9c !important;
    color: #9b1c1c !important;
}

.eae-auth-valid *,
.eae-auth-error * {
    color: inherit !important;
}

.eae-auth-icon {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1.1;
}

.eae-auth-status {
    margin-top: 10px;
    min-height: 1em;
    font-size: 14px;
    color: #475569 !important;
}

@media (max-width: 600px) {
    .eae-auth-card {
        padding: 22px;
    }

    .eae-auth-row {
        flex-direction: column;
    }

    .eae-auth-row button {
        width: 100%;
    }
}
