/* ═══════════════════════════════════════════════════════════════
   ADMIN-DASHBOARD.CSS
   ═══════════════════════════════════════════════════════════════ */

.admin-container {
  max-width: 1000px;
  margin: 120px auto 80px;
  padding: 0 40px;
}

.admin-header {
  margin-bottom: 40px;
  text-align: center;
}

.admin-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}

.admin-subtitle {
  color: #8a8578;
  font-size: 15px;
}

/* Tabs */
.admin-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #8a8578;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #f0ece4;
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* List Items */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-item {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-item-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 4px;
}

.admin-item-info p {
  font-size: 13px;
  color: #8a8578;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

/* Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #141414;
  border-radius: 8px;
  overflow: hidden;
}

.admin-table th, .admin-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.admin-table th {
  color: #8a8578;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
}

.modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.modal-content p {
  color: #8a8578;
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-content textarea,
.modal-content input[type="file"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0ece4;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #c9a84c;
  color: #0a0a0a;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
