/* ════════════════════════════════════════════════════════════
 * GBI Slawi — reset-password.css
 * Halaman lupa password & reset password
 * ════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   RESET PASSWORD PAGES
   Digunakan di: /reset-password & /reset-password/{token}
   ════════════════════════════════════════════════════════════ */

.reset-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: var(--bg);
}

.reset-wrap {
    display: flex;
    width: 100%;
    max-width: 800px;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .7), 0 0 0 1px var(--gold-border);
    animation: gcAuthSlideUp .25s ease;
}

/* ── Panel Kiri ── */
.reset-panel-left {
    width: 40%;
    flex-shrink: 0;
    background: linear-gradient(165deg, var(--bg2) 0%, #110e06 100%);
    border-right: 1px solid var(--gold-border);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.reset-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
}

.reset-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.reset-left-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
}

.reset-left-title {
    font-size: 28px;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 12px;
}

.reset-left-sub {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 24px;
}

.reset-left-divider {
    height: 1px;
    background: var(--gold-border);
    margin-bottom: 20px;
}

.reset-verse-text {
    font-size: 13px;
    color: var(--text2);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 6px;
}

.reset-verse-ref {
    font-size: 11px;
    color: var(--gold);
}

/* Steps (dipakai di halaman confirm) */
.reset-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reset-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reset-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.reset-step-text {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.5;
}

.reset-left-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.reset-back-link {
    font-size: 12px;
    color: var(--text3);
    text-decoration: none;
    transition: color .2s;
}

.reset-back-link:hover {
    color: var(--gold);
}

/* ── Panel Kanan ── */
.reset-panel-right {
    flex: 1;
    background: var(--bg2);
    padding: 40px 36px 32px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── State Sukses ── */
.reset-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 40px 0;
}

.reset-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 213, 115, 0.12);
    border: 1px solid rgba(46, 213, 115, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.reset-success-title {
    font-size: 20px;
    color: var(--text);
}

.reset-success-sub {
    font-size: 13px;
    color: var(--text2);
    max-width: 280px;
    line-height: 1.6;
}

.reset-countdown {
    font-size: 12px;
    color: var(--text3);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .reset-panel-left {
        display: none;
    }

    .reset-wrap {
        border-radius: 16px;
    }

    .reset-panel-right {
        padding: 32px 20px 24px;
    }
}

.logout-modal-wrap {
    max-width: 620px;
    min-height: 400px;
}

/* ── Avatar user ── */
.logout-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 4px;
}

.logout-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold, #c9a84c), #e8c97a);
    color: #1a1200;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0;
    overflow: hidden;
}

.logout-avatar.has-photo {
    background: transparent;
}

.logout-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.logout-avatar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.logout-avatar-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-avatar-email {
    font-size: 12px;
    color: var(--text3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tombol aksi vertikal ── */
.logout-actions-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.logout-confirm-btn {
    background: linear-gradient(135deg, rgba(220, 53, 69, .15), rgba(220, 53, 69, .08));
    border: 1px solid rgba(220, 53, 69, .45);
    color: #ff7070;
}

.logout-confirm-btn:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, .28), rgba(220, 53, 69, .15));
    border-color: rgba(220, 53, 69, .75);
    color: #ff4d4d;
    box-shadow: 0 4px 20px rgba(220, 53, 69, .2);
}

.logout-cancel-btn {
    width: 100%;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    text-align: center;
}

.logout-cancel-btn:hover {
    border-color: var(--gold-border);
    color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 560px) {
    .logout-modal-wrap {
        flex-direction: column;
        min-height: unset;
    }

    .logout-modal-wrap .auth-panel-left {
        display: none;
    }

    .logout-panel-right {
        padding: 28px 20px 20px;
    }
}

