.password-container,
.fp-wrapper{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:auto;
    padding:30px 20px;
}

.password-container::before,
.fp-wrapper::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../images/desa.jpg') no-repeat center center;
    background-size:cover;
    filter:brightness(.6);
    z-index:0;
}

.password-container .row,
.fp-wrapper > *{
    position:relative;
    z-index:2;
}

.password-card,
.fp-card{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 30px 28px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.password-card .card-body,
.fp-card .card-body{
    padding:30px;
}

.password-container h2,
.fp-header h2{
    font-weight:700;
    color:#1f2937;
    margin-bottom:8px;
}

.password-container p,
.fp-header p{
    color:#6b7280;
    font-size:14px;
    margin-bottom:20px;
}


.password-card label{
    font-weight:500;
    margin-bottom:6px;
}

.password-card .form-control,
.fp-input-group input{
    border-radius:8px;
    height:42px;
}

.password-card .mb-3,
.password-card .mb-4{
    margin-bottom:18px !important;
}

.fp-input-group{
    display:flex;
    align-items:center;
    border:1px solid #d1d5db;
    border-radius:10px;
    overflow:hidden;
}

.fp-input-icon{
    padding:0 14px;
    background:#f9fafb;
    border-right:1px solid #e5e7eb;
    color:#6b7280;
}

.password-card .btn,
.fp-btn-primary{
    width:100%;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    border:none;
    color:#fff;
    font-weight:600;
    border-radius:10px;
    padding:10px;
    transition:all .3s ease;
}

.password-card .btn:hover,
.fp-btn-primary:hover{
    background:linear-gradient(135deg,#1d4ed8,#1e40af);
    transform:translateY(-1px);
    box-shadow:0 6px 20px rgba(37,99,235,.35);
}

.fp-back-login{
    text-align:center;
    margin-top:20px;
}

.fp-back-login a{
    color:#2563eb;
    font-weight:500;
    text-decoration:none;
}

.fp-back-login a:hover{
    text-decoration:underline;
}

.fp-error-text{
    color:#dc2626;
    font-size:13px;
}


@media (max-width:576px){

    .password-card,
    .fp-card{
        max-width:100%;
    }

}

/* halaman RESET PASSWORD  */
.rp-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto;
}

.rp-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/desa.jpg') no-repeat center center;
    background-size: cover;
    filter: brightness(0.6);
    z-index: 0;
}

.rp-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 28px;
}

.rp-title {
    text-align: center;
    margin-bottom: 18px;
}

.rp-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.rp-title p {
    font-size: 14px;
    color: #6b7280;
    margin-top: 6px;
}

.rp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rp-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.rp-input {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    outline: none;
    font-size: 14px;
    transition: 0.2s;
}

.rp-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.rp-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.rp-input-group span {
    background: #f3f4f6;
        /* padding: 0 12px; */
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.rp-input-group input {
    border: none;
    flex: 1;
    height: 42px;
    padding: 0 10px;
    outline: none;
}


.rp-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.rp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.rp-alert {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
}


.rp-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .rp-card {
        padding: 20px;
    }
}