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

body{
    font-family:Arial, sans-serif;
    background:#0d1117;
    color:white;
    padding:20px;
}

/* TITLE */

h1,h2,h3{
    margin-bottom:15px;
}

/* BOX */

.box{
    width:100%;
    max-width:1200px;
    margin:auto;
    background:#161b22;
    padding:20px;
    border-radius:12px;
    box-shadow:0 0 15px rgba(0,0,0,0.3);
}

/* FORM */

input,
select,
textarea{
    width:100%;
    padding:12px;
    margin-top:10px;
    border-radius:8px;
    border:1px solid #334155;
    background:#0f172a;
    color:white;
    font-size:16px;
}

button{
    padding:12px;
    margin-top:10px;
    border:none;
    border-radius:8px;
    background:cyan;
    color:black;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.2s;
}

form button{
    width:100%;
}

.btn{
    width:auto !important;
}

button:hover{
    opacity:0.9;
}

/* TABLE */

table{
    width:100%;
    margin-top:20px;
    border-collapse:collapse;
}

table th{
    background:#1e293b;
    color:cyan;
}

table th,
table td{
    border:1px solid #334155;
    padding:12px;
    text-align:left;
}

table tr:nth-child(even){
    background:#111827;
}

/* MENU */

.menu{
    margin-top:25px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.menu a{
    text-decoration:none;
}

/* BUTTON */

.btn{
    display:inline-block;
    padding:10px 16px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    border:none;
    cursor:pointer;
    transition:0.2s;
    text-align:center;
    min-width:90px;
}

.btn:hover{
    opacity:0.9;
    transform:scale(1.03);
}

/* WARNA BUTTON */

.btn-dashboard{
    background:cyan;
    color:black;
}

.btn-edit{
    background:orange;
    color:black;
}

.btn-hapus{
    background:red;
    color:white;
}

.btn-simpan{
    background:limegreen;
    color:white;
}

.btn-wa{
    background:#25D366;
    color:white;
}

/* AKSI */

.aksi{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

/* CARD DASHBOARD */

.card-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:20px;
}

.card{
    background:#111827;
    border:1px solid #1e293b;
    padding:20px;
    border-radius:12px;
}

.card h3{
    margin-bottom:10px;
    color:#94a3b8;
}

.card p{
    font-size:28px;
    font-weight:bold;
    color:cyan;
}

/* LAYANAN GRID */

.layanan-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-top:20px;
}

.layanan-btn{
    height:120px;
    border:none;
    border-radius:15px;
    background:cyan;
    color:black;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:0.2s;
}

.layanan-btn:hover{
    transform:scale(1.03);
}

/* MOBILE */

@media(max-width:768px){

    body{
        padding:10px;
    }

    .box{
        padding:15px;
    }

    .card-grid{
        grid-template-columns:1fr;
    }

    .layanan-grid{
        grid-template-columns:1fr 1fr;
    }

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

    .menu{
        flex-direction:column;
    }

    .menu a{
        width:100%;
    }

    .btn{
        width:100%;
    }

    .aksi{
        flex-direction:column;
    }

}
a.btn{
    display:inline-block !important;
    padding:10px 16px !important;
    border-radius:8px !important;
    text-decoration:none !important;
    font-weight:bold !important;
    border:none !important;
    cursor:pointer !important;
    transition:0.2s !important;
    text-align:center !important;
    min-width:90px !important;
}

/* WARNA */

a.btn-edit{
    background:orange !important;
    color:black !important;
}

a.btn-hapus{
    background:red !important;
    color:white !important;
}

a.btn-dashboard{
    background:cyan !important;
    color:black !important;
}

th a,
th a:visited{
    color:#00ffff;
    text-decoration:none;
}

th a:hover{
    color:white;
}

.card-grid2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.card2{
    background:#161b22;
    color:white;
    border:1px solid #263043;
    border-radius:12px;
    padding:15px;
}

.card2 a{
    text-decoration:none;
    color:inherit;
    display:block;
}

.card-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:15px;

margin-bottom:20px;

}

@media(max-width:768px){

.card-grid{

grid-template-columns:1fr;

}
.menu-grid{

grid-template-columns:repeat(2,1fr);

}

.menu-card{

padding:18px 10px;

}

.menu-icon{

font-size:34px;

}
}

.menu-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(170px,1fr));

gap:15px;

margin-top:20px;

}

.menu-card{

background:#1e293b;

border-radius:15px;

padding:20px;

text-align:center;

text-decoration:none;

color:white;

transition:.25s;

box-shadow:0 3px 8px rgba(0,0,0,.25);

}

.menu-card:hover{

transform:translateY(-4px);

background:#2563eb;

}

.menu-icon{

font-size:40px;

margin-bottom:12px;

display:block;

}

.menu-title{

font-size:16px;

font-weight:bold;

}