.modal{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.6);

    z-index:999;

}

.modal-content{

    background:#1e1e1e;

    width:90%;

    max-width:420px;

    margin:8% auto;

    padding:20px;

    border-radius:12px;

}

.modal-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.modal-header h3{

    color:#fff;

    margin:0;

}

.close-modal{

    color:#fff;

    font-size:28px;

    cursor:pointer;

}

.form-group{

    margin-bottom:15px;

}

.form-group label{

    color:#fff;

    display:block;

    margin-bottom:6px;

}

.form-group input,
.form-group select{

    width:100%;

    padding:10px;

    border-radius:8px;

    border:1px solid #444;

    background:#2b2b2b;

    color:#fff;

    box-sizing:border-box;

}

.checkbox-group label{

    display:flex;

    align-items:center;

    gap:8px;

}

.save-btn{

    width:100%;

    padding:12px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-weight:bold;

}

/* =======================================
   BANK CARD
======================================= */

.bank-card{

    background:#1d304d;

    border-radius:18px;

    padding:20px;

    margin-bottom:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

}

.bank-header{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:12px;

}

.bank-icon{

    font-size:28px;

}

.bank-name{

    font-size:20px;

    font-weight:700;

    color:#fff;

}

.bank-number{

    font-size:18px;

    color:#f2f2f2;

    letter-spacing:1px;

    margin-top:6px;

}

.bank-owner{

    color:#ddd;

    margin-top:6px;

}

.bank-primary{

    display:inline-flex;

    align-items:center;

    gap:6px;

    margin-top:12px;

    padding:6px 12px;

    border-radius:999px;

    background:#f1c40f;

    color:#000;

    font-weight:bold;

    font-size:13px;

}

.bank-action{

    display:flex;

    gap:10px;

    margin-top:20px;

}

.bank-action a,
.bank-action span{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:12px;

    border-radius:10px;

    font-weight:bold;

    text-decoration:none;

    transition:.25s;

}

.bank-action a:hover{

    transform:translateY(-2px);

}

.bank-edit{

    background:#3498db;

    color:#fff;

}

.bank-delete{

    background:#e74c3c;

    color:#fff;

}

.bank-main{

    background:#f1c40f;

    color:#000;

}

.bank-set-main{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:10px 16px;

    border-radius:10px;

    background:#27ae60;

    color:#fff;

    text-decoration:none;

    font-weight:bold;

    margin-top:12px;

}