/* =========================================================
   AUTH PAGE — FORGOT PASSWORD
   Konsisten dengan Megamart / Roconal UI
   ========================================================= */

.rc-auth-page {
    min-height: 100vh;
    background: var(--background-3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* wrapper */
.rc-auth-wrapper {
    width: 100%;
    max-width: 420px;
}

/* card */
.rc-auth-card {
    background: var(--white);
    border-radius: var(--rc-r12);
    box-shadow: var(--rc-shadow-soft);
    padding: 36px 32px 32px;
}

/* header */
.rc-auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.rc-auth-logo {
    height: 44px;
    margin-bottom: 18px;
}

.rc-auth-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--heading);
    margin-bottom: 6px;
}

.rc-auth-subtitle {
    font-size: 14px;
    color: var(--rc-muted);
    line-height: 1.6;
}

/* alert */
.rc-auth-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.rc-auth-alert--success {
    background: rgba(22, 163, 74, 0.1);
    color: #166534;
}

/* form */
.rc-auth-form {
    display: grid;
    gap: 18px;
}

.rc-auth-field {
    display: grid;
    gap: 6px;
}

.rc-auth-field label {
    font-size: 13px;
    font-weight: 800;
    color: var(--heading);
}

.rc-auth-field input {
    height: 46px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 14px;
    color: var(--heading);
    outline: none;
    transition:
        border 0.15s ease,
        box-shadow 0.15s ease;
}

.rc-auth-field input::placeholder {
    color: #9ca3af;
}

.rc-auth-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(27, 60, 83, 0.15);
}

.rc-auth-field input.is-invalid {
    border-color: #dc2626;
}

.rc-auth-error {
    font-size: 12px;
    color: #dc2626;
    font-weight: 700;
}

/* button */
.rc-auth-btn {
    height: 46px;
    border-radius: 12px;
    border: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.08s ease;
}

.rc-auth-btn:hover {
    background: var(--primary-dark);
}

.rc-auth-btn:active {
    transform: translateY(1px);
}

/* footer */
.rc-auth-footer {
    margin-top: 22px;
    text-align: center;
}

.rc-auth-footer a {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.rc-auth-footer a:hover {
    text-decoration: underline;
}

/* responsive */
@media (max-width: 480px) {
    .rc-auth-card {
        padding: 28px 22px;
    }

    .rc-auth-title {
        font-size: 20px;
    }
}
