body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7fafc;
}

.navbar {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-trigger {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
}

.nav-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hidden {
  display: none;
}

.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.card-content {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input, .textarea, .select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: #4b6cb7;
  box-shadow: 0 0 0 2px #4b6cb7;
}

.textarea {
  min-height: 80px;
}

.btn-primary {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary.bg-red-600 {
  background: #dc2626;
}

.btn-primary.bg-red-600:hover {
  background: #b91c1c;
}

.btn-primary.bg-blue-600 {
  background: #2563eb;
}

.btn-primary.bg-blue-600:hover {
  background: #1d4ed8;
}

.btn-ghost {
  background: none;
  border: none;
  cursor: pointer;
}

.toggle-group {
  display: flex;
  gap: 0.5rem;
}

.toggle {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  cursor: pointer;
}

.toggle.active {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tabs-trigger {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tabs-trigger.active {
  border-bottom: 2px solid #667eea;
  font-weight: 500;
}

.tabs-content {
  border-radius: 0.375rem;
}

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

.table-head {
  background: #f7fafc;
  padding: 0.75rem;
  font-weight: 500;
}

.table-row:nth-child(even) {
  background: #f7fafc;
}

.table-cell {
  padding: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 300px;
}

.hero-gradient {
  background: linear-gradient(to right, #667eea, #764ba2);
}

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

.skeleton {
  background: #e2e8f0;
  border-radius: 0.375rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  .nav-trigger {
    width: 100%;
    text-align: center;
  }
}