.hippo-auth-page {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    background: #f5f5f5;
}

.hippo-auth-card {
    width: 100%;
    max-width: 470px;
    padding: 34px;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.hippo-auth-card-logged-in {
    text-align: center;
}

.hippo-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}

.hippo-auth-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7b906;
    color: #191816;
    font-size: 19px;
    font-weight: 800;
}

.hippo-auth-brand-name {
    color: #191816;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.hippo-auth-brand-name span {
    color: #f7b906;
}

.hippo-auth-title {
    margin: 0;
    color: #191816;
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
}

.hippo-auth-subtitle {
    margin: 8px 0 24px;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.hippo-auth-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.hippo-auth-message.is-error {
    background: #fff0f0;
    color: #b42318;
}

.hippo-auth-message.is-success {
    background: #edf9f0;
    color: #16803a;
}


.hippo-auth-form {
    display: none;
}

.hippo-auth-form.is-active {
    display: block;
}

.hippo-auth-field {
    margin-bottom: 16px;
}

.hippo-auth-field label {
    display: block;
    margin-bottom: 7px;
    color: #191816;
    font-size: 13px;
    font-weight: 700;
}

.hippo-auth-field input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #ffffff;
    color: #191816;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.hippo-auth-field input:focus {
    border-color: #191816;
    outline: none;
    box-shadow: 0 0 0 1px #191816;
}

.hippo-auth-primary,
.hippo-auth-secondary {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 10px;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.hippo-auth-primary {
    border: 0;
    background: #191816;
    color: #ffffff;
}

.hippo-auth-primary:hover {
    background: #000000;
    color: #ffffff;
}

.hippo-auth-secondary {
    margin-top: 10px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #191816;
}

.hippo-auth-secondary:hover {
    background: #f7f7f7;
    color: #191816;
}

.hippo-auth-switch-note {
    margin: 16px 0 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.hippo-auth-switch-note a {
    color: #191816;
    font-weight: 800;
    text-decoration: none;
}

.hippo-auth-switch-note a:hover {
    color: #b88400;
    text-decoration: underline;
}

.hippo-auth-footer {
    margin: 20px 0 0;
    color: #999999;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 480px) {
    .hippo-auth-page {
        min-height: 100vh;
        padding: 20px 12px;
    }

    .hippo-auth-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .hippo-auth-title {
        font-size: 23px;
    }
}

/* =========================================================
   EMAIL VERIFICATION
   ========================================================= */

#hippo-verification-code {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 6px;
}

#hippo-verification-code::placeholder {
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 400;
}

.hippo-auth-resend-form {
    margin-top: 10px;
}


.hippo-auth-forgot-wrap {
    display:flex;
    justify-content:flex-end;
    margin:-6px 0 16px;
}

.hippo-auth-forgot {
    border:0;
    padding:0;
    background:transparent;
    color:#191816;
    font:inherit;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
}

.hippo-auth-forgot:hover {
    color:#f7b906;
}

.hippo-auth-back-login {
    margin-top:10px;
}

/* Password visibility controls — login and registration only. */
.hippo-password-wrap {
    position: relative;
    width: 100%;
}

.hippo-password-wrap input {
    padding-right: 48px;
}

.hippo-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #777777;
    cursor: pointer;
    line-height: 1;
}

.hippo-password-toggle:hover {
    background: #f5f5f5;
    color: #191816;
}

.hippo-password-toggle:focus-visible {
    outline: 2px solid #f7b906;
    outline-offset: 1px;
}

.hippo-password-eye {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.hippo-password-eye[hidden] {
    display: none;
}

@media (min-width: 481px) and (max-width: 1024px) {
    .hippo-auth-page {
        min-height: 78vh;
        padding: 48px 28px;
    }

    .hippo-auth-card {
        max-width: 520px;
        padding: 38px;
    }
}

@media (min-width: 1025px) {
    .hippo-auth-page {
        min-height: 76vh;
        padding: 64px 32px;
    }
}
