// Error pages stylesheet
// Uses Bootstrap 5 utilities + Tabler design system

// Custom gradient backgrounds for error pages
.bg-gradient-primary-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

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

// Error wrapper responsive sizing
.error-wrapper {
  min-width: 300px;
}

// Card styling for error pages
.card {
  border-radius: 12px;
  border: none;
}

.card-header {
  border: none;
  padding: 3rem 2rem 2rem;
  text-align: center;

  @media (max-width: 480px) {
    padding: 2rem 1.5rem 1.5rem;
  }
}

.card-body {
  @media (max-width: 480px) {
    padding: 1.5rem;
  }
}

// Alert styling
.alert {
  border-radius: 6px;
  font-size: 0.95rem;

  @media (max-width: 480px) {
    font-size: 0.85rem;
  }
}

// Button responsive
.btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;

  &:hover {
    transform: translateY(-1px);
  }

  @media (max-width: 480px) {
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
  }
}

.btn-primary {
  &:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  }
}

// Code styling
code {
  background: #f5f5f5;
  color: #e74c3c;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'Monaco', 'Courier New', monospace;
}

// Text utilities
.text-muted {
  color: #666 !important;
  line-height: 1.6;
}

.small {
  font-size: 0.875rem;
}

// Responsive text sizing
.fs-1 {
  font-size: 2.5rem;

  @media (max-width: 480px) {
    font-size: 2rem;
  }
}
