/* TalentHub Upskilling Limited - Business Management System */
/* Modern Vibrant Color Scheme with Enhanced Typography */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Global Font Settings */
* {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1.125rem; font-weight: 500; }

p, div, span {
  font-size: 1rem;
  line-height: 1.7;
}

/* Enhanced Button Typography */
button, .btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* Table Typography */
table {
  font-size: 0.9rem;
}

th {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

td {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Form Typography */
input, textarea, select {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
}

label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* Custom TalentHub Branding - Enhanced */
:root {
  /* Primary Colors */
  --talenthub-primary: #1e40af;
  --talenthub-secondary: #3b82f6;
  --talenthub-accent: #60a5fa;
  --talenthub-dark: #1e3a8a;
  --talenthub-light: #dbeafe;
  
  /* Vibrant Extended Palette */
  --vibrant-purple: #8b5cf6;
  --vibrant-pink: #ec4899;
  --vibrant-orange: #f59e0b;
  --vibrant-green: #10b981;
  --vibrant-cyan: #06b6d4;
  --vibrant-red: #ef4444;
  
  /* Gradient Stops */
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  
  /* Background Gradients */
  --bg-gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --bg-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* TalentHub Logo Styles */
.talenthub-logo {
  background: linear-gradient(135deg, var(--talenthub-primary) 0%, var(--talenthub-secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Custom Buttons */
.btn-talenthub {
  background: linear-gradient(135deg, var(--talenthub-primary) 0%, var(--talenthub-secondary) 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.btn-talenthub:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
}

/* Status badges */
.status-active {
  background-color: #dcfce7;
  color: #166534;
}

.status-inactive {
  background-color: #fef2f2;
  color: #dc2626;
}

.status-pending {
  background-color: #fef3c7;
  color: #d97706;
}

/* Notification styles */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.notification-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.notification-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
}

/* Form input styling */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--talenthub-secondary);
  ring: 2px;
  ring-color: var(--talenthub-light);
}

/* TalentHub branded elements */
.talenthub-header {
  background: linear-gradient(135deg, var(--talenthub-primary) 0%, var(--talenthub-secondary) 100%);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.talenthub-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--talenthub-secondary);
}

/* Loading animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .notification {
    left: 1rem;
    right: 1rem;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Modern Vibrant UI Elements */
.vibrant-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.vibrant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Colorful Metric Cards */
.metric-card-primary {
  background: var(--gradient-primary);
  color: white;
}

.metric-card-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.metric-card-success {
  background: var(--gradient-success);
  color: white;
}

.metric-card-warning {
  background: var(--gradient-warning);
  color: white;
}

.metric-card-danger {
  background: var(--gradient-danger);
  color: white;
}

/* Modern Button Variations */
.btn-vibrant-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-vibrant-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-vibrant-secondary {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-vibrant-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Glowing Icons */
.icon-glow {
  filter: drop-shadow(0 0 8px currentColor);
  transition: filter 0.3s ease;
}

.icon-glow:hover {
  filter: drop-shadow(0 0 12px currentColor);
}

/* Progress Bars with Gradients */
.progress-primary {
  background: var(--gradient-primary);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.progress-success {
  background: var(--gradient-success);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Animated Backgrounds */
.animated-bg {
  background: linear-gradient(-45deg, #1e40af, #3b82f6, #8b5cf6, #ec4899);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sidebar with Vibrant Accents */
.sidebar-item {
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  margin: 0.25rem 0;
}

.sidebar-item:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  transform: translateX(4px);
}

.sidebar-item.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Modern Tabs */
.tab-active {
  background: var(--gradient-primary);
  color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Glass Morphism Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

/* Pulse Animation for Important Elements */
.pulse-primary {
  animation: pulse-primary 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-primary {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}