body{
    background:#eef2f7;
    font-family:Arial,sans-serif;
    margin:0;
    padding:0;
}

/* SIDEBAR */

.sidebar{
    width:260px;
    height:100vh;
    background:linear-gradient(to bottom,#021b43,#012970);
    position:fixed;
    top:0;
    left:0;
    overflow-y:auto;
    color:white;
}

.logo-area{
    text-align:center;
    padding:25px 15px;
}

.logo-area img{
    width:80px;
    margin-bottom:10px;
}

.logo-area h3{
    font-size:28px;
    font-weight:bold;
    margin:0;
}

.logo-area p{
    font-size:14px;
    color:#facc15;
    margin-top:10px;
}

.sidebar a{
    display:flex;
    align-items:center;
    gap:10px;
    color:white;
    padding:10px 20px;
    text-decoration:none;
    transition:0.3s;
    font-size:15px;
    border-radius:8px;
    margin:5px 10px;
}

.sidebar a:hover{
    background:#0f3b91;
}

/* CONTENT */

.content{
    margin-left:260px;
    padding:20px;
}

/* TOPBAR */

.topbar{
    background:#021b43;
    color:white;
    padding:15px 25px;
    border-radius:15px;
    margin-bottom:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* CARD */

.stats-card,
.table-box,
.filter-box,
.form-box,
.card-box{
    background:white;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

/* STATISTIK */

.stats-card{
    color:white;
    padding:14px 18px;
    margin-bottom:15px;
}

.stats-card p{
    margin:0;
    font-size:14px;
}

.stats-card h2{
    margin:0;
    font-size:30px;
    font-weight:bold;
}

.bg-blue{
    background:#012970;
}

.bg-gold{
    background:#c58a00;
}

.bg-green{
    background:#198754;
}

.bg-red{
    background:#dc3545;
}

/* FILTER */

.filter-box{
    padding:15px 20px;
    margin-bottom:15px;
}

/* TABLE */

.table-box{
    padding:20px;
    position:relative;
    overflow:hidden;
}

/* WATERMARK */

.table-box::before,
.form-box::before{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:450px;
    height:450px;
    background:url('./assets/watermark.png');
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    transform:translate(-50%,-50%);
    opacity:0.05;
    z-index:1;
}

.table-box *,
.form-box *{
    position:relative;
    z-index:2;
}

/* TABLE STYLE */

.table-responsive{
    overflow-x:auto;
}

table{
    font-size:12px;
    background:rgba(255,255,255,0.97);
    text-align:center;
    vertical-align:middle;
}

th{
    white-space:nowrap;
    text-align:center;
    vertical-align:middle;
    font-size:12px;
    line-height:1.3;
    min-width:80px;
}

td{
    vertical-align:middle;
    padding:8px 6px !important;
}

.table-dark{
    background:#021b43 !important;
}

.table tbody tr:hover{
    background:#f1f5ff;
}

/* FORM */

.form-box{
    padding:30px;
    position:relative;
    overflow:hidden;
}

.section-title{
    color:#012970;
    font-weight:bold;
    margin-top:30px;
    margin-bottom:20px;
    border-left:5px solid #facc15;
    padding-left:10px;
}

/* LOGIN */

.login-box{
    width:400px;
    background:white;
    padding:35px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    margin:80px auto;
}

/* BUTTON */

.btn-primary{
    background:#012970;
    border:none;
}

.btn-primary:hover{
    background:#021b43;
}

/* TITLE */

.content h4{
    color:white;
    font-weight:bold;
}

@media(max-width:768px){

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .content{
        margin-left:0;
        padding:10px;
    }

    .topbar{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .stats-card{
        margin-bottom:10px;
    }

    .table-responsive{
        overflow-x:auto;
    }

    .login-box{
        width:95%;
        margin:30px auto;
    }

}

.form-box .mb-4{
    color:white !important;
}

.form-box h3{
    color:white !important;
}

.topbar h4{
    color:white !important;
}

.table-box h4{
    color:#021b43 !important;
}

textarea{
    position:relative;
    z-index:2;
    background:white !important;
}

textarea.form-control{
    color:black !important;
}

.form-box{
    position:relative;
    overflow:hidden;
}

.form-box::before{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:500px;
    height:500px;
    background:url('./assets/watermark.png');
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    transform:translate(-50%,-50%);
    opacity:0.05;
    z-index:1;
}

.form-box *{
    position:relative;
    z-index:2;
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media(max-width:768px){

    /* SIDEBAR */

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
        padding-bottom:10px;
    }

    .logo-area{
        padding:15px 10px;
    }

    .logo-area img{
        width:60px;
    }

    .logo-area h3{
        font-size:24px;
    }

    .logo-area p{
        font-size:12px;
    }

    .sidebar a{
        font-size:14px;
        padding:10px 15px;
    }

    /* CONTENT */

    .content{
        margin-left:0;
        padding:10px;
    }

    /* TOPBAR */

    .topbar{
        flex-direction:column;
        gap:10px;
        text-align:center;
        padding:15px;
    }

    .topbar h5{
        font-size:18px;
    }

    /* CARD */

    .stats-card{
        padding:15px;
    }

    .stats-card h2{
        font-size:24px;
    }

    /* FILTER */

    .filter-box{
        padding:15px;
    }

    /* TABLE */

    .table-box{
        padding:15px;
    }

    .table-responsive{
        overflow-x:auto;
    }

    table{
        min-width:1200px;
    }

    /* FORM */

    .form-box{
        padding:20px;
    }

    .section-title{
        font-size:18px;
    }

    /* BUTTON */

    .btn{
        font-size:14px;
    }

    /* LOGIN */

    .login-box,
    .register-box{
        width:100%;
        padding:30px 20px;
    }

}