/* ======================================================
   1. RESET & BASE
====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:
    linear-gradient(
        135deg,
        #f8fafc,
        #eef2ff
    );

    font-family:'Segoe UI',sans-serif;

    color:#111111;
}


/* ======================================================
   2. MAIN CONTENT
====================================================== */

.content{

    min-height:100vh;

    margin-top:90px;
    margin-left:260px;

    max-width:1400px;
}


/* ======================================================
   3. TAB BAR
====================================================== */

.tabBar{

    display:flex;

    gap:10px;

    margin-bottom:22px;

    flex-wrap:wrap;
}

.tabBar a{

    text-decoration:none;

    padding:10px 16px;

    border-radius:12px;

    background:white;

    border:1px solid #dbeafe;

    color:#1e3a8a;

    font-size:13px;

    font-weight:700;

    transition:0.25s ease;

    box-shadow:
    0 2px 6px rgba(37,99,235,0.05);
}

.tabBar a:hover{

    transform:translateY(-2px);

    background:#eff6ff;

    border-color:#93c5fd;

    color:#2563eb;
}

.tabBar a.active{

    background:
    linear-gradient(
        135deg,
        #1d4ed8,
        #2563eb
    );

    color:white;

    border:none;

    box-shadow:
    0 12px 25px rgba(37,99,235,0.28);
}


/* ======================================================
   4. PAGE TITLE
====================================================== */

.pageTitleWrap{

    margin-bottom:24px;
}

.pageTitle{

    font-size:26px;

    font-weight:700;

    color:#111111;

    margin-top:50px;

    margin-bottom:12px;
}

.titleLine{

    width:80px;

    height:4px;

    border-radius:999px;

    background:
    linear-gradient(
        90deg,
        #2563eb,
        #60a5fa
    );

    box-shadow:
    0 3px 10px rgba(37,99,235,0.20);
}


/* ======================================================
   5. MAIN BOX
====================================================== */

.box{

    background:white;

    border-radius:22px;

    padding:22px;

    

    border:1px solid #edf2f7;

    box-shadow:
    0 10px 28px rgba(15,23,42,0.05);
    margin-bottom:30px;
    margin-top:20px;
    margin-right:30px;
}


/* ======================================================
   6. BOX HEADER
====================================================== */

.boxHeader{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

    flex-wrap:wrap;
}

.boxTitle{

    font-size:20px;

    font-weight:700;

    color:#111111;
}

.boxSub{

    font-size:13px;

    color:#6b7280;

    margin-top:3px;
}


/* ======================================================
   7. FILTER BAR
====================================================== */

.filterBar{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:22px;
}

.filterBar input,
.filterBar select{

    height:46px;

    border:1px solid #dbe2ea;

    border-radius:14px;

    padding:0 14px;

    font-size:13px;

    outline:none;

    transition:0.2s ease;

    background:#f9fbfd;

    color:#111111;
}

.filterBar input{

    flex:1;

    min-width:240px;
}

.filterBar select{

    min-width:160px;
}

.filterBar input:focus,
.filterBar select:focus{

    background:white;

    border-color:#2563eb;

    box-shadow:
    0 0 0 4px rgba(37,99,235,0.10);
}


/* ======================================================
   8. BUTTONS
====================================================== */

.btn{

    border:none;

    border-radius:14px;

    height:46px;

    padding:0 20px;

    cursor:pointer;

    font-size:13px;

    font-weight:700;

    transition:0.25s ease;
}

.btnBlue{

    background:#111111;

    color:white;

    box-shadow:
    0 6px 16px rgba(0,0,0,0.15);
}

.btnBlue:hover{

    background:#000000;

    transform:translateY(-2px);

    box-shadow:
    0 10px 22px rgba(0,0,0,0.22);
}


/* ======================================================
   9. TABLE WRAPPER
====================================================== */

.tableWrap{

    overflow-x:auto;

    border-radius:18px;

    border:1px solid #edf2f7;

    background:white;
}


/* ======================================================
   10. TABLE
====================================================== */

table{

    width:100%;

    min-width:950px;

    border-collapse:collapse;
}

th{

    background:#f1f5f9;

    color:#111111;

    font-size:12px;

    font-weight:700;

    text-align:left;

    padding:15px;

    border-bottom:
    1px solid #dbe2ea;

    letter-spacing:0.3px;
}

td{

    padding:15px;

    font-size:13px;

    color:#111111;

    border-bottom:
    1px solid #f1f5f9;

    vertical-align:middle;

    transition:0.2s ease;
}

tr:hover td{

    background:#f8fafc;
}


/* ======================================================
   11. ROLE TEXT
====================================================== */

.roleText{

    color:#111111;

    font-weight:700;

    text-transform:capitalize;
}


/* ======================================================
   12. STATUS BADGES
====================================================== */

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:7px 13px;

    border-radius:999px;

    font-size:11px;

    font-weight:700;
}

/* ACTIVE */

.activeBadge{

    background:#dcfce7;

    color:#166534;
}

/* INACTIVE */

.inactiveBadge{

    background:#fee2e2;

    color:#991b1b;
}

/* PENDING */

.pendingBadge{

    background:#fef3c7;

    color:#92400e;
}

.statusBtn{

    cursor:pointer;

    transition:0.2s ease;
}

.statusBtn:hover{

    transform:scale(1.05);
}


/* ======================================================
   13. TOOLTIP
====================================================== */

.tooltip{

    position:relative;

    cursor:pointer;

    color:#111111;


}

.tooltip::after{

    content:attr(data-tip);

    position:absolute;

    bottom:130%;
    left:50%;

    transform:translateX(-50%);

    background:#111111;

    color:white;

    padding:8px 10px;

    border-radius:8px;

    font-size:11px;

    white-space:nowrap;

    opacity:0;

    visibility:hidden;

    transition:0.2s ease;

    z-index:100;
}

.tooltip:hover::after{

    opacity:1;

    visibility:visible;
}


/* ======================================================
   14. PAGINATION
====================================================== */

.pagination{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:10px;

    margin-top:24px;

    flex-wrap:wrap;
}

.pagination a{

    min-width:40px;

    height:40px;

    padding:0 14px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    background:white;

    border:1px solid #dbe2ea;

    color:#111111;

    font-size:13px;

    font-weight:700;

    transition:0.2s ease;
}

.pagination a:hover{

    background:#f3f4f6;

    border-color:#d1d5db;

    color:#111111;
}

.pagination a.activePage{

    background:#111111;

    color:white;

    border:none;

    box-shadow:
    0 8px 18px rgba(0,0,0,0.18);
}


/* ======================================================
   15. MODAL
====================================================== */

.modalBg{

    position:fixed;

    inset:0;

    background:rgba(15,23,42,0.55);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:9999;

    backdrop-filter:blur(4px);
}

.modalBox{

    width:100%;

    max-width:400px;

    background:white;

    border-radius:22px;

    padding:28px 24px;

    text-align:center;

    box-shadow:
    0 24px 60px rgba(0,0,0,0.18);

    animation:popup 0.25s ease;
}

@keyframes popup{

    from{
        opacity:0;
        transform:
        translateY(10px)
        scale(0.97);
    }

    to{
        opacity:1;
        transform:
        translateY(0)
        scale(1);
    }
}

.modalIcon{

    width:68px;
    height:68px;

    margin:auto auto 18px;

    border-radius:50%;

    background:#eff6ff;

    color:#2563eb;

    font-size:28px;

    display:flex;

    align-items:center;

    justify-content:center;
}

.modalTitle{

    font-size:20px;

    font-weight:700;

    color:#111111;

    margin-bottom:10px;
}

.modalText{

    font-size:13px;

    color:#6b7280;

    line-height:1.6;

    margin-bottom:22px;
}

.modalBtns{

    display:flex;

    gap:12px;
}

.modalBtns button{

    flex:1;

    height:46px;

    border:none;

    border-radius:12px;

    font-size:13px;

    font-weight:700;

    cursor:pointer;

    transition:0.2s ease;
}

.btnCancel{

    background:#e5e7eb;

    color:#111111;
}

.btnCancel:hover{

    background:#d1d5db;
}

.btnConfirm{

    background:#111111;

    color:white;
}

.btnConfirm:hover{

    background:#000000;

    transform:translateY(-2px);
}


/* ======================================================
   16. SCROLLBAR
====================================================== */

.tableWrap::-webkit-scrollbar{

    height:8px;
}

.tableWrap::-webkit-scrollbar-track{

    background:#f1f5f9;

    border-radius:10px;
}

.tableWrap::-webkit-scrollbar-thumb{

    background:#cbd5e1;

    border-radius:10px;
}


/* ======================================================
   17. RESPONSIVE
====================================================== */

@media(max-width:992px){

    .content{

        margin-left:0;
    }

    .filterBar{

        flex-direction:column;
    }

    .filterBar input,
    .filterBar select,
    .filterBar button{

        width:100%;
    }

}

@media(max-width:768px){

    .content{

        padding:16px;
    }

    .pageTitle{

        font-size:22px;
    }

    .box{

        padding:18px;
    }

    .tabBar{

        flex-direction:column;
    }

    .tabBar a{

        width:100%;

        text-align:center;
    }

    .pagination{

        justify-content:center;
    }

}