/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ===== BODY ===== */
body {
  background: linear-gradient(135deg, #de7e7e, #7d98e7);
  color: #000000;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

/* ===== TITLE ===== */
h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #0f172a;
}

/* ===== CARD (Glass Style) ===== */
.card {
  background: rgba(241, 241, 241, 0.893);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* ===== FORM GRID ===== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

/* ===== INPUT ===== */
input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #57a0ff;
  background: #f8fafc;
  transition: 0.2s;
  font-size: 14px;
}

input:focus {
  border-color: #38bdf8;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(158, 201, 220, 0.2);
}

/* ===== BUTTON ===== */
.btn-group {
  margin-top: 10px;
}

button {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

/* Primary */
button.primary {
  background: #38bdf8;
  color: white;
}
button.primary:hover {
  background: #0ea5e9;
}

/* Secondary */
button.secondary {
  background: #e2e8f0;
}
button.secondary:hover {
  background: #cbd5f5;
}

/* Danger */
button.danger {
  background: #ef4444;
  color: white;
}
button.danger:hover {
  background: #dc2626;
}

/* ===== TABLE ===== */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  padding: 12px;
  background: #f1f5f9;
  color: #334155;
}

td {
  padding: 12px;
  border-bottom: 1px solid #eebcff;
}

tr:hover {
  background: #f8fafc;
}

/* ===== STATUS ===== */
.error {
  color: #ef4444;
  font-size: 13px;
}

.success {
  color: #22c55e;
  font-size: 13px;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgb(0, 0, 0);
  padding: 25px;
  border-radius: 16px;
  width: 350px;
  text-align: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}