/* ===================== */
/* RESET */
/* ===================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body {
    background-color: rgb(96, 162, 255);
}

/* ===================== */
/* WRAPPER */
/* ===================== */

.wrapper{
    display:flex;
}

/* ===================== */
/* MENU TOGGLE */
/* ===================== */

.menu-toggle{

    position:fixed;

    top:20px;
    left:20px;

    width:50px;
    height:50px;

    background:#2563eb;

    color:white;

    border-radius:12px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:28px;

    cursor:pointer;

    z-index:1000;

    transition:0.3s;
}

.menu-toggle:hover{

    background:#1d4ed8;
}

/* ===================== */
/* SIDEBAR */
/* ===================== */

.sidebar{

    width:260px;
    height:100vh;

    background:#1e293b;

    position:fixed;

    top:0;
    left:-270px;

    padding:25px;

    transition:0.4s;

    z-index:999;

    overflow-y:auto;
}

.sidebar.active{

    left:0;
}

/* ===================== */
/* LOGO */
/* ===================== */

.logo-sidebar{

    text-align:center;

    margin-bottom:40px;
}

.logo-sidebar img{

    width:80px;

    margin-bottom:10px;
}

.logo-sidebar h2{

    color:white;

    font-size:24px;
}

/* ===================== */
/* MENU */
/* ===================== */

.sidebar ul{

    list-style:none;
}

.sidebar ul li{

    margin-bottom:12px;
}

.sidebar ul li a{

    display:block;

    padding:14px 16px;

    background:transparent;

    color:white;

    text-decoration:none;

    border-radius:10px;

    transition:0.3s;
}

.sidebar ul li a:hover{

    background:#2563eb;

    padding-left:22px;
}

/* ===================== */
/* MAIN CONTENT */
/* ===================== */

.main-content{

    width:100%;

    padding:100px 30px 40px 30px;
}

/* ===================== */
/* PAGE TITLE */
/* ===================== */

.page-title{

    margin-bottom:25px;
}

.page-title h1{

    font-size:32px;

    margin-bottom:8px;
}

.page-title p{

    color:#cbd5e1;
}

/* ===================== */
/* CARD */
/* ===================== */

.cards{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:25px;
}

.card{

    flex:1;

    min-width:220px;

    background:rgb(255, 247, 247);

    color:#0f172a;

    padding:30px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);

    transition:0.3s;
}

.card:hover{

    transform:translateY(-5px);
}

.card h3{

    margin-bottom:10px;

    color:#334155;
}

.card p{

    font-size:32px;

    font-weight:bold;

    color:#2563eb;
}

/* ===================== */
/* FORM */
/* ===================== */

.form-container{

    background:white;

    padding:30px;

    border-radius:20px;

    color:#0f172a;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.form-container h2{

    margin-bottom:25px;

    color:#0f172a;
}

.form-group{

    margin-bottom:20px;
}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:bold;

    color:#0f172a;
}

.form-group input,
.form-group select{

    width:100%;

    padding:14px;

    border:1px solid #cbd5e1;

    border-radius:10px;

    outline:none;

    transition:0.3s;
}

.form-group input:focus,
.form-group select:focus{

    border-color:#2563eb;

    box-shadow:0 0 10px rgba(37,99,235,0.2);
}

/* ===================== */
/* BUTTON */
/* ===================== */

button,
.btn-simpan{

    background:#2563eb;

    color:white;

    border:none;

    padding:14px 20px;

    border-radius:10px;

    cursor:pointer;

    transition:0.3s;
}

button:hover,
.btn-simpan:hover{

    background:#1d4ed8;
}

/* ===================== */
/* TABLE */
/* ===================== */

.table-container{

    background:white;

    padding:25px;

    border-radius:20px;

    overflow-x:auto;

    box-shadow:0 10px 20px rgba(165, 151, 151, 0.15);
}

table{

    width:100%;

    border-collapse:collapse;

    color:#0f172a;
}

table thead{

    background:#2563eb;

    color:white;
}

table th,
table td{
    padding:38px;
    text-align:center;
    vertical-align:middle;
    border-bottom:1px solid #e2e8f0;
}

table tr:hover{

    background:#f8fafc;
}

.kolom-aksi{
    width:140px;
    text-align:center;
    vertical-align:middle;
}

.aksi-buttons{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
}

.aksi-buttons a{
    width:100%;
    max-width:120px;
    padding:8px;
    font-size:13px;
    text-align:center;
    border-radius:8px;
    box-sizing:border-box;
}

/* ===================== */
/* BUTTON TABLE */
/* ===================== */

.btn-edit,
.btn-hapus,
.btn-detail{

    padding:8px 14px;

    border-radius:8px;

    text-decoration:none;

    color:white;

    display:inline-block;

    margin:2px;
}

.btn-edit{
    background:#f59e0b;
}

.btn-hapus{
    background:#dc2626;
}

.btn-detail{
    background:#2563eb;
}

/* ===================== */
/* CHART */
/* ===================== */

.chart-box{

    background:white;

    padding:25px;

    border-radius:20px;

    margin-top:25px;

    box-shadow:0 10px 20px rgba(0, 0, 0, 0.15);
}

.chart-box h2{

    color:#0f172a;

    margin-bottom:20px;
}

/* ===================== */
/* NOTIFIKASI */
/* ===================== */

.notif-container{

    background:white;

    padding:25px;

    border-radius:20px;

    margin-top:25px;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.notif-container h2{

    color:#0f172a;

    margin-bottom:20px;
}

.notif-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 0;

    border-bottom:1px solid #e2e8f0;

    color:#0f172a;
}

.notif-item:last-child{

    border-bottom:none;
}

.notif-item p{

    color:#64748b;
}

.notif-item span{

    background:#2563eb;

    color:white;

    padding:8px 12px;

    border-radius:8px;

    font-size:13px;
}

/* ===================== */
/* LOGIN */
/* ===================== */

.login-page{

    background-image:
    linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.4)
    ),
    url('gambar.jpeg');

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    min-height:100vh;
}

.login-container{

    width:100%;
    height:100vh;

    display:flex;

    justify-content:center;
    align-items:center;

    padding:20px;
}

.login-box{

    width:100%;
    max-width:400px;

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,0.2);

    color:#0f172a;
}

.login-box h2{

    text-align:center;

    margin-bottom:10px;
}

.login-box p{

    text-align:center;

    margin-bottom:25px;

    color:#64748b;
}

.login-box input{

    width:100%;

    padding:14px;

    margin-bottom:15px;

    border:1px solid #cbd5e1;

    border-radius:10px;
}

.login-box button{

    width:100%;
}


/* ===================== */
/* WRAPPER */
/* ===================== */

.wrapper{
    display:flex;
}

/* ===================== */
/* MENU TOGGLE */
/* ===================== */

.menu-toggle{

    position:fixed;

    top:20px;
    left:20px;

    width:50px;
    height:50px;

    background:#2563eb;

    color:white;

    border-radius:12px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:28px;

    cursor:pointer;

    z-index:1000;

    transition:0.3s;
}

.menu-toggle:hover{

    background:#1d4ed8;
}

/* ===================== */
/* SIDEBAR */
/* ===================== */

.sidebar{

    width:260px;
    height:100vh;

    background:#1e293b;

    position:fixed;

    top:0;
    left:-270px;

    padding:25px;

    transition:0.4s;

    z-index:999;

    overflow-y:auto;
}

.sidebar.active{

    left:0;
}

/* ===================== */
/* LOGO */
/* ===================== */

.logo-sidebar{

    text-align:center;

    margin-bottom:40px;
}

.logo-sidebar img{

    width:80px;

    margin-bottom:10px;
}

.logo-sidebar h2{

    color:white;

    font-size:24px;
}

/* ===================== */
/* MENU */
/* ===================== */

.sidebar ul{

    list-style:none;
}

.sidebar ul li{

    margin-bottom:12px;
}

.sidebar ul li a{

    display:block;

    padding:14px 16px;

    background:transparent;

    color:white;

    text-decoration:none;

    border-radius:10px;

    transition:0.3s;
}

.sidebar ul li a:hover{

    background:#2563eb;

    padding-left:22px;
}

/* ===================== */
/* MAIN CONTENT */
/* ===================== */

.main-content{

    width:100%;

    padding:100px 30px 40px 30px;
}

/* ===================== */
/* PAGE TITLE */
/* ===================== */

.page-title{

    margin-bottom:25px;
}

.page-title h1{

    font-size:32px;

    margin-bottom:8px;
}

.page-title p{

    color:#cbd5e1;
}

/* ===================== */
/* CARD */
/* ===================== */

.cards{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:25px;
}

.card{

    flex:1;

    min-width:220px;

    background:white;

    color:#0f172a;

    padding:30px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);

    transition:0.3s;
}

.card:hover{

    transform:translateY(-5px);
}

.card h3{

    margin-bottom:10px;

    color:#334155;
}

.card p{

    font-size:32px;

    font-weight:bold;

    color:#2563eb;
}

/* ===================== */
/* FORM */
/* ===================== */

.form-container{

    background:white;

    padding:30px;

    border-radius:20px;

    color:#0f172a;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.form-container h2{

    margin-bottom:25px;

    color:#0f172a;
}

.form-group{

    margin-bottom:20px;
}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:bold;

    color:#0f172a;
}

.form-group input,
.form-group select{

    width:100%;

    padding:14px;

    border:1px solid #cbd5e1;

    border-radius:10px;

    outline:none;

    transition:0.3s;
}

.form-group input:focus,
.form-group select:focus{

    border-color:#2563eb;

    box-shadow:0 0 10px rgba(37,99,235,0.2);
}

/* ===================== */
/* BUTTON */
/* ===================== */

button,
.btn-simpan{

    background:#2563eb;

    color:white;

    border:none;

    padding:14px 20px;

    border-radius:10px;

    cursor:pointer;

    transition:0.3s;
}

button:hover,
.btn-simpan:hover{

    background:#1d4ed8;
}

/* ===================== */
/* TABLE */
/* ===================== */



table{

    width:100%;

    border-collapse:collapse;

    color:#0f172a;
}

table thead{

    background:#939393;

    border-radius: 10px;

    color:rgb(0, 0, 0);
}

table th,
table td{

    padding:15px;

    text-align:center;

    border-bottom:1px solid #e2e8f0;
}

table tr:hover{

    background:#f8fafc;
}

/* ===================== */
/* BUTTON TABLE */
/* ===================== */

.btn-edit,
.btn-hapus,
.btn-detail{

    padding:8px 14px;

    border-radius:8px;

    text-decoration:none;

    color:white;

    display:inline-block;

    margin:2px;
}

.btn-edit{
    background:#f59e0b;
}

.btn-hapus{
    background:#dc2626;
}

.btn-detail{
    background:#2563eb;
}

/* ===================== */
/* CHART */
/* ===================== */

.chart-box{

    background:white;

    padding:25px;

    border-radius:20px;

    margin-top:25px;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.chart-box h2{

    color:#0f172a;

    margin-bottom:20px;
}

/* ===================== */
/* NOTIFIKASI */
/* ===================== */

.notif-container{

    background:white;

    padding:25px;

    border-radius:20px;

    margin-top:25px;

    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.notif-container h2{

    color:#0f172a;

    margin-bottom:20px;
}

.notif-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 0;

    border-bottom:1px solid #e2e8f0;

    color:#0f172a;
}

.notif-item:last-child{

    border-bottom:none;
}

.notif-item p{

    color:#64748b;
}

.notif-item span{

    background:#2563eb;

    color:white;

    padding:8px 12px;

    border-radius:8px;

    font-size:13px;
}

/* ===================== */
/* LOGIN */
/* ===================== */
.login-page{

    background: linear-gradient(
        to bottom,
        #2563eb,
        #1e3a8a
    );

    min-height:100vh;
}

.login-container{

    width:100%;
    height:100vh;

    display:flex;

    justify-content:center;
    align-items:center;

    padding:20px;
}

.login-box{

    width:100%;
    max-width:400px;

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,0.2);

    color:#0f172a;
}

.login-box h2{

    text-align:center;

    margin-bottom:10px;
}

.login-box p{

    text-align:center;

    margin-bottom:25px;

    color:#64748b;
}

.login-box input{

    width:100%;

    padding:14px;

    margin-bottom:15px;

    border:1px solid #cbd5e1;

    border-radius:10px;
}

.login-box button{

    width:100%;
}

/* ===================== */
/* BUTTON BACK */
/* ===================== */

.back-area{

    margin-bottom:10px;
}

.btn-back{

    display:inline-block;

    background:#2563eb;

    color:white;

    padding:10px 18px;

    border-radius:10px;

    margin-top: 10px;

    text-decoration:none;

    font-weight:bold;

    transition:0.3s;
}

.btn-back:hover{

    background:#1d4ed8;

    transform:translateY(-2px);
}

/* ===================== */
/* AKSI BUTTON */
/* ===================== */

.aksi-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.aksi-kolom{
    vertical-align:middle;
}


/* ===================== */
/* LOGIN BACKGROUND */
/* ===================== */

body.login-page{

    

    background-image:
    linear-gradient(
        rgba(0,0,0,0.80),
        rgba(0,0,0,0.80)
    ),
    
    url('gambar.jpeg') !important;

    background-size:cover !important;

    background-position:center !important;

    background-repeat:no-repeat !important;

    min-height:100vh;

}

/* ===================== */
/* FILTER WOW MODERN */
/* ===================== */

.filter-container{

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(10px);

    -webkit-backdrop-filter:blur(10px);

    padding:30px;

    border-radius:25px;

    box-shadow:0 8px 25px rgba(0,0,0,0.15);

    margin-bottom:25px;

    border:1px solid rgba(255,255,255,0.1);
}

/* HEADER */

.filter-header h2{

    color:white;

    font-size:28px;

    margin-bottom:8px;
}

.filter-header p{

    color:#cbd5e1;

    margin-bottom:25px;
}

/* ACTION BUTTON */

.filter-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:25px;
}

.btn-modern{

    padding:14px 22px;

    border-radius:14px;

    text-decoration:none;

    color:white;

    font-weight:bold;

    transition:0.3s;

    display:inline-flex;

    align-items:center;

    gap:8px;

    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.btn-modern:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

/* BUTTON CETAK */

.btn-cetak{

    background:linear-gradient(
        45deg,
        #2563eb,
        #1d4ed8
    );
}

/* BUTTON EXCEL */

.btn-excel{

    background:linear-gradient(
        45deg,
        #16a34a,
        #15803d
    );
}

/* SEARCH */

.search-form{

    display:flex;

    gap:15px;

    flex-wrap:wrap;
}

.search-form input{

    width: 250px;

    flex: none;

    padding:12px 15px;

    border:1px solid #cbd5e1;

    border-radius:12px;

    outline:none;
}

.search-form input:focus{

    box-shadow:0 0 15px rgba(37,99,235,0.4);
}

/* BUTTON SEARCH */

.search-form button{

    padding:15px 25px;

    border:none;

    border-radius:14px;

    background:linear-gradient(
        45deg,
        #7c3aed,
        #2563eb
    );

    color:white;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

.search-form button:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}   

/* ===================== */
/* JUDUL MODERN */
/* ===================== */

.judul-modern{

    display:inline-block;

    background:linear-gradient(
        45deg,
        #2563eb,
        #7c3aed
    );

    color:white;

    padding:16px 28px;

    border-radius:18px;

    font-size:32px;

    font-weight:bold;

    letter-spacing:1px;

    box-shadow:0 8px 20px rgba(0,0,0,0.2);

    margin-bottom:25px;

    transition:0.3s;
}

.judul-modern:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(0,0,0,0.25);
}

/* ===================== */
/* DASHBOARD TITLE MODERN */
/* ===================== */

.dashboard-title{

    display:inline-flex;

    align-items:center;

    gap:12px;

    background:linear-gradient(
        45deg,
        #2563eb,
        #7c3aed
    );

    color:white;

    padding:18px 30px;

    border-radius:22px;

    font-size:34px;

    font-weight:bold;

    letter-spacing:1px;

    box-shadow:0 10px 25px rgba(0,0,0,0.2);

    margin-bottom:12px;

    transition:0.3s;
}

.dashboard-title:hover{

    transform:translateY(-3px);

    box-shadow:0 14px 30px rgba(0,0,0,0.25);
}

/* SUBTITLE */

.dashboard-subtitle{

    color:#cbd5e1;

    font-size:16px;

    margin-top:10px;

    margin-left:5px;

    letter-spacing:0.5px;
}

.search-form input{

    width: 260px;

    padding:12px 15px;

    border-radius:12px;

    border:1px solid #cbd5e1;

    outline:none;
}

.search-input{
    width: fit-content;
    padding:10px 15px;
    border:1px solid #ccc;
    border-radius:10px;
}

.aksi-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.aksi-buttons span,
.aksi-buttons a{
    min-width:150px;
    text-align:center;
}