/* style.css sederhana */
body {
  background: url('gkb.png') no-repeat center center fixed;
  background-size: 121% auto;
  margin: 0;
  padding: 0;
}
.container {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
}
header {
  background: linear-gradient(135deg, #6a11cb, #2575fc); /* ungu ke biru */
  color: #fff;
  padding: 18px;
  border-radius: 6px 6px 0 0;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
.card {
  background: rgba(255, 255, 255, 0.75); /* putih transparan */
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);   /* efek blur kaca */
  -webkit-backdrop-filter: blur(6px); /* untuk Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.8); /* transparan */
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

th {
  background: rgba(0, 123, 255, 0.9);  /* biru transparan */
  color: #fff;
  padding: 10px;
  font-size: 15px;
  text-align: center;
}

td {
  padding: 10px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

tr:nth-child(even) {
  background: rgba(0, 123, 255, 0.08); /* biru muda tipis */
}

tr:hover {
  background: rgba(0, 123, 255, 0.2); /* highlight hover */
}
th, td {
  padding: 8px;
  text-align: left;
  font-size: 14px;
}
.alert { background: #ffdede; padding: 8px; margin-bottom: 10px; border: 1px solid #ffbdbd; }
.info { background: #e6f7ff; padding: 8px; margin-bottom: 10px; border: 1px solid #bfe9ff; }
.search { display:flex; gap:8px; margin-bottom:10px; }
.search input { flex:1; }
.btn-link { text-decoration:none; margin-left:8px; color:#555; font-size:13px; }

.nav {
  margin: 10px 0;
  font-size: 14px;
  text-align: center;
}
.nav a {
  display: inline-block;
  margin: 0 6px;
  padding: 6px 12px;
  background: #0056b3;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.2s ease-in-out;
}

.nav a:hover {
  background: #003d80;
  color: #fff;
}

.hello-admin {
  display: inline-block;
  padding: 6px 14px;
  margin-right: 10px;
  background: #c8f7ff;         /* kuning cerah */
  color: #000000;                 /* teks gelap */
  font-weight: bold;
  font-size: 14px;
  border-radius: 20px;         /* kapsul */
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: 0.2s;
}

.hello-admin:hover {
  background: #ff9c94;         /* kuning lebih gelap saat hover */
  color: #ffffff;
}
/* Form styling */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 kolom */
  gap: 18px;
  margin-top: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.form-group input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: #2575fc;
  box-shadow: 0 0 6px rgba(37,117,252,0.5);
  outline: none;
}

/* Tombol submit */
.btn-submit {
  padding: 12px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

.full-width {
  grid-column: span 2; /* tombol full row */
}
/* Wrapper agar login berada di tengah layar */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* penuh layar */
}

/* Card khusus login */
.login-card {
  max-width: 380px;
  width: 100%;
  padding: 25px;
  text-align: left;
}

.login-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
}

.login-form .form-group {
  margin-bottom: 15px;
}

.login-form input {
  width: 100%;
}
.form-action {
  text-align: center;   /* tombol di tengah */
  margin-top: 15px;
}

.form-action .btn-submit {
  width: 150px;         /* lebar tombol tetap */
}
