/* =========================
   Password Security Common
========================= */

.password-field-wrap{
    position:relative !important;
}

.password-field-wrap .form-control{
    padding-right:48px !important;
}

.password-toggle{
    position:absolute !important;
    top:50% !important;
    right:12px !important;
    transform:translateY(-50%) !important;

    width:34px !important;
    height:34px !important;
    padding:0 !important;
    margin:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    box-shadow:none !important;

    color:#64748b !important;
    cursor:pointer !important;
    z-index:10 !important;
}

.password-toggle:hover{
    color:#0055A4 !important;
}

.password-toggle i{
    font-size:17px !important;
    line-height:1 !important;
}


/* Password Rules */

.password-rules{
    background:#f8faff;
    border:1px solid #e8edf5;
    border-radius:12px;
    padding:12px 16px;
    font-size:13px;
    line-height:1.8;
}

.password-rules > div{
    display:flex;
    align-items:center;
    gap:7px;
}

.password-rules > div::before{
    content:"✖";
    font-weight:700;
    color:#dc3545;
}

.password-rules > div.text-success::before{
    content:"✔";
    color:#198754;
}

.password-rules > div.text-danger::before{
    content:"✖";
    color:#dc3545;
}

.password-rules .text-success{
    color:#198754 !important;
}

.password-rules .text-danger{
    color:#dc3545 !important;
}


/* =========================
   MPIN BOXES
========================= */

.mpin-box-group{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
    margin-top:8px;
}

.mpin-box{
    width:48px !important;
    height:52px !important;
    padding:0 !important;
    text-align:center;
    font-size:22px;
    font-weight:700;
    border:2px solid #dfe5ec;
    border-radius:10px;
    background:#fff;
    outline:none;
    transition:.2s ease;
}

.mpin-box:focus{
    border-color:#0d6efd;
    box-shadow:0 0 0 3px rgba(13,110,253,.10);
}

.mpin-match{
    margin-top:8px;
    font-size:13px;
    font-weight:600;
}

.mpin-match.text-success{
    color:#198754 !important;
}

.mpin-match.text-danger{
    color:#dc3545 !important;
}

@media(max-width:576px){
    .mpin-box-group{
        gap:6px;
    }

    .mpin-box{
        width:40px !important;
        height:46px !important;
        font-size:18px;
    }
}