/* Flash Message Animations */
@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-down {
  animation: fade-in-down 0.3s ease-out;
}

/* Dashboard Breadcrumbs (Flowbite-inspired) */
.dashboard-breadcrumbs {
  margin-bottom: 24px;
  font-size: 15px;
}
.dashboard-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-breadcrumbs a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.dashboard-breadcrumbs a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}
.dashboard-breadcrumbs li.active {
  color: #64748b;
  font-weight: 600;
}
.dashboard-breadcrumbs span {
  color: #cbd5e1;
  font-size: 16px;
  user-select: none;
}
/* Dashboard Table (Flowbite-inspired) */
.dashboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
  min-width: 700px;
}
.dashboard-table th, .dashboard-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}
.dashboard-table th {
  background: #f9fafb;
  font-weight: 700;
  color: #1e293b;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.dashboard-table tr:last-child td {
  border-bottom: none;
}
.dashboard-table tr:hover {
  background: #f3f4f6;
}

/* Status badge styles */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e5e7eb;
}
.status-badge.status-active, .status-badge.status-live {
  background: #e0f7fa;
  color: #059669;
  border-color: #67e8f9;
}
.status-badge.status-inactive {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.status-badge.status-archived {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
}
/* Settings Sections */
.settings-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16,30,54,0.06);
  border: 1px solid #e5e7eb;
  margin-bottom: 36px;
  padding: 32px 36px;
}

.settings-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 18px;
}

.settings-section-desc {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 24px;
}

.settings-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}

.settings-form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.settings-save {
  margin-top: 24px;
}

/* Danger Zone */
.danger-zone {
  background: #fff0f0;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 36px;
}

.danger-zone-title {
  color: #dc2626;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.danger-zone-desc {
  color: #b91c1c;
  font-size: 15px;
  margin-bottom: 18px;
}

.danger-zone .btn-danger {
  background: #dc2626;
  color: #fff;
  margin-right: 12px;
}
/* Reset-ish */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #fff;
  color: #1e293b;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar-title {
  padding: 20px 24px;
  font-size: 20px;
  font-weight: bold;
  color: #2563eb;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 0;
}


.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  margin: 4px 0;
  transition: background 0.18s, color 0.18s;
}

.sidebar-nav a.active {
  background: #e0e7ff;
  color: #2563eb;
  font-weight: 600;
}

.sidebar-nav a:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}


/* Main content */
.main-content {
  flex: 1;
  padding: 32px 40px;
  background: #f4f6f8;
  min-height: 100vh;
}

/* Page header */
.page-header {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 4px 24px rgba(16,30,54,0.08);
  margin-bottom: 36px;
  border: 1px solid #e5e7eb;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(16,30,54,0.08);
  transition: background 0.18s;
}

.btn-secondary {
  background: #e5e7eb;
  color: #334155;
}

.btn-danger {
  background: #fee2e2;
  color: #dc2626;
}

/* Tables */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16,30,54,0.04);
  margin-bottom: 0;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  font-size: 15px;
}

th {
  background: #f9fafb;
  font-weight: 700;
  color: #1e293b;
  font-size: 15px;
  letter-spacing: 0.01em;
}

tr:hover {
  background: #f3f4f6;
}

/* Actions */
.actions a {
  margin-right: 8px;
}