/* Prizli Admin Theme */
:root {
  --bg-main: #0a0118;
  --bg-card: #1a0a2e;
  --border-accent: rgba(245, 158, 11, 0.3); /* Amber-500/30 */
  --border-strong: rgba(245, 158, 11, 0.6);
  --text-muted: #9ca3af;
  --amber-primary: #f59e0b;
  --amber-hover: #d97706;
  --red-danger: #ef4444;
}

body {
  background-color: var(--bg-main);
  color: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.admin-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
}

.admin-card:hover {
  border-color: var(--border-strong);
}

.admin-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-accent);
  color: white;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.admin-input:focus {
  outline: none;
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.admin-btn {
  background-color: var(--amber-primary);
  color: #0a0118;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.admin-btn:hover {
  background-color: var(--amber-hover);
}

.admin-btn-outline {
  background-color: transparent;
  color: var(--amber-primary);
  border: 1px solid var(--amber-primary);
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.admin-btn-outline:hover {
  background-color: rgba(245, 158, 11, 0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-accent);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.admin-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.badge-purple { background-color: rgba(139, 92, 246, 0.2); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-cyan { background-color: rgba(6, 182, 212, 0.2); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-amber { background-color: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-gray { background-color: rgba(156, 163, 175, 0.2); color: #d1d5db; border: 1px solid rgba(156, 163, 175, 0.3); }
.badge-blue { background-color: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-green { background-color: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-red { background-color: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-accent);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-accent);
}

.sidebar-nav {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--amber-primary);
}

.nav-item.active {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--amber-primary);
  border-left: 3px solid var(--amber-primary);
}

.main-content {
  margin-left: 250px;
  padding: 2rem;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 50;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
}
