/* ==========================================================================
   CareerPulse Components - components.css
   Hero, Job Cards, Filters, Modals, Forms, Saved Jobs, Toasts, Responsive
   ========================================================================== */

/* ==========================================================================
   Hero Section (Home Page)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 50% 0%, var(--primary-light) 0%, transparent 70%);
  overflow: hidden;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--success-bg);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--primary), #8B5CF6 60%, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

/* Hero Search Bar */
.hero-search-wrapper {
  max-width: 860px;
  margin-inline: auto;
  background-color: var(--bg-surface);
  padding: 0.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.hero-search-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  flex: 1;
}

.hero-search-field svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.hero-search-field input,
.hero-search-field select {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  outline: none;
  font-size: 1rem;
}

.hero-search-field input::placeholder {
  color: var(--text-muted);
}

.hero-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-subtle);
}

.btn-search-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px var(--primary-glow);
  white-space: nowrap;
}

.btn-search-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Hero Quick Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 700px;
  margin-inline: auto;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-title-wrap h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title-wrap p {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.view-all-link:hover {
  gap: 0.7rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.category-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.category-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Featured Jobs (Home Page)
   ========================================================================== */
.featured-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

/* ==========================================================================
   Jobs Page - Sidebar & Main Layout
   ========================================================================== */
.jobs-page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

/* Filters Sidebar */
.filters-sidebar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 5.5rem;
  box-shadow: var(--shadow-sm);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.filters-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-reset-filters {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.btn-reset-filters:hover {
  color: var(--danger);
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* Search input inside filters */
.filter-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-search-box input {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.filter-search-box input:focus {
  border-color: var(--border-focus);
}

.filter-search-box .icon-search-left {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
}

.filter-search-box .btn-clear-search {
  position: absolute;
  right: 0.65rem;
  color: var(--text-muted);
  display: none;
}

.filter-search-box .btn-clear-search.visible {
  display: block;
}

/* Checkbox & Radio lists */
.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast);
}

.custom-checkbox-label:hover {
  color: var(--text-primary);
}

.custom-checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
}

.custom-checkbox-label .option-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-surface-hover);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

/* Location Select */
.filter-select {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--border-focus);
}

/* Salary Range Slider */
.salary-range-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.salary-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.salary-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   Jobs Listing Content Area
   ========================================================================== */
.jobs-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Results Top Bar */
.results-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
}

.results-count {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.results-count strong {
  color: var(--text-primary);
  font-weight: 700;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sort-select {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-input);
  color: var(--text-primary);
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

/* Active Filter Chips */
.active-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.active-filter-chip button {
  color: var(--primary);
  display: flex;
  align-items: center;
}

.active-filter-chip button:hover {
  color: var(--danger);
}

/* ==========================================================================
   Job Card (Primary UI Element)
   ========================================================================== */
.jobs-list-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.job-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.job-company-info {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.company-logo-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}

.company-meta h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.company-submeta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.company-name {
  font-weight: 600;
  color: var(--text-secondary);
}

.job-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Star Save Button */
.btn-save-job {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface-elevated);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  flex-shrink: 0;
}

.btn-save-job:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.1);
}

.btn-save-job.saved {
  background-color: var(--accent-gold-bg);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-save-job.saved svg {
  fill: var(--accent-gold);
}

/* Badges & Description */
.job-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-full-time {
  background-color: var(--badge-fulltime-bg);
  color: var(--badge-fulltime-text);
}

.badge-part-time {
  background-color: var(--badge-parttime-bg);
  color: var(--badge-parttime-text);
}

.badge-internship {
  background-color: var(--badge-internship-bg);
  color: var(--badge-internship-text);
}

.badge-salary {
  background-color: var(--badge-salary-bg);
  color: var(--badge-salary-text);
}

.job-desc-snippet {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Skills tags */
.job-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background-color: var(--bg-surface-hover);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Bottom Actions */
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.job-posted-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.job-actions-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-details {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-details:hover {
  background-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-apply-direct {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-apply-direct:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-apply-direct.applied {
  background: var(--success);
  pointer-events: none;
}

/* ==========================================================================
   Pagination Controls
   ========================================================================== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.btn-page {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-page:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-page.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   "No Jobs Found" & Skeleton Loading States
   ========================================================================== */
.no-jobs-found {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.no-jobs-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.no-jobs-found h3 {
  font-size: 1.4rem;
}

.no-jobs-found p {
  max-width: 450px;
  font-size: 0.95rem;
}

/* Skeleton Loading Cards */
.skeleton-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton-box {
  background: linear-gradient(90deg, var(--bg-surface-hover) 25%, var(--border-subtle) 50%, var(--bg-surface-hover) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   Saved Jobs Page
   ========================================================================== */
.saved-jobs-header {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.saved-jobs-container {
  margin-bottom: 5rem;
}

/* ==========================================================================
   Modals (Job Details & Apply Form)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.btn-close-modal {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-close-modal:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface-elevated);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Detail Modal Specifics */
.detail-job-header {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.detail-section h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* ==========================================================================
   Apply Form & Validation
   ========================================================================== */
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--danger);
  background-color: var(--danger-bg);
}

.field-error-msg {
  font-size: 0.78rem;
  color: var(--danger);
  display: none;
}

.form-field.has-error .field-error-msg {
  display: block;
}

/* CV Drag & Drop Area */
.cv-dropzone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background-color: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cv-dropzone:hover,
.cv-dropzone.dragover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.cv-dropzone svg {
  color: var(--primary);
}

.cv-file-preview {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.cv-file-preview.active {
  display: flex;
}

.btn-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Submit Success Banner */
.application-success-banner {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  animation: fadeIn 300ms ease-out forwards;
}

.application-success-banner.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.success-icon-badge {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 400px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: toastSlideIn 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.toast.toast-hiding {
  opacity: 0;
  transform: translateX(30px);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-icon {
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-message {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.toast-success .toast-icon { color: var(--success); }
.toast-info .toast-icon { color: var(--primary); }
.toast-danger .toast-icon { color: var(--danger); }

/* ==========================================================================
   About & Contact Views
   ========================================================================== */
.about-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.about-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .jobs-layout {
    grid-template-columns: 1fr;
  }
  .filters-sidebar {
    position: static;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .hero-search-wrapper {
    flex-direction: column;
    padding: 1rem;
  }

  .hero-divider {
    width: 100%;
    height: 1px;
  }

  .btn-search-hero {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
