@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --card-dark: #1e293b;
    --primary-glow: #38bdf8;
    --text-main: #f1f5f9;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
}

/* LOGIN CENTER - Biar nggak di pojok lagi */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card, .form-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* FORM INPUT - Biar nggak putih polos membosankan */
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    color: white;
    margin-bottom: 20px;
    box-sizing: border-box; /* Biar gak luber */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* BUTTON GLOW */
.btn-glow {
    width: 100%;
    padding: 15px;
    background: white;
    color: black;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: var(--primary-glow);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    transform: translateY(-3px);
}
/* Layout Container Utama */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Header Dashboard */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Stats Grid biar nggak nempel-nempel */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.card-title { color: #94a3b8; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.card-value { color: #fff; font-size: 20px; font-weight: 700; margin-top: 5px; }

/* Tabel Styling agar Rapi */
.table-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 10px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 15px;
    color: #94a3b8;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tombol Aksi */
.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-action {
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-edit { border: 1px solid #fbbf24; color: #fbbf24; }
.btn-edit:hover { background: #fbbf24; color: #000; box-shadow: 0 0 15px rgba(251, 191, 36, 0.4); }

.btn-pdf { border: 1px solid #38bdf8; color: #38bdf8; }
.btn-pdf:hover { background: #38bdf8; color: #000; box-shadow: 0 0 15px rgba(56, 189, 248, 0.4); }

.btn-delete { border: 1px solid #f87171; color: #f87171; }
.btn-delete:hover { background: #f87171; color: #fff; box-shadow: 0 0 15px rgba(248, 113, 113, 0.4); }