@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter', sans-serif;
}

body{
background:#f1f5f9;
}

/* ===== SIDEBAR ===== */
.sidebar{
position:fixed;
top:0;
left:0;
width:240px;
height:100%;
background:#0f172a;
padding-top:20px;
overflow-y:auto;
}

.sidebar h2{
color:#fff;
text-align:center;
margin-bottom:20px;
font-size:18px;
letter-spacing:1px;
}

.sidebar ul{
list-style:none;
}

.sidebar ul li{
margin:2px 0;
}

.sidebar ul li a{
display:block;
padding:12px 18px;
color:#cbd5e1;
text-decoration:none;
font-size:14px;
transition:0.2s;
border-left:3px solid transparent;
}

.sidebar ul li a:hover{
background:#1e293b;
color:#fff;
border-left:3px solid #3b82f6;
}

/* ===== NAVBAR ===== */
.navbar{
position:fixed;
top:0;
left:240px;
right:0;
height:60px;
background:#ffffff;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 25px;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
z-index:1000;
}

.navbar b{
font-size:16px;
color:#0f172a;
}

.navbar a{
text-decoration:none;
color:#ef4444;
font-weight:500;
}

/* ===== CONTENT ===== */
.content{
margin-left:240px;
margin-top:80px;
padding:25px;
}

/* ===== CARD DASHBOARD ===== */
.card{
display:inline-block;
width:230px;
margin:10px;
padding:20px;
background:#fff;
border-radius:12px;
box-shadow:0 6px 18px rgba(15,23,42,0.08);
transition:0.2s;
}

.card:hover{
transform:translateY(-3px);
}

.card h3{
font-size:14px;
color:#64748b;
margin-bottom:10px;
}

.card h1{
font-size:32px;
color:#0f172a;
}

/* ===== TABLE ===== */
table{
width:100%;
border-collapse:collapse;
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 18px rgba(15,23,42,0.06);
margin-top:15px;
}

table th{
background:#0f172a;
color:#fff;
padding:12px;
font-size:13px;
text-align:left;
}

table td{
padding:12px;
border-bottom:1px solid #e2e8f0;
font-size:13px;
color:#334155;
}

table tr:hover{
background:#f8fafc;
}

/* ===== FORM ===== */
input, select{
width:320px;
padding:10px 12px;
margin-top:5px;
margin-bottom:15px;
border:1px solid #cbd5e1;
border-radius:8px;
outline:none;
transition:0.2s;
font-size:14px;
}

input:focus, select:focus{
border-color:#3b82f6;
box-shadow:0 0 0 3px rgba(59,130,246,0.15);
}

/* ===== BUTTON ===== */
button, .btn{
display:inline-block;
background:#2563eb;
color:#fff;
padding:10px 16px;
border:none;
border-radius:8px;
cursor:pointer;
font-size:14px;
text-decoration:none;
transition:0.2s;
}

button:hover, .btn:hover{
background:#1d4ed8;
}

/* ===== LINK ACTION ===== */
a{
color:#2563eb;
}

a:hover{
opacity:0.8;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

.sidebar{
width:200px;
}

.navbar{
left:200px;
}

.content{
margin-left:200px;
}

.card{
width:100%;
}
}
/* ================= LAPORAN ================= */

.report-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
}

.report-title h2{
font-size:28px;
color:#1e293b;
margin-bottom:5px;
}

.report-title p{
color:#64748b;
font-size:14px;
}

.report-action{
display:flex;
gap:10px;
}

.btn-success{
background:#16a34a;
color:white;
padding:10px 18px;
border-radius:8px;
text-decoration:none;
font-weight:500;
}

.btn-success:hover{
background:#15803d;
}

.btn-secondary{
background:#475569;
color:white;
padding:10px 18px;
border-radius:8px;
text-decoration:none;
}

.summary{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-bottom:25px;
}

.summary-card{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.summary-card h4{
color:#64748b;
margin-bottom:10px;
font-size:14px;
}

.summary-card h1{
font-size:32px;
color:#0f172a;
}

.filter-box{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
margin-bottom:20px;
display:flex;
gap:15px;
align-items:end;
flex-wrap:wrap;
}

.filter-box label{
display:block;
font-size:13px;
margin-bottom:5px;
}

.filter-box input,
.filter-box select{
width:220px;
}

.report-table{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.report-table table{
margin-top:0;
}