/* =========================
   RESET & GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: #ffe3f1; /* soft pink base */
  color: #333;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ff0080; /* pink bold navbar */
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ff3399;
  border-radius: 0 0 15px 15px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 45px;
  border-radius: 8px;
}

.nav-brand {
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px;
  transition: 0.3s;
}

.nav-menu a.active,
.nav-menu a:hover {
  background: #ff3399; /* pink bold hover */
  color: white;
}

/* =========================
   HERO / HOME
========================= */
.hero {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  background: #ff0080; /* pink bold hero */
  color: #fff;
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(255,0,128,0.25);
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
}

/* =========================
   FORM LOGIN & TAMBAH
========================= */
form {
  max-width: 500px;
  margin: 40px auto;
  background: #ff66b2; /* pink bold form background */
  padding: 35px 40px;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(255,0,128,0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
}

form h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
}

form input[type="text"],
form input[type="password"] {
  padding: 12px 15px;
  border-radius: 12px;
  border: 2px solid #ff3399;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
  border-color: #fff;
  background: #ff85c1;
  box-shadow: 0 0 10px rgba(255,51,153,0.4);
}

form button {
  padding: 12px 0;
  border: none;
  border-radius: 15px;
  background: #ff3399; /* pink bold button */
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #ff0080;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255,0,128,0.3);
}

/* =========================
   TABEL MAHASISWA & ALUMNI
========================= */
.table-box {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  background: #ff85c1; /* pink bold table bg */
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(255,0,128,0.25);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}

th {
  background: #ff0080; /* pink bold header */
  color: white;
  padding: 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #ffb3cc;
  font-size: 15px;
  color: #fff;
  transition: background 0.3s;
}

tr:nth-child(even) td {
  background: #ff66b2; /* pink bold stripe */
}

tr:hover td {
  background: #ff3399; /* pink bold hover */
}

/* =========================
   BADGE NOMOR
========================= */
.no-badge {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: #ff0080; /* pink bold */
  color: white;
  font-weight: 700;
}

/* =========================
   TOMBOL DELETE / KEMBALI
========================= */
.btn-delete,
.btn-kembali,
.btn-kembali.tambah,
form button[name="tambah"] {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: #ff3399; /* pink bold */
  transition: 0.3s;
  cursor: pointer;
}

.btn-delete:hover,
.btn-kembali:hover,
.btn-kembali.tambah:hover,
form button[name="tambah"]:hover {
  background: #ff0080;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255,0,128,0.3);
}

/* =========================
   CONTAINER & LAYOUT
========================= */
.container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 900px) {
  .container, .table-box, form, .hero {
    margin: 20px;
    padding: 20px;
  }

  table, th, td {
    font-size: 14px;
    padding: 12px;
  }

  .nav-menu {
    flex-wrap: wrap;
    gap: 15px;
  }
}
/* =========================
   RESET & GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: #ffe3f1; /* soft pink base */
  color: #333;
}

/* =========================
   TOPBAR / NAVBAR
========================= */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ff0080; /* pink bold */
  padding: 15px 30px;
  color: white;
  box-shadow: 0 6px 20px rgba(255,0,128,0.25);
  border-radius: 0 0 15px 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-top {
  width: 45px;
  border-radius: 8px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.topbar-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-left: 20px;
  padding: 6px 14px;
  border-radius: 12px;
  transition: 0.3s;
}

.topbar-menu a.active,
.topbar-menu a:hover {
  background: #ff3399; /* hover pink bold */
}

/* =========================
   CONTENT AREA
========================= */
.content {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* =========================
   CARD
========================= */
.card {
  background: #ff66b2; /* pink bold card */
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(255,0,128,0.25);
  color: white;
}

.card h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 800;
}

/* =========================
   FORM TAMBAH
========================= */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form input[type="text"] {
  padding: 12px 15px;
  border-radius: 12px;
  border: 2px solid #ff3399;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

form input[type="text"]:focus {
  border-color: #fff;
  background: #ff85c1;
  box-shadow: 0 0 10px rgba(255,51,153,0.4);
}

form button {
  padding: 12px 0;
  border: none;
  border-radius: 15px;
  background: #ff3399; /* pink bold button */
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #ff0080;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255,0,128,0.3);
}

/* =========================
   TABEL MAHASISWA
========================= */
.tabel-modern {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}

.tabel-modern th {
  background: #ff0080; /* pink bold header */
  color: white;
  padding: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.tabel-modern td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid #ffb3cc;
  color: white;
  font-size: 15px;
  transition: background 0.3s;
}

.tabel-modern tr:nth-child(even) td {
  background: #ff3399; /* pink bold stripe */
}

.tabel-modern tr:hover td {
  background: #ff66b2; /* pink bold hover */
}

/* =========================
   BADGE NOMOR
========================= */
.no-badge {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: #ff0080; /* pink bold */
  color: white;
  font-weight: 700;
}

/* =========================
   LINK HAPUS
========================= */
a {
  text-decoration: none;
  color: white;
  background: #ff3399; /* pink bold */
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

a:hover {
  background: #ff0080;
  box-shadow: 0 4px 12px rgba(255,0,128,0.25);
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 900px) {
  .content, .card {
    margin: 20px auto;
    padding: 20px;
  }

  .topbar-menu a {
    margin-left: 1px;
    padding: 6px 10px;
  }

  .tabel-modern th, .tabel-modern td {
    padding: 10px;
    font-size: 14px;
  }
}
/* =========================
   TABEL & DATA STATISTIK
========================= */

/* Table umum */
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  margin-top: 20px;
  background: #ffb3cc; /* pink bold */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(255,0,128,0.3);
}

/* Header tabel */
th {
  background: #ff0080; /* pink bold header */
  color: white;
  font-weight: 700;
  font-size: 10px;
  padding: 14px 20px;
  text-transform: uppercase;
  border-bottom: 3px solid #ff66b2;
  text-align: center;
}

/* Sel tabel */
td {
  padding: 14px 18px;
  text-align: center;
  font-size: 15px;
  color: white;
  border-bottom: 2px solid #ff66b2;
  transition: background 0.3s, transform 0.2s;
}

/* Baris ganjil */
tr:nth-child(odd) td {
  background: #ff3399; /* pink bold stripe */
}

/* Baris genap */
tr:nth-child(even) td {
  background: #ff66b2; /* pink bold stripe lebih terang */
}

/* Hover baris */
tr:hover td {
  background: #ff0080;
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(255,0,128,0.25);
}

/* Badge nomor */
.no-badge {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: #ff0080;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

/* Tombol aksi di tabel */
a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  background: #ff3399;
  transition: 0.3s;
}

a:hover {
  background: #ff0080;
  box-shadow: 0 4px 12px rgba(255,0,128,0.3);
  transform: translateY(-2px);
}

/* Grid statistik */
.stat-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

/* Kotak statistik */
.stat-box {
  flex: 1 1 200px;
  background: #ff3399; /* pink bold */
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(255,0,128,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(255,0,128,0.5);
}

/* Responsif tabel & statistik */
@media screen and (max-width: 900px) {
  .stat-grid {
    flex-direction: column;
    gap: 20px;
  }

  table, th, td {
    font-size: 14px;
    padding: 12px;
  }

  .no-badge {
    width: 28px;
    height: 28px;
    line-height: 28px;
  }
}
body{
  background: #ffe6f0;
  font-family: Arial, sans-serif;
}

h2{
  text-align: center;
  margin-top: 60px;
  color: #ff0080;
}

form{
  width: 300px;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
}

input, button{
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
/* ===== LOGIN DOSEN (CLEAN & ELEGAN) ===== */
.login-overlay{
  position:fixed;
  inset:0;
  background:rgba(255, 0, 128, 0.35);
  backdrop-filter: blur(6px);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.login-card{
  width:360px;
  background:#fff;
  padding:32px 28px;
  border-radius:18px;
  box-shadow:0 15px 40px rgba(0,0,0,0.25);
}

.login-card h2{
  text-align:center;
  color:#ff0080;
  margin-bottom:22px;
  font-size:26px;
  font-weight:700;
}

.login-card input{
  width:100%;
  padding:12px 14px;
  margin-bottom:14px;
  border-radius:12px;
  border:1px solid #ddd;
  font-size:14px;
}

.login-card input:focus{
  outline:none;
  border-color:#ff0080;
  box-shadow:0 0 0 2px rgba(255,0,128,0.15);
}

.login-card button{
  width:100%;
  padding:12px;
  border:none;
  border-radius:30px;
  background:#ff0080;
  color:white;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.login-card button:hover{
  background:#e60073;
}
