body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ===== LOGIN PAGE ===== */
.access-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f5f7fa;
  padding: 20px;
}

.access-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 360px;
}

.access-card h2 {
  margin: 0 0 6px 0;
  font-size: 22px;
  color: #111827;
}

.access-card .subtext {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

.access-card label {
  display: block;
  margin-bottom: 6px;
  color: #374151;
  font-size: 14px;
}

/* ✅ Input rapi dan sejajar dengan tombol */
.access-card input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 16px;
}

/* ✅ Tombol sejajar tinggi input */
.btn.primary {
  display: block;
  background: #14b8a6;
  color: #fff;
  height: 48px;
  width: 100%;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s ease;
}

.btn.primary:hover {
  background: #0d9488;
}

.link {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #1d4ed8;
  font-size: 14px;
  text-decoration: none;
}

.alert {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
}

/* ===== DASHBOARD DARK MODE ===== */
body.dark {
  background: #0b0f12;
  color: #e6eef3;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #11181d;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== NOTIFICATION / INFO BAR ===== */
.notice {
  background: #11181d;
  color: #e6eef3;
  border-left: 4px solid #14b8a6;
  padding: 10px 14px;
  margin: 10px auto 20px;
  border-radius: 8px;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.notice strong {
  color: #2dd4bf;
}


.top-actions {
  display: flex;
  gap: 12px;
}

.btn.small {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn.alt {
  background: transparent;
  color: #9aa4ad;
  border: 1px solid #2c2f32;
}

.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  background: #0f1720;
  padding: 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #1e2630;
}

.card.checked {
  border-color: #2dd4bf;
}

.done {
  color: #2dd4bf;
  font-weight: bold;
}

@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
