/* ==========================================================================
   Espresso Mio — Forgot / Reset Password screens
   Matches Figma (node 4273:44181 family): tan background, coffee header with
   logo, centered card, green pill button, brown links.
   ========================================================================== */

.ea-body {
    margin: 0;
    padding: 0;
    background-color: #f8f0e5; /* Tan */
    font-family: 'ProximaNova', Arial, Helvetica, sans-serif;
    color: #000;
    min-height: 100vh;
}

/* Header banner ---------------------------------------------------------- */
.ea-header {
    width: 100%;
    height: 273px;
    background: url('images/login-bg.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ea-header__logo {
    width: 313px;
    max-width: 60%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* Main content ----------------------------------------------------------- */
.ea-main {
    display: flex;
    justify-content: center;
    padding: 40px 16px 60px;
}

.ea-card {
    width: 554px;
    max-width: 100%;
    text-align: center;
}

.ea-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
}

.ea-subtitle {
    margin: 12px 0 0;
    font-size: 14px;
    color: #606060; /* Gray - Dark */
    line-height: 1.5;
}

/* Form ------------------------------------------------------------------- */
.ea-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.ea-field {
    display: flex;
    flex-direction: column;
}

.ea-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #606060;
}

.ea-field input {
    width: 100%;
    height: 52px;
    border: 1px solid #dfdfdf; /* Outline */
    border-radius: 5px;
    padding: 0 14px;
    font-size: 14px;
    color: #2a2121;
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
}

.ea-field input:focus {
    outline: none;
    border-color: #228b22; /* Green */
    box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.12);
}

.ea-field .ea-field-error {
    margin-top: 6px;
    font-size: 12px;
    color: #c00;
}

/* Button (green pill) ---------------------------------------------------- */
.ea-btn {
    align-self: center;
    display: inline-block;
    background-color: #228b22; /* Green */
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 80px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease;
    font-family: inherit;
}

.ea-btn:hover {
    background-color: #1c761c;
}

/* Cancel / secondary link ------------------------------------------------ */
.ea-link {
    display: block;
    text-align: center;
    margin-top: 4px;
    font-size: 14px;
    color: #8a6541; /* Brown */
    text-decoration: none;
    cursor: pointer;
}

.ea-link:hover {
    text-decoration: underline;
}

/* Validation / status messages ------------------------------------------ */
.ea-errors {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
    text-align: left;
}

.ea-errors li {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.ea-status {
    margin-bottom: 8px;
    background: #e8f5e9;
    color: #1c761c;
    border: 1px solid #c3e6cb;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 13px;
    text-align: left;
}

/* Success screen (Password updated) ------------------------------------- */
.ea-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.ea-success .ea-title,
.ea-success .ea-subtitle {
    margin: 0;
}

.ea-check {
    width: 80px;
    height: 80px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 767px) {
    .ea-header {
        height: 180px;
    }

    .ea-header__logo {
        width: 220px;
        max-width: 70%;
    }

    .ea-btn {
        padding: 13px 48px;
    }
}
