.hippo-auth-page {
    width: 100%;
    min-height: 70vh;
    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-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 22px;
    padding: 4px;
    border-radius: 12px;
    background: #f3f3f3;
}

.hippo-auth-tab {
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #777777;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hippo-auth-tab.is-active {
    background: #ffffff;
    color: #191816;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.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-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;
}
