:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --success-color: #059669;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-color);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.feature-cards {
  position: relative;
  z-index: 2;
}

.card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn {
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.table {
  border-radius: 10px;
  overflow: hidden;
}

.badge {
  font-size: 0.75rem;
  padding: 0.5em 0.75em;
  border-radius: 6px;
}

.alert {
  border-radius: 10px;
  border: none;
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%) !important;
}

.bg-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%) !important;
}

.bg-warning {
  background: linear-gradient(135deg, var(--warning-color) 0%, #b45309 100%) !important;
}

.bg-info {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }

  .display-4 {
    font-size: 2rem;
  }

  .feature-cards .card {
    margin-bottom: 1rem;
  }
}

/* Loading spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}
