/* =========================================================
   LUPA PASSWORD & BUAT PASSWORD BARU
   Melengkapi assets/css/login.css (dipanggil setelahnya)
   ========================================================= */
.rp-sub { margin: 10px 0 0; font-size: 0.88rem; color: #8c8286; line-height: 1.5; }

.rp-alert {
    display: flex; gap: 10px; align-items: flex-start;
    border-radius: 10px; padding: 12px 14px; margin-bottom: 18px;
    font-size: 0.85rem; line-height: 1.5;
    animation: rpMasuk 0.25s ease both;
}
.rp-alert i { margin-top: 3px; }
.rp-alert-error { background: #FDECEC; color: #B4233A; border: 1px solid #F5C2C7; }
.rp-alert-ok { background: #E9F6EF; color: #1f6b47; border: 1px solid #BFE3CE; }

.rp-demo {
    background: #FBF4F5; border: 1px dashed #D9AEB8; border-radius: 12px; padding: 18px;
    animation: rpMasuk 0.3s ease both;
}
.rp-demo-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #7E4655; color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
    padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.rp-demo p { margin: 0 0 16px; font-size: 0.85rem; line-height: 1.6; color: #5c5357; }
.rp-btn-link { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; box-sizing: border-box; }

.rp-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.rp-strength i { height: 4px; border-radius: 4px; background: #eee5e6; transition: background-color 0.25s; }
.rp-strength[data-level="0"] i:nth-child(-n+1) { background: #D0103A; }
.rp-strength[data-level="1"] i:nth-child(-n+1) { background: #E8954E; }
.rp-strength[data-level="2"] i:nth-child(-n+2) { background: #E0A100; }
.rp-strength[data-level="3"] i:nth-child(-n+3) { background: #4CAF7D; }
.rp-strength[data-level="4"] i:nth-child(-n+4) { background: #1f7a4f; }
.rp-hint { display: block; margin-top: 6px; font-size: 0.75rem; color: #8c8286; min-height: 1em; }
.rp-hint.ok { color: #1f7a4f; }
.rp-hint.bad { color: #B4233A; }

.rp-invalid { text-align: center; padding: 10px 0; }
.rp-invalid > i { font-size: 2.4rem; color: #D9AEB8; margin-bottom: 12px; }
.rp-invalid h2 { margin: 0 0 8px; }
.rp-invalid p { margin: 0 0 22px; font-size: 0.9rem; color: #8c8286; line-height: 1.5; }

.btn-submit:disabled { opacity: 0.7; cursor: progress; }

/* Pesan sukses di halaman login setelah password diganti */
.rp-login-ok { margin-bottom: 18px; }

@keyframes rpMasuk { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }/* =========================================================
   LUPA PASSWORD & BUAT PASSWORD BARU
   Melengkapi assets/css/login.css (dipanggil setelahnya)
   ========================================================= */
.rp-sub { margin: 10px 0 0; font-size: 0.88rem; color: #8c8286; line-height: 1.5; }

.rp-alert {
    display: flex; gap: 10px; align-items: flex-start;
    border-radius: 10px; padding: 12px 14px; margin-bottom: 18px;
    font-size: 0.85rem; line-height: 1.5;
    animation: rpMasuk 0.25s ease both;
}
.rp-alert i { margin-top: 3px; }
.rp-alert-error { background: #FDECEC; color: #B4233A; border: 1px solid #F5C2C7; }
.rp-alert-ok { background: #E9F6EF; color: #1f6b47; border: 1px solid #BFE3CE; }

.rp-demo {
    background: #FBF4F5; border: 1px dashed #D9AEB8; border-radius: 12px; padding: 18px;
    animation: rpMasuk 0.3s ease both;
}
.rp-demo-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #7E4655; color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
    padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.rp-demo p { margin: 0 0 16px; font-size: 0.85rem; line-height: 1.6; color: #5c5357; }
.rp-btn-link { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; box-sizing: border-box; }

.rp-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.rp-strength i { height: 4px; border-radius: 4px; background: #eee5e6; transition: background-color 0.25s; }
.rp-strength[data-level="0"] i:nth-child(-n+1) { background: #D0103A; }
.rp-strength[data-level="1"] i:nth-child(-n+1) { background: #E8954E; }
.rp-strength[data-level="2"] i:nth-child(-n+2) { background: #E0A100; }
.rp-strength[data-level="3"] i:nth-child(-n+3) { background: #4CAF7D; }
.rp-strength[data-level="4"] i:nth-child(-n+4) { background: #1f7a4f; }
.rp-hint { display: block; margin-top: 6px; font-size: 0.75rem; color: #8c8286; min-height: 1em; }
.rp-hint.ok { color: #1f7a4f; }
.rp-hint.bad { color: #B4233A; }

.rp-invalid { text-align: center; padding: 10px 0; }
.rp-invalid > i { font-size: 2.4rem; color: #D9AEB8; margin-bottom: 12px; }
.rp-invalid h2 { margin: 0 0 8px; }
.rp-invalid p { margin: 0 0 22px; font-size: 0.9rem; color: #8c8286; line-height: 1.5; }

.btn-submit:disabled { opacity: 0.7; cursor: progress; }

/* Pesan sukses di halaman login setelah password diganti */
.rp-login-ok { margin-bottom: 18px; }

@keyframes rpMasuk { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }