*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, Arial, sans-serif;
}

body{
    background:#eef2f7;
}

.container{
    width:95%;
    max-width:1200px;
    margin:25px auto;
}

header{
    background:linear-gradient(135deg,#2563eb,#0d6efd);
    color:white;
    padding:30px;
    text-align:center;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

header h1{
    margin:0;
    font-size:38px;
}

header p{
    margin-top:10px;
    opacity:.9;
}

nav{
    margin:20px 0;
    background:white;
    border-radius:12px;
    display:flex;
    gap:15px;
    padding:15px 20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

nav a{
    text-decoration:none;
    color:#444;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#2563eb;
}

.card{
    background:white;
    padding:25px;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    margin-top:20px;
}

input,
select,
textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:10px;
    margin:8px 0 18px;
}

button,
.btn{
    background:#2563eb;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

button:hover,
.btn:hover{
    background:#1d4ed8;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    overflow:hidden;
    border-radius:12px;
}

table th{
    background:#2563eb;
    color:white;
    padding:15px;
}

table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

table tr:nth-child(even){
    background:#f8fafc;
}

table tr:hover{
    background:#e0edff;
}

.footer{
    text-align:center;
    padding:20px;
    color:#666;
}

.dashboard{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:25px;
}

.box{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    text-align:center;
    padding:25px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:.3s;
}

.box:hover{
    transform:translateY(-6px);
}

.box h2{
    font-size:45px;
    margin-bottom:10px;
}

.box h3{
    font-size:32px;
}

.box p{
    margin-top:10px;
    opacity:.9;
}

/* ================= BUTTON ================= */

.btn{
    display:inline-block;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    color:white;
    font-weight:bold;
    transition:.3s;
    border:none;
    cursor:pointer;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-tambah{
    background:#198754;
}

.btn-edit{
    background:#0d6efd;
}

.btn-hapus{
    background:#dc3545;
}

.btn-kembali{
    background:#6c757d;
}

/* ================= TABEL MODERN ================= */

table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    border-radius:12px;
    background:white;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

table th{
    background:linear-gradient(90deg,#0d6efd,#0b5ed7);
    color:white;
    padding:14px;
    font-size:15px;
}

table td{
    padding:14px;
    border-bottom:1px solid #eee;
    text-align:center;
}

table tr:nth-child(even){
    background:#f8fbff;
}

table tr:hover{
    background:#eaf4ff;
    transition:.3s;
}

input,
select,
textarea{
    transition:.3s;
}

input:focus,
select:focus,
textarea:focus{
    border:1px solid #0d6efd;
    outline:none;
    box-shadow:0 0 8px rgba(13,110,253,.25);
}

.card h2{
    margin-top:0;
    color:#0d6efd;
    font-size:28px;
}

/* ================= NAVBAR MODERN ================= */

nav{
    display:flex;
    gap:10px;
    align-items:center;
}

nav a{
    padding:10px 18px;
    border-radius:8px;
    transition:.3s;
    font-weight:bold;
}

nav a:hover{
    background:#0d6efd;
    color:white;
    transform:translateY(-2px);
}

/* ===== LOGIN ===== */

.login-container{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0d6efd,#4facfe);
}

.login-card{
    width:380px;
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    text-align:center;
}

.login-card h1{
    margin:10px 0;
    color:#0d6efd;
}

.login-card p{
    color:#666;
    margin-bottom:25px;
}

.login-card input{
    margin-bottom:18px;
}

.login-card button{
    width:100%;
    font-size:16px;
    padding:12px;
}

.logo{
    font-size:60px;
}

table img{
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
}