*{
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:Arial,sans-serif;
}

body{
    background:#0f172a;
    color:white;
    overflow-x:hidden;
}

/* LOADER */

.loader-container{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,0.8);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
    backdrop-filter:blur(4px);
}

.spinner{
    width:60px;
    height:60px;
    border:5px solid rgba(255,255,255,0.15);
    border-top:5px solid #3b82f6;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

/* SIDEBAR */

.sidebar{
    position:fixed;
    top:0;
    left:-260px;
    width:240px;
    height:100vh;
    background:#111827;
    border-right:1px solid #1f2937;
    padding:20px;
    z-index:1000;
    transition:0.25s ease;
}

.sidebar.open{
    left:0;
}

.logo{
    color:white;
    font-size:24px;
    font-weight:bold;
    margin-bottom:30px;
    text-align:center;
}

/* MENU TOGGLE */

.menu-toggle{
    position:fixed;
    top:20px;
    left:20px;
    width:48px;
    height:48px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    font-size:22px;
    cursor:pointer;
    z-index:2000;
}


.menu-toggle:hover{
    background:#1d4ed8;
}

/* OVERLAY */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    backdrop-filter:blur(3px);
    opacity:0;
    visibility:hidden;
    transition:0.2s;
    z-index:900;
}

.overlay.show{
    opacity:1;
    visibility:visible;
}

/* BUTTONS */

.menu-btn{
    width:100%;
    border:none;
    background:#1e293b;
    color:#dbeafe;
    padding:14px;
    border-radius:12px;
    margin-bottom:10px;
    cursor:pointer;
    font-size:15px;
    transition:0.2s;
    text-align:left;
}

.menu-btn:hover{
    background:#334155;
}

.menu-btn.active{
    background:#2563eb;
    color:white;
}

/* MAIN CONTENT */

.main-content{
    width:100%;
    padding:90px 25px 25px 25px;
}

/* LOGIN */

#loginDiv{
    position:absolute;
    top:20px;
    right:20px;
    display:flex;
    align-items:center;
    gap:10px;
    z-index:1500;
}

#userName{
    color:#cbd6ff;
    font-size:14px;
}

/* TITLES */

.section-title{
    margin-bottom:20px;
    font-size:28px;
    color:white;
}

/* TABLE */

table{
    width:100%;
    border-collapse:collapse;
    background:#111827;
    border-radius:18px;
    overflow:hidden;
    margin-top:20px;
}

thead{
    background:#1e293b;
}

th{
    padding:16px;
    text-align:left;
    color:white;
    font-size:14px;
}

td{
    padding:16px;
    border-top:1px solid #1f2937;
    color:#d1d5db;
    font-size:14px;
}

tr:hover{
    background:#172033;
}

/* BUTTONS */

button{
    border:none;
    cursor:pointer;
    transition:0.2s;
}

.primary{
    background:#2563eb;
    color:white;
    padding:14px 18px;
    border-radius:12px;
    font-size:14px;
    font-weight:bold;
}

.primary:hover{
    background:#1d4ed8;
}

.renew-btn{
    background:#10b981;
    color:white;
    padding:10px 14px;
    border-radius:10px;
    font-size:13px;
}

.renew-btn:hover{
    background:#059669;
}

/* TERMINAL */

.terminal-wrapper{
    width:100%;
    height:84vh;
    background:black;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #1f2937;
}

/* MOBILE */

@media(max-width:900px){

    .main-content{
        padding:90px 15px 15px 15px;
    }

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

    th,
    td{
        padding:13px;
        font-size:13px;
    }

    .section-title{
        font-size:22px;
    }

    .terminal-wrapper{
        height:75vh;
    }

    #loginDiv{
        right:15px;
        top:15px;
    }
}



.search-input{
    width:100%;
    padding:14px;
    border:none;
    outline:none;
    border-radius:14px;
    background:#111827;
    color:white;
    font-size:15px;
    border:1px solid #1f2937;
    margin:18px 0;
}

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:22px;
    flex-wrap:wrap;
}

.pagination button{
    border:none;
    padding:11px 18px;
    border-radius:12px;
    background:#1e293b;
    color:white;
    cursor:pointer;
    transition:0.2s;
    font-size:14px;
}

.pagination button:hover{
    background:#334155;
}

.pagination button:disabled{
    cursor:not-allowed;
    opacity:0.5;
}

.page-info{
    color:#cbd5e1;
    font-size:14px;
}