/* Admin Panel */
.admin-wrap { min-height: 100vh; padding: 44px 6%; }
.hidden { display: none !important; }

.admin-login {
  width: min(460px, 100%);
  margin: 64px auto;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)), rgba(7,10,26,0.76);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 90px rgba(0,0,0,0.42), 0 0 60px rgba(124,58,237,0.16);
  display: grid;
  gap: 16px;
}

.admin-login img {
  width: 150px;
  border-radius: 22px;
  margin: 0 auto;
}

.admin-login h1 {
  text-align: center;
  margin: 6px 0 0;
  color: #fff !important;
  font-size: 30px;
}

.admin-login p {
  color: rgba(219,234,254,0.78) !important;
  text-align: center;
  line-height: 1.65;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-top h1 {
  margin-bottom: 5px;
  color: #fff !important;
  font-size: clamp(30px, 4vw, 46px);
}

.admin-top p, .notice { color: rgba(219,234,254,0.78) !important; }

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

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.admin-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
}

.admin-card h2 {
  margin-top: 0;
  color: #fff !important;
  font-size: 25px;
}

.admin-card label {
  display: block;
  margin: 15px 0 8px;
  color: #dbeafe !important;
  font-weight: 800;
}

.admin-card button { margin-top: 14px; width: auto; }

.edit-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(0,0,0,0.22);
  margin-bottom: 14px;
}

.remove-btn {
  border: 1px solid rgba(248,113,113,0.45);
  background: rgba(248,113,113,0.16);
  color: white !important;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #dbeafe !important;
  font-weight: 700;
}

.check input { width: auto; }

.save-msg {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(124,58,237,0.95), rgba(236,72,153,0.95));
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.save-msg:empty { display: none; }
.save-msg.error { background: linear-gradient(135deg, #ef4444, #be123c); }

@media (max-width: 920px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .top-actions, .top-actions .btn, .admin-card button { width: 100%; }
}
