/* ================================
   TALENTSYNC — PREMIUM JOBS PAGE
   ================================ */

/* ── HERO SECTION ── */
.jobs-hero {
  position: relative;
  padding: 140px 0 100px;
  background: #ffffff;
  overflow: visible;
}

.jobs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(248, 250, 252, 0.4), transparent);
  pointer-events: none;
  z-index: 0;
}

.jobs-hero-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.jobs-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  padding-bottom: 100px;
}

.jobs-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: visible;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.jobs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(122, 31, 77, 0.08);
  border: 1px solid rgba(122, 31, 77, 0.2);
  color: #7A1F4D;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.jobs-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #7A1F4D;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.jobs-hero-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.highlight-wine {
  color: #7A1F4D;
  position: relative;
}

.heading-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #7A1F4D, #8E244D);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.jobs-hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 520px;
  margin: 0 0 2.5rem 0;
  font-weight: 400;
}

.jobs-search-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  max-width: 450px;
  width: 100%;
  box-shadow: 
    0 8px 32px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  transition: all 0.3s ease;
}

.jobs-search-bar:focus-within {
  border-color: #7A1F4D;
  box-shadow: 
    0 12px 40px rgba(15, 23, 42, 0.08),
    0 0 0 4px rgba(122, 31, 77, 0.06);
  transform: translateY(-2px);
}

.jobs-search-bar svg {
  width: 22px;
  height: 22px;
  color: #7A1F4D;
  flex-shrink: 0;
}

.jobs-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #0f172a;
  background: transparent;
  font-weight: 500;
}

.jobs-search-bar input::placeholder { 
  color: #94a3b8;
  font-weight: 400;
}

/* ── MAIN LAYOUT ── */
.jobs-main {
  padding: 80px 0 120px;
  background: #ffffff;
  position: relative;
}

.jobs-main-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── PREMIUM FILTERS ── */
.jobs-filters {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 120px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.jobs-filters h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jobs-filters h3::before {
  content: '';
  width: 3px;
  height: 14px;
  background: linear-gradient(135deg, #7A1F4D, #8E244D);
  border-radius: 2px;
}

.filter-group { 
  margin-bottom: 1rem;
}

.filter-group:last-of-type {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.filter-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.filter-select:hover {
  border-color: rgba(122, 31, 77, 0.3);
  background-color: #fafafa;
}

.filter-select:focus {
  border-color: #7A1F4D;
  box-shadow: 0 0 0 3px rgba(122, 31, 77, 0.08);
}

.filter-select option {
  padding: 0.5rem;
  font-weight: 500;
}

.filter-reset {
  width: 100%;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.filter-reset svg {
  flex-shrink: 0;
}

.filter-reset:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ── PREMIUM LISTINGS ── */
.jobs-count {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
}

.jobs-count span {
  color: #7A1F4D;
  font-weight: 700;
}

.jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── PREMIUM JOB CARDS ── */
.job-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #7A1F4D, #8E244D);
  transition: width 0.4s ease;
}

.job-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 31, 77, 0.02), rgba(142, 36, 77, 0.01));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.job-card:hover {
  border-color: rgba(122, 31, 77, 0.2);
  box-shadow: 
    0 20px 60px rgba(15, 23, 42, 0.08),
    0 8px 32px rgba(122, 31, 77, 0.06);
  transform: translateY(-4px);
}

.job-card:hover::before {
  width: 6px;
}

.job-card:hover::after {
  opacity: 1;
}

.job-card-content {
  position: relative;
  z-index: 1;
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.job-card-title-section {
  flex: 1;
}

.job-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.job-card-company {
  font-size: 1rem;
  color: #7A1F4D;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.job-card-posted {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 500;
}

.job-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.job-card-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.job-card-badge.full-time {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.job-card-badge.full-time::before {
  background: #059669;
}

.job-card-badge.part-time {
  background: rgba(251, 191, 36, 0.1);
  color: #d97706;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.job-card-badge.part-time::before {
  background: #d97706;
}

.job-card-badge.contract {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.job-card-badge.contract::before {
  background: #7c3aed;
}

.job-card-badge.remote {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.job-card-badge.remote::before {
  background: #2563eb;
}

.job-card-badge.internship {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.job-card-badge.internship::before {
  background: #0891b2;
}

.job-card-badge.freelance {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.job-card-badge.freelance::before {
  background: #db2777;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 500;
}

.job-meta-item svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  flex-shrink: 0;
}

.job-card-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.job-card-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.industry-tag {
  padding: 0.375rem 0.875rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
}

.job-card-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.btn-view-description {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7A1F4D, #8E244D);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(122, 31, 77, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-view-description::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-view-description:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(122, 31, 77, 0.35);
}

.btn-view-description:hover::before {
  opacity: 1;
}

.btn-view-description svg {
  transition: transform 0.3s ease;
}

.btn-view-description:hover svg {
  transform: translateX(2px);
}

/* ── LOADING / EMPTY ── */
.jobs-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: #7A1F4D;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

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

.jobs-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
}

.jobs-empty svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  opacity: 0.3;
}

.jobs-empty p { font-size: 0.9375rem; }

/* ── JOB DETAILS MODAL ── */
.job-details-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.job-details-modal.open {
  opacity: 1;
  pointer-events: all;
}

.job-details-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.2);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.job-details-modal.open .job-details-box {
  transform: translateY(0) scale(1);
}

.job-details-header {
  background: #ffffff;
  padding: 1.75rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  flex-shrink: 0;
}

.job-details-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  font-size: 1.125rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  z-index: 1;
}

.job-details-close:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.job-details-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  padding-right: 2.5rem;
}

.job-details-company {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #7A1F4D;
  margin-bottom: 0;
}

.job-details-content {
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.job-details-section {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.job-details-section:last-child {
  border-bottom: none;
}

.job-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.job-section-content {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.job-section-content p {
  margin: 0;
}

.job-section-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-section-content li {
  padding: 0.5rem 0;
  padding-left: 0;
  position: relative;
  line-height: 1.6;
}

.job-section-content li::before {
  display: none;
}

.job-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-skill-tag {
  padding: 0.375rem 0.75rem;
  background: rgba(122, 31, 77, 0.06);
  border: 1px solid rgba(122, 31, 77, 0.15);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #7A1F4D;
}

.job-details-footer {
  padding: 1.25rem 2rem;
  background: #f8fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.job-footer-info {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

.btn-apply-now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7A1F4D, #8E244D);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(122, 31, 77, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-apply-now::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-apply-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 31, 77, 0.35);
}

.btn-apply-now:hover::before {
  opacity: 1;
}

.btn-apply-now svg {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}

.btn-apply-now:hover svg {
  transform: translateX(2px);
}

/* ── APPLICATION MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 
    0 40px 100px rgba(15, 23, 42, 0.25),
    0 20px 60px rgba(37, 99, 235, 0.1);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: scale(1.05);
}

.modal-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.modal-header .jobs-kicker {
  margin-bottom: 1rem;
}

.modal-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.modal-company {
  font-size: 1.0625rem;
  color: #7A1F4D;
  font-weight: 600;
}

.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.apply-field-full {
  grid-column: 1 / -1;
}

.apply-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.apply-field label span {
  color: #ff8c00;
}

.apply-field input,
.apply-field textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.apply-field input:focus,
.apply-field textarea:focus {
  border-color: #7A1F4D;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(122, 31, 77, 0.08);
}

.apply-field input::placeholder,
.apply-field textarea::placeholder {
  color: #94a3b8;
}

.apply-field textarea {
  resize: vertical;
  min-height: 120px;
}

.apply-submit {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, #7A1F4D, #8E244D);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(122, 31, 77, 0.3);
  position: relative;
  overflow: hidden;
}

.apply-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apply-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(122, 31, 77, 0.4);
}

.apply-submit:hover::before {
  opacity: 1;
}

.apply-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.apply-status {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.apply-status.success {
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.2);
  color: #059669;
  display: block;
}

.apply-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.2);
  color: #dc2626;
  display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .jobs-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .jobs-hero-left {
    align-items: center;
    text-align: center;
  }
  
  .jobs-hero-sub {
    max-width: 640px;
    margin: 0 auto 2.5rem;
  }
  
  .jobs-search-bar {
    max-width: 680px;
    margin: 0 auto;
  }
  
  .heading-underline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .jobs-main-inner {
    grid-template-columns: 1fr;
  }

  .jobs-filters {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }

  .jobs-filters h3 { grid-column: 1 / -1; margin-bottom: 0; }
  .filter-reset { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .jobs-hero { padding: 110px 0 60px; }
  .jobs-hero-inner { width: min(100% - 32px, 1280px); }
  .jobs-main-inner { width: min(100% - 32px, 1280px); gap: 2rem; }
  .jobs-filters { grid-template-columns: 1fr; }
  .apply-form-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 2rem 1.5rem; }
  .job-card { padding: 1.5rem; }
  .job-card-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .jobs-hero { padding: 90px 0 50px; }
  .jobs-hero-heading { font-size: 2rem; }
  .job-card-footer { flex-direction: column; align-items: flex-start; }
  .btn-apply { width: 100%; justify-content: center; }
}

/* ── LOADING & EMPTY STATES ── */
.jobs-loading {
  text-align: center;
  padding: 5rem 2rem;
  color: #94a3b8;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(226, 232, 240, 0.8);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

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

.jobs-loading p {
  font-size: 1rem;
  font-weight: 500;
}

.jobs-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: #94a3b8;
}

.jobs-empty svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  opacity: 0.4;
  color: #cbd5e1;
}

.jobs-empty p {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #64748b;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1200px) {
  .jobs-main-inner {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .jobs-hero {
    padding: 140px 0 80px;
  }
  
  .jobs-main-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .jobs-filters {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: start;
  }

  .jobs-filters h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  
  .filter-group {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .filter-reset {
    grid-column: 1 / -1;
    margin-top: 1rem;
  }
  
  .job-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .job-card-actions {
    align-items: stretch;
  }
  
  .btn-view-description {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .jobs-hero {
    padding: 120px 0 60px;
  }
  
  .jobs-hero-inner {
    width: min(100% - 32px, 1320px);
  }
  
  .jobs-main-inner {
    width: min(100% - 32px, 1320px);
    gap: 2rem;
  }
  
  .jobs-filters {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .job-card {
    padding: 2rem 1.5rem;
  }
  
  .job-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .job-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .apply-form-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-box {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .job-details-box {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
    border-radius: 12px;
  }
  
  .job-details-header {
    padding: 1.25rem 1.25rem;
  }
  
  .job-details-title {
    font-size: 1.25rem;
  }
  
  .job-details-company {
    font-size: 0.875rem;
  }
  
  .job-details-meta {
    gap: 0.5rem;
  }
  
  .job-meta-detail {
    font-size: 0.75rem;
    padding: 0.3rem 0.625rem;
  }
  
  .job-meta-detail svg {
    width: 12px;
    height: 12px;
  }
  
  .job-details-section {
    padding: 1.25rem 1.25rem;
  }
  
  .job-section-title {
    font-size: 0.9375rem;
  }
  
  .job-section-content {
    font-size: 0.8125rem;
  }
  
  .job-details-footer {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-apply-now {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .jobs-hero {
    padding: 100px 0 50px;
  }
  
  .jobs-hero-heading {
    font-size: 2.25rem;
  }
  
  .jobs-search-bar {
    padding: 0.875rem 1rem;
  }
  
  .job-card {
    padding: 1.5rem 1rem;
  }
  
  .job-card-title {
    font-size: 1.25rem;
  }
  
  .filter-options {
    grid-template-columns: 1fr;
  }
  
  .job-details-title {
    font-size: 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
}

/* ── JOB OVERVIEW SECTION ── */
.job-overview-section {
  padding: 1.5rem 2rem;
  background: rgba(248, 250, 252, 0.5);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.job-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.job-overview-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.job-overview-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.job-overview-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.job-overview-value svg {
  width: 14px;
  height: 14px;
  color: #7A1F4D;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .job-overview-section {
    padding: 1.25rem;
  }
  
  .job-overview-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
}
