/* ==========================================================================
   MEDELEC - RECRUTEMENT STYLE DEFINITIONS (PHASE V16.0)
   Vibrant Blue Tech-Blueprint Background (Pure Cyan/Indigo Glows, Zero Gold Glows)
   Crisp White High-Contrast Interactive Components & Premium Spacious Form
   ========================================================================== */

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

/* --- PAGE BASE & DUAL-LAYER HIGH-CONTRAST TECH BACKDROP (FOOTER GRADIENT INTEGRATION) --- */
[data-page="recrutement"] body,
body[data-page="recrutement"] {
  background-color: #020617 !important; /* Deepest footer color */
  color: #ffffff !important; /* Crisp white for absolute contrast */
  font-family: 'Outfit', sans-serif !important;
  background-image:
    /* Layer 1: Fine Precision 30px Tech Grid (Highly Visible Neon Cyan as on Actuality page) */
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    /* Layer 2: Main Technical 120px Grid (Refined Technical Blue as on Actuality page) */
    linear-gradient(rgba(11, 94, 146, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 146, 0.03) 1px, transparent 1px),
    /* Layer 3: Official Footer Degradation Gradient */
    radial-gradient(circle at 50% 0%, #0b5e92 0%, #05386b 50%, #020617 100%) !important;
  background-size: 30px 30px, 30px 30px, 120px 120px, 120px 120px, 100% 100% !important;
  background-attachment: fixed !important;
  background-repeat: repeat, repeat, repeat, repeat, no-repeat !important;
}

/* Custom Scrollbar to match modern blueprint theme */
[data-page="recrutement"] ::-webkit-scrollbar {
  width: 8px;
}
[data-page="recrutement"] ::-webkit-scrollbar-track {
  background: #020617;
}
[data-page="recrutement"] ::-webkit-scrollbar-thumb {
  background: rgba(11, 94, 146, 0.25);
  border-radius: 4px;
  border: 1px solid #020617;
}
[data-page="recrutement"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(11, 94, 146, 0.55);
}

section:not(.page-hero) {
  padding: clamp(60px, 10%, 120px) 0;
}

/* --- SYMMETRIC CENTRED HERO DESIGN --- */
[data-page="recrutement"] .page-hero.recrutement-hero {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 190px) clamp(20px, 5%, 40px) clamp(100px, 12vw, 130px);
  margin-top: 0;
}

/* Grid Mask for depth shading */
[data-page="recrutement"] .page-hero.recrutement-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 94, 146, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 146, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Horizontal Laser Conduit Separator */
[data-page="recrutement"] .page-hero.recrutement-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(11, 94, 146, 0.25) 30%, 
    #f5c400 50%, 
    rgba(11, 94, 146, 0.25) 70%, 
    transparent 100%
  );
  z-index: 2;
  box-shadow: 0 0 8px rgba(245, 196, 0, 0.3);
}

/* Enforcing absolute symmetry in flex direction */
[data-page="recrutement"] .page-hero.recrutement-hero .container,
[data-page="recrutement"] .page-hero.recrutement-hero .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 28px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  z-index: 2;
}

/* Centred Breathtaking Headline (Brilliant White to Technical Steel Blue) */
[data-page="recrutement"] .page-hero.recrutement-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  text-align: center !important;
  background: linear-gradient(to bottom, #ffffff 40%, #0b5e92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(11, 94, 146, 0.2));
  text-shadow: none !important;
}

/* Symmetric Subtitle box */
[data-page="recrutement"] .page-hero.recrutement-hero .hero-text-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

[data-page="recrutement"] .page-hero.recrutement-hero .hero-text-right p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85); /* Premium soft white for strong legibility */
  font-weight: 400;
  text-align: center !important;
  max-width: 650px;
}

/* =========================================================
   HERO CTA (Same premium ADN)
   ========================================================= */
.hero-btn {
  background: #ffffff;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: #0b5e92;
  border-radius: 45px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-btn:hover {
  background: #e6eef5;
  color: #073e65;
}

/* ======================= SHARED HEADERS ======================= */
.section-title,
.metiers-header h2,
.apply-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: clamp(10px, 2%, 15px);
  letter-spacing: -0.5px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.section-subtitle,
.metiers-subtitle,
.apply-header p {
  text-align: center;
  color: #94a3b8 !important; /* Soft slate grey */
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: clamp(35px, 7%, 60px);
  padding: 0 8%;
  line-height: 1.6;
}

.blue-line,
.underline {
  width: 80px;
  height: 4px;
  margin: clamp(10px, 2%, 15px) auto clamp(15px, 3%, 25px);
  background: linear-gradient(90deg, #0b5e92 0%, #f5c400 50%, #0b5e92 100%);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(11, 94, 146, 0.3);
}

/* ======================= VALEURS — Grid premium ======================= */
.values-section {
  padding: clamp(80px, 12vw, 120px) 0;
  position: relative;
}

.values-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 45px);
  padding: 0 clamp(20px, 4vw, 40px);
}

.value-card {
  background: #ffffff !important; /* Pure solid white cards */
  padding: clamp(30px, 5%, 45px) clamp(25px, 4%, 40px);
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(11, 94, 146, 0.08);
  box-shadow: 
    0 15px 35px rgba(2, 6, 23, 0.06),
    0 5px 15px rgba(11, 94, 146, 0.02);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(11, 94, 146, 0.45);
  box-shadow: 
    0 30px 60px rgba(2, 6, 23, 0.12),
    0 0 30px rgba(11, 94, 146, 0.1);
}

.icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0b5e92, #05386b);
  color: white;
  font-size: 28px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(11, 94, 146, 0.3);
  transition: transform 0.4s ease;
}

.value-card:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #032542 !important; /* Deep Navy Blue */
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569 !important; /* Premium slate grey */
  margin: 0;
}

/* ======================= MÉTIERS — Expertises ======================= */
.metiers-clean {
  padding: clamp(80px, 12vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.metiers-header {
  text-align: center;
  margin-bottom: 70px;
}

.metiers-bento {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop for clean 2x2 grid */
  gap: 32px;
  padding: 0 24px;
  box-sizing: border-box;
}

.bento-card {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(14, 165, 233, 0.15) !important;
  box-shadow: 
    0 15px 35px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.45) !important;
  box-shadow: 
    0 30px 60px rgba(2, 6, 23, 0.5),
    0 0 30px rgba(14, 165, 233, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-card-image {
  width: 100%;
  height: 220px; /* Uniform height for clean grid layout */
  overflow: hidden;
  position: relative;
}

.bento-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.bento-card:hover .bento-card-image img {
  transform: scale(1.05);
}

.bento-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  position: relative;
}

.bento-icon-circle {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.3);
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-icon-circle {
  transform: scale(1.1) rotate(5deg);
}

/* Glow Badge variants */
.bento-glow-cyan {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.bento-glow-gold {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}

.bento-glow-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.bento-glow-orange {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #fb923c;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.bento-card-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.bento-card:hover h3 {
  color: #38bdf8 !important;
}

.bento-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1 !important;
  margin: 0;
  flex-grow: 1;
}

.bento-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0ea5e9 !important;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 14px;
}

/* ======================= JOBS — Offres d'emploi (Premium Dark Tech Theme) ======================= */
.jobs-section {
  padding: clamp(80px, 12vw, 120px) 0;
  position: relative;
}

.jobs-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.job-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  height: 100%;
}

.job-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6) !important; /* Premium semi-transparent dark slate */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(14, 165, 233, 0.15) !important; /* Fine cyan tech border */
  box-shadow: 
    0 15px 35px rgba(2, 6, 23, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.job-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff !important; /* High contrast white */
  margin: 0 0 8px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.job-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #38bdf8 !important; /* Sky Blue */
  margin-bottom: 18px;
}

.job-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #94a3b8 !important; /* Legible Slate Grey */
  margin: 0 0 20px 0;
}

/* Job Tech Badges */
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.job-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0ea5e9 !important; /* Cyan Neon */
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Bullet list of requirements */
.job-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.job-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1 !important; /* Premium light contrast */
}

.bullet-icon {
  color: #f5c400; /* Yellow Lightning accent */
  font-size: 1rem;
}

/* Left technical border highlight */
.job-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 30px;
  width: 4px;
  background: linear-gradient(180deg, #0ea5e9, #0b5e92);
  border-radius: 4px;
  opacity: 0.8;
  transition: transform 0.4s ease;
}

.job-card-link:hover .job-card::after {
  transform: scaleY(1.15);
}

.job-card-link:hover .job-card {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.45) !important;
  box-shadow: 
    0 30px 60px rgba(2, 6, 23, 0.6),
    0 0 25px rgba(14, 165, 233, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.job-card-link:hover .job-card h3 {
  color: #38bdf8 !important; /* Glow/Highlight Title */
}

/* Premium Button Action */
.job-card-action {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

.btn-postuler {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(90deg, #0b5e92, #05386b);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(11, 94, 146, 0.3);
  transition: all 0.3s ease;
}

.job-card-link:hover .btn-postuler {
  background: linear-gradient(90deg, #0ea5e9, #05386b);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
  transform: translateX(4px);
}

.job-card-link:focus-visible {
  outline: none;
}

.job-card-link:focus-visible .job-card {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
}

/* ==========================================================================
   APPLY SECTION — Premium 1/2 Image + 1/2 Form Split Layout (Phase V30.0)
   Highly Responsive & Optimized for Desktop, Tablet, and Mobile
   ========================================================================== */

.apply-section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.apply-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

/* Master Glassmorphic Technical Card */
.apply-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Exact 1/2 and 1/2 split */
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  border: 1px solid rgba(14, 165, 233, 0.18) !important; /* Fine cyan tech border matching jobs */
  box-shadow: 
    0 25px 60px rgba(2, 6, 23, 0.5),
    0 0 35px rgba(14, 165, 233, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden; /* Ensure image and content stay perfectly within rounded border */
  position: relative;
  z-index: 2;
}

/* LEFT: 1/2 Photo Panel */
.apply-photo-panel {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 55px);
  box-sizing: border-box;
}

.apply-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.apply-photo-panel:hover .apply-cover-img {
  transform: scale(1.03);
}

/* Technical blueprint blue gradient overlay */
.apply-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.95) 0%,
    rgba(11, 94, 146, 0.75) 60%,
    rgba(2, 6, 23, 0.45) 100%
  );
  z-index: 2;
}

.apply-photo-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.apply-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #facc15; /* Brand yellow */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 999px;
  width: fit-content;
  background: rgba(250, 204, 21, 0.08);
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.1);
}

.apply-photo-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(2, 6, 23, 0.5);
}

.apply-tagline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 440px;
  text-shadow: 0 2px 8px rgba(2, 6, 23, 0.3);
}

/* RIGHT: 1/2 Form Panel */
.apply-form-panel {
  padding: clamp(30px, 5vw, 55px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(2, 6, 23, 0.25); /* Subtle shading inside the card */
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.apply-form-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.apply-form-header h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.apply-form-header p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Form Styles */
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.apply-form .two-cols {
  display: flex;
  gap: 16px;
  width: 100%;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.01em;
}

.form-group label span {
  color: #facc15 !important; /* Brand yellow required asterisk */
}

/* Glassmorphic input fields with high-contrast white backgrounds */
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff !important;
  color: #0f172a !important; /* Dark slate typing text */
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: #94a3b8; /* Soft slate grey placeholder */
}

.apply-form select option {
  background: #ffffff;
  color: #0f172a;
}

.apply-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 15px !important;
  padding-right: 40px !important;
}

.apply-form input:hover,
.apply-form select:hover,
.apply-form textarea:hover {
  border-color: #94a3b8;
  background: #ffffff !important;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  background: #ffffff !important;
  border-color: #0ea5e9; /* Tech neon cyan focus border */
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
  outline: none;
}

.apply-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* Custom File Upload Container */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff !important;
  transition: all 0.25s ease;
}

.file-upload-wrapper:hover .file-upload-custom {
  border-color: #94a3b8;
  background: #ffffff !important;
}

.file-upload-wrapper input[type="file"]:focus + .file-upload-custom {
  border-color: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
  background: #ffffff !important;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.file-upload-wrapper:hover .file-upload-btn {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.file-upload-text {
  font-size: 0.88rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  transition: color 0.2s ease;
}

.form-group small {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Submit Button */
.btn-submit {
  padding: 14px 24px;
  background: linear-gradient(135deg, #facc15, #f59e0b) !important;
  color: #020617 !important; /* Deep navy text for superior contrast */
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.3px;
  width: 100%;
  margin-top: 6px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(250, 204, 21, 0.45);
  background: linear-gradient(135deg, #fde047, #facc15) !important;
}

.btn-submit:active {
  transform: translateY(-1px);
}

/* Success Message */
.success-message {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   Consolidated Responsiveness (Phase V30.0)
   ========================================================================== */

@media (max-width: 1024px) {
  /* Values grid responsive layout */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Metiers bento tablet layout */
  .metiers-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Recruitment Split Wrapper Responsive */
  .apply-photo-panel {
    min-height: 550px;
    padding: clamp(25px, 4vw, 40px);
  }
  
  .apply-form-panel {
    padding: clamp(25px, 4vw, 40px);
  }
}

@media (max-width: 768px) {
  /* Section global paddings on mobile */
  section:not(.page-hero) {
    padding: clamp(50px, 8%, 80px) 0;
  }

  /* Metiers bento mobile stack */
  .metiers-bento {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bento-card.bento-wide {
    grid-column: auto;
    flex-direction: column !important;
  }
  
  .bento-card.bento-wide .bento-card-image {
    width: 100%;
    height: 190px;
  }
  
  .bento-card.bento-wide .bento-card-content {
    width: 100%;
    padding: 24px;
  }

  .bento-card.bento-tall {
    grid-row: auto;
  }

  .bento-card.bento-tall .bento-card-image {
    height: 190px;
  }

  .bento-card.bento-tall .bento-card-content {
    padding: 24px;
  }

  /* Jobs grid mobile stack */
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .job-card-link:hover .job-card {
    transform: none;
    box-shadow: 
      0 15px 35px rgba(2, 6, 23, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  /* Recruitment Form Split Wrapper Mobile Responsiveness */
  .apply-section .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .apply-wrapper {
    grid-template-columns: 1fr !important;
    padding: 30px 24px !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Hide the vertical image and overlay on mobile for fast loading and clean layout */
  .apply-cover-img,
  .apply-photo-overlay {
    display: none !important;
  }
  
  /* Convert photo panel into a simple elegant intro text block above the form */
  .apply-photo-panel {
    min-height: auto !important;
    padding: 0 0 24px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-bottom: 24px !important;
    background: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .apply-photo-content {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .apply-photo-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.4rem) !important;
  }
  
  .apply-form-panel {
    padding: 0 !important;
    border-left: none !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .apply-form .two-cols {
    flex-direction: column !important;
    gap: 14px !important;
  }
}

@media (max-width: 480px) {
  .apply-section .container {
    padding: 0 12px !important;
  }

  .apply-wrapper {
    padding: 24px 16px !important;
    border-radius: 20px !important;
  }
  
  .btn-submit {
    width: 100% !important;
  }
}

/* ==========================================================================
   PHASE V33.0: CINEMATIC B2B RECRUTEMENT FORM POLISH (Stripe/Tesla-Style)
   ========================================================================== */

/* 1. Make Background Blueprint Grid Ultra-Subtle & Invisible */
[data-page="recrutement"] body,
body[data-page="recrutement"] {
  background-image:
    /* Layer 1: Fine Precision 30px Tech Grid (Slightly transparent neon cyan) */
    linear-gradient(rgba(14, 165, 233, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.015) 1px, transparent 1px),
    /* Layer 2: Main Technical 120px Grid (Subtle blueprint blue) */
    linear-gradient(rgba(11, 94, 146, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 146, 0.01) 1px, transparent 1px),
    /* Layer 3: Official Footer Degradation Gradient */
    radial-gradient(circle at 50% 0%, #0b5e92 0%, #05386b 50%, #020617 100%) !important;
}

/* 2. Premium Floating Capsule Navbar - Inherited Globally from global.css */

/* 3. Deep Atmospheric Shadows & Glows */
.apply-section {
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.06) 0%, transparent 80%);
  position: relative;
  overflow: hidden !important;
  z-index: 1;
}

.apply-section .container {
  position: relative;
  z-index: 2;
}

.apply-wrapper {
  background: rgba(10, 18, 36, 0.45) !important; /* Premium dark glass */
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(14, 165, 233, 0.22) !important;
  box-shadow: 
    0 40px 100px rgba(2, 6, 23, 0.7),
    0 0 50px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: box-shadow 0.5s ease;
  position: relative !important;
  overflow: hidden !important;
}

.apply-wrapper:hover {
  box-shadow: 
    0 45px 110px rgba(2, 6, 23, 0.85),
    0 0 60px rgba(14, 165, 233, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* LEFT: Photo Panel Neon Glows & Halos */
.apply-photo-panel {
  position: relative !important;
  z-index: 2 !important;
  overflow: hidden !important;
}

.apply-photo-halo {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.16) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(15px);
  animation: auroraDrift-1 12s ease-in-out infinite;
  will-change: transform, opacity;
}

.apply-photo-halo-cyan {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(15px);
  animation: auroraDrift-2 15s ease-in-out infinite 1.5s;
  will-change: transform, opacity;
}

@keyframes auroraDrift-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(6%, -8%) scale(1.12);
    opacity: 0.95;
  }
}

@keyframes auroraDrift-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-8%, 6%) scale(1.15);
    opacity: 0.85;
  }
}

/* Neon SVG Lasers */
.apply-neon-conduit {
  position: absolute;
  inset: 0;
  z-index: 1 !important;
  pointer-events: none;
  mix-blend-mode: screen;
  overflow: hidden;
}

.apply-neon-svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.current-laser {
  stroke-width: 1.5px;
  stroke-linecap: round;
  fill: none;
  opacity: 0.45;
}

.laser-1 {
  stroke: #facc15;
  filter: drop-shadow(0 0 6px #facc15);
}

.laser-2 {
  stroke: #0ea5e9;
  filter: drop-shadow(0 0 5px #0ea5e9);
}

/* Bullet Flow Animations using Motion Paths */
.current-bullet {
  opacity: 0;
}

.bullet-1 {
  offset-path: path("M -100,300 C 350,150 700,500 1050,200 C 1200,100 1350,450 1500,350");
  animation: moveBullet-y 5s linear infinite;
}

.bullet-2 {
  offset-path: path("M -100,450 C 300,550 650,200 1000,500 C 1150,600 1300,250 1500,300");
  animation: moveBullet-c 7s linear infinite 1.5s;
}

@keyframes moveBullet-y {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  15%, 85% {
    opacity: 1;
    filter: drop-shadow(0 0 8px #facc15) drop-shadow(0 0 4px #facc15);
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes moveBullet-c {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  15%, 85% {
    opacity: 1;
    filter: drop-shadow(0 0 8px #0ea5e9) drop-shadow(0 0 4px #0ea5e9);
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* Pulsing Badge & Massive Headline typography */
/* Pulsing Badge & Massive Headline typography */
.apply-photo-content {
  gap: 22px !important;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.apply-photo-panel:hover .apply-photo-content {
  transform: translateY(-8px) translateZ(15px) !important;
}

.apply-photo-panel:hover .apply-cover-img {
  transform: scale(1.07) translate(-3px, -2px) !important;
}

.apply-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #facc15 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  padding: 6px 16px !important;
  border: 1.5px solid rgba(250, 204, 21, 0.4) !important;
  background: rgba(250, 204, 21, 0.06) !important;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.15) !important;
  animation: badgeGlowPulse 4s ease-in-out infinite;
}

@keyframes badgeGlowPulse {
  0%, 100% {
    border-color: rgba(250, 204, 21, 0.4) !important;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.15) !important;
  }
  50% {
    border-color: rgba(14, 165, 233, 0.7) !important;
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.35) !important;
  }
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #facc15;
  border-radius: 50%;
  box-shadow: 0 0 8px #facc15;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 12px #facc15;
  }
}

.apply-photo-content h2 {
  font-size: clamp(2.6rem, 3.8vw, 3.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important; /* Pure solid white */
  background: none !important; /* Disable any text clipping backgrounds */
  -webkit-text-fill-color: #ffffff !important; /* Force solid white text fill */
  -webkit-background-clip: initial !important; /* Clear background text-clip */
  text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.35), /* Soft close-up white aura */
    0 0 20px rgba(14, 165, 233, 0.25), /* Subtle tech cyan atmospheric glow */
    0 3px 12px rgba(2, 6, 23, 0.85) !important; /* Rich high-contrast dark drop-shadow for absolute legibility */
  margin-bottom: 8px !important;
}

/* Glowing electric white keyword styling */
.electric-text {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important; /* Force solid white text fill */
  -webkit-background-clip: initial !important; /* Clear background text-clip */
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.45), /* Slightly more defined close-up white aura */
    0 0 25px rgba(14, 165, 233, 0.35), /* Technical cyan atmospheric glow */
    0 3px 12px rgba(2, 6, 23, 0.85) !important; /* Rich high-contrast dark drop-shadow */
  display: inline !important;
  filter: none !important;
}

.apply-tagline {
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  color: #cbd5e1 !important;
}

/* RIGHT: Dark Glassmorphic Inputs & Selects */
.apply-form-panel {
  background: rgba(15, 23, 42, 0.3) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
  position: relative !important;
  z-index: 2 !important;
}

.apply-form-header h3 {
  letter-spacing: -0.01em !important;
}

.apply-form-header p {
  color: rgba(255, 255, 255, 0.5) !important;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important; /* High contrast crisp white */
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.95rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  will-change: border-color, box-shadow, background-color;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38) !important;
}

.apply-form select option {
  background: #0b1329 !important; /* Dark premium background for option list */
  color: #ffffff !important;
}

.apply-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 15px !important;
  padding-right: 40px !important;
}

.apply-form input:hover,
.apply-form select:hover,
.apply-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: #0ea5e9 !important; /* Technical neon cyan focus */
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.35) !important;
  outline: none !important;
}

/* Custom File Upload Container Dark-Glass Theme */
.file-upload-custom {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.file-upload-wrapper:hover .file-upload-custom {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.file-upload-wrapper input[type="file"]:focus + .file-upload-custom {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.35) !important;
}

.file-upload-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.2s ease !important;
}

.file-upload-wrapper:hover .file-upload-btn {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.file-upload-text {
  color: rgba(255, 255, 255, 0.7) !important;
}

.form-group small {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* 4. Luxury Submit CTA (Pulsing Glow & Shimmer) */
.btn-submit {
  position: relative;
  overflow: hidden;
  padding: 16px 28px !important;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%) !important;
  color: #020617 !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  z-index: 1;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 
    0 14px 35px rgba(250, 204, 21, 0.45),
    0 0 25px rgba(250, 204, 21, 0.25) !important;
  background: linear-gradient(135deg, #ffd93b 0%, #facc15 100%) !important;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:active {
  transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll and clipping */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .apply-section {
    overflow: hidden !important;
  }

  .apply-section .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Make the form card seamlessly full-width on mobile */
  .apply-wrapper {
    grid-template-columns: 1fr !important;
    padding: 30px 24px !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 24px !important;
    box-shadow: 
      0 30px 70px rgba(2, 6, 23, 0.6),
      0 0 40px rgba(14, 165, 233, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  /* Remove duplicate form panel borders & dark backgrounds to avoid double-box crop effect */
  .apply-form-panel {
    padding: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: none !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Force all inputs to span exactly 100% width of the card content */
  .apply-form {
    width: 100% !important;
  }

  .apply-form .two-cols {
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .form-group {
    width: 100% !important;
  }

  /* Hide vertical covers to save mobile data & space */
  .apply-cover-img,
  .apply-photo-overlay {
    display: none !important;
  }

  .apply-photo-panel {
    min-height: auto !important;
    padding: 0 0 24px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-bottom: 24px !important;
    background: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .apply-photo-content {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .apply-photo-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.4rem) !important;
  }

  /* Fix SVG animated lines compression - scale smoothly by cropping extra width instead of squeezing */
  .apply-neon-conduit {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .apply-neon-svg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.7 !important;
  }
}

@media (max-width: 480px) {
  .apply-section .container {
    padding: 0 12px !important;
  }

  .apply-wrapper {
    padding: 24px 16px !important;
    border-radius: 20px !important;
  }

  .btn-submit {
    width: 100% !important;
  }
}
