/* ─── Admin Table ───────────────────────────────────────────────────────── */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th {
  background: rgba(66, 7, 13, 0.048);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(66, 7, 13, 0.048);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: rgba(66, 7, 13, 0.024); }

.stock-input {
  width: 80px;
  padding: 6px 10px;
  background: rgba(66, 7, 13, 0.072);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
}

.stock-input:focus {
  border-color: rgba(116, 24, 32, 0.5);
  box-shadow: 0 0 0 2px rgba(116, 24, 32, 0.1);
}

/* ─── Admin Header ──────────────────────────────────────────────────────── */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--wine-gold);
}

/* ─── Empty State ───────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-secondary); }

/* ─── Toast ─────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-success { background: rgba(47, 125, 79, 0.2); border: 1px solid rgba(47, 125, 79, 0.4); color: #2F7D4F; }
.toast-error   { background: rgba(179, 38, 30, 0.2);  border: 1px solid rgba(179, 38, 30, 0.4);  color: #B3261E; }

@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ─── File Upload ───────────────────────────────────────────────────────── */
.file-upload-area {
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: rgba(116, 24, 32, 0.5);
  background: rgba(116, 24, 32, 0.05);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon { font-size: 2rem; margin-bottom: 0.5rem; color: var(--text-muted); }
.file-upload-text { font-size: 0.85rem; color: var(--text-muted); }

