* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* BACKGROUND */
body {
    background: linear-gradient(135deg, #3b2fd6, #4fa3ff);
    color: #ffffff;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(90deg, #2b0057, #4a148c);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: #ffffff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    color: #eaeaff;
    max-width: 800px;
    margin: auto;
    font-size: 16px;
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ff4081;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.btn-primary:hover {
    background: #f50057;
}

/* SECTION */
.section {
    padding: 60px 20px;
}

.section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

/* GRID CARD */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.card {
    background: #ffffff;
    color: #333333;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card h3 {
    margin-bottom: 10px;
    color: #3b2fd6;
}

.card p {
    color: #555555;
}

/* CONTAINER (ADMIN PAGE) */
.container {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    color: #333;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    background: #3b2fd6;
    color: #ffffff;
    padding: 12px;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background: #f5f5f5;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #ffffff;
    margin-top: 50px;
    font-size: 14px;
}
/* ===== FIX TEKS TABEL TIDAK KELIHATAN ===== */
table, tr, th, td {
  color: #000000 !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

tbody tr td {
  color: #000000 !important;
  font-weight: 600;
}
