*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fa;
    padding:20px;
}

#search{
    width:350px;
    padding:10px 15px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:14px;
    outline:none;
}

#search:focus{
    border-color:#0d6efd;
}

.table-box{
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    overflow:auto;
    max-height:85vh;
}

table{
    border-collapse:collapse;
    width:max-content;
    min-width:100%;
}

th,
td{
    border:1px solid #ddd;
    padding:8px 10px;
    white-space:nowrap;
    font-size:13px;
}

thead tr:first-child th{
    background:#0d6efd;
    color:#fff;
    position:sticky;
    top:0;
    z-index:2;
}

.filter-row th{
    background:#f8f9fa;
    position:sticky;
    top:41px;
    z-index:1;
}

.filter{
    width:100%;
    padding:6px;
    border:1px solid #ccc;
    border-radius:4px;
    font-size:12px;
    outline:none;
}

.filter:focus{
    border-color:#0d6efd;
}

tbody tr:nth-child(even){
    background:#f8f9fa;
}

tbody tr:hover{
    background:#dbeafe;
}

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-thumb{
    background:#999;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#666;
}


/* =========================================================
   EDIT BUTTON
   ========================================================= */

.action-column{
    text-align:center;
    width:70px;
    min-width:70px;
}

.edit-btn{
    display:inline-block;
    background:#198754;
    color:#ffffff !important;
    padding:7px 12px;
    border-radius:5px;
    text-decoration:none !important;
    font-size:13px;
    font-weight:bold;
    line-height:1;
    text-align:center;
    border:1px solid #198754;
    cursor:pointer;
}

.edit-btn:hover{
    background:#157347;
    border-color:#146c43;
    color:#ffffff !important;
    text-decoration:none !important;
}

.edit-btn:visited{
    color:#ffffff !important;
    text-decoration:none !important;
}