/* Custom CSS for ScheduleX Orchestrator */
/* Bootstrap 5 Theme Overrides */

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
}

/* Custom primary color */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

/* Navbar customization */
.navbar-brand {
  font-weight: 700;
  color: var(--primary) !important;
  font-size: 1.25rem;
}

/* Card enhancements */
.card {
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
}

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

/* Stat cards for dashboard */
.stat-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

/* Table enhancements */
.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  background-color: #f8fafc;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
}

.table tbody tr:hover {
  background-color: #f8fafc;
}

/* Badge customization */
.badge {
  padding: 0.35em 0.65em;
  font-weight: 500;
  border-radius: 0.5rem;
}

/* User avatar */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
}

/* Login page gradient */
.login-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.login-card {
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Form enhancements */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

/* Alert customization */
.alert {
  border-radius: 0.5rem;
  border: none;
}

/* Utility classes */
.shadow-sm-hover {
  transition: box-shadow 0.2s;
}

.shadow-sm-hover:hover {
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15) !important;
}

/* Action buttons in table - ensure consistent styling */
.table .btn-group .btn {
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem;
  margin: 0 0.125rem;
}

.table .btn-group {
  gap: 0.25rem;
}

