/* Reset dan dasar */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding: 20px;
  min-height: 100vh;
  background-image: url(https://boxsegc.serigalaalexis.com/harta/boxes/bg.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container utama */
.admin-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(246, 227, 59, 0.3);
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Judul panel */
.admin-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 2rem;
  font-weight: 700;
  color: #ffd447;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

.admin-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  padding: 8px;
  filter: drop-shadow(0 0 6px #f6da3b);
}

/* Label */
label {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e0e7ff;
  letter-spacing: 0.8px;
}

/* Input dan select */
input,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: #e0e7ff;
  outline: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

input::placeholder {
  color: #a5fcf8;
}

input:focus,
select:focus {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px #faeb60;
}

/* Tombol utama */
.btn-admin {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  border: none;
  border-radius: 14px;
  padding: 14px 0;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(246, 243, 59, 0.5);
  transition: background 0.3s ease, transform 0.15s ease;
  letter-spacing: 1.2px;
  user-select: none;
  width: 100%;
}

.btn-admin:hover,
.btn-admin:focus {
  background: #ebd725;
  transform: translateY(-3px);
  outline: none;
}

/* Pesan */
.msg {
  text-align: center;
  font-weight: 600;
  color: #ff1f1f;
  min-height: 20px;
  user-select: none;
}

/* Responsive */
@media (max-width: 480px) {
  .admin-container {
    padding: 32px 24px;
  }

  .admin-title {
    font-size: 1.6rem;
  }

  input,
  select {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .btn-admin {
    font-size: 1rem;
    padding: 12px 0;
  }
}