@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --accent-pink: #ff2b6a;
    --accent-purple: #7a5cff;
    --glass-bg: rgba(0, 0, 0, 0.35); /* Transparansi ditingkatkan dari 0.6 ke 0.35 */
    --border: rgba(255, 255, 255, 0.12);
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #050505;
    color: white;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* KEMBALIKAN BACKGROUND NEON PINK PURPLE YANG KUAT */
.main-wrapper {
    min-height: 100vh;
    background: 
        radial-gradient(circle at 80% 30%, var(--accent-pink) 0%, transparent 45%),
        radial-gradient(circle at 20% 70%, #3b3b98 0%, transparent 45%),
        #050505;
    background-attachment: fixed;
    padding-top: 90px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
}

/* TOPBAR RAMPING */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.topnav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.6;
    transition: 0.2s;
}

.topnav a:hover, .topnav a.active {
    opacity: 1;
    color: var(--accent-pink);
}

/* CONTAINER COMPACT & CLEAN */
.container {
    width: 90%;
    max-width: 900px;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.page-sub {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 30px;
    font-weight: 600;
}

/* TABLE - TEKS TEGAS */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    font-weight: 700; /* Tulisan dipertegas */
}

/* BUTTONS - DIKECILKAN & GLOW */
.btn-primary {
    display: inline-flex;
    padding: 8px 20px;
    background: white;
    color: black;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--accent-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 43, 106, 0.4);
}

.btn-outline {
    display: inline-flex;
    padding: 7px 18px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-outline:hover {
    background: white;
    color: black;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* FORMS - RAMPING & VISIBLE */
input[type="text"], input[type="password"], input[type="number"], select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 15px;
    transition: 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--accent-pink);
    background: rgba(255, 255, 255, 0.12);
}

/* NAV STYLES */
.nav-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
}

.nav-item.active {
    background: rgba(255, 43, 106, 0.1);
    border-color: rgba(255, 43, 106, 0.3);
}

.user-pill {
    background: rgba(122, 92, 255, 0.15);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid rgba(122, 92, 255, 0.3);
    color: var(--accent-purple) !important;
    opacity: 1 !important;
}

.logout-pill {
    background: rgba(255, 43, 106, 0.15);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 43, 106, 0.3);
    color: var(--accent-pink) !important;
    opacity: 1 !important;
}
