/* Executive Job Finder Custom Styles */
/* Built by F. Jay Hall for ExecSearches.com */

/* Line clamp utility for job descriptions */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

/* Custom scrollbar for job results */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f7fafc;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #cbd5e0;
  border-radius: 3px;
}

/* Enhanced hover effects */
.job-card {
  transition: all 0.3s ease;
}

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

/* Gradient backgrounds for stats */
.stat-card-blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-green {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card-purple {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-orange {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

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

/* Search input focus enhancement */
input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button hover animations */
.btn-primary {
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Notification animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification-enter {
  animation: slideInRight 0.3s ease-out;
}

/* Executive color scheme */
.text-executive {
  color: #1e40af;
}

.bg-executive {
  background-color: #1e40af;
}

.border-executive {
  border-color: #1e40af;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .grid-responsive {
    grid-template-columns: 1fr;
  }
  
  .text-responsive {
    font-size: 1.5rem;
  }
}

/* Print styles for export */
@media print {
  .no-print {
    display: none !important;
  }
  
  .job-card {
    break-inside: avoid;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    padding: 1rem;
  }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
  .dark-mode-text {
    color: #f9fafb;
  }
  
  .dark-mode-bg {
    background-color: #1f2937;
  }
}

/* Custom badge styles */
.badge-executive {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-senior {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Enhanced search form */
.search-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.search-input {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.search-input:focus {
  background: white;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ExecSearches.com branding */
.brand-text {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Salary highlighting */
.salary-highlight {
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Source API badges */
.source-usajobs {
  background-color: #1e40af;
  color: white;
}

.source-themuse {
  background-color: #7c3aed;
  color: white;
}

.source-adzuna {
  background-color: #dc2626;
  color: white;
}

/* Loading state enhancements */
.loading-dots::after {
  content: '';
  animation: loading-dots 2s infinite;
}

@keyframes loading-dots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60% {
    content: '...';
  }
  80%, 100% {
    content: '';
  }
}