/* Hub. Job Portal - Minimalist CSS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #111111;
  background: #f7f7f7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.app-layout { display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
.main-content { flex: 1; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
  margin:3px;
}

/* Navbar */
.navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #ebebeb;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.navbar-links { display: flex; align-items: center; gap: 30px; }

.nav-link-item {
  color: #666666;
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.15s;
}

.nav-link-item:hover { color: #111111; }

.nav-btn-signup {
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 7px 17px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 7px;
}

.hamburger span { display: block; height: 2px; background: #111; margin: 4px 0; }

/* Hero */
.hero {
  width: 100%;
  background-image: url('/heroimg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 108px 40px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,15,25,0.84) 0%, rgba(11,15,25,0.70) 45%, rgba(11,15,25,0.88) 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 52%, rgba(249,115,22,0.10) 0%, transparent 68%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo { height: 42px; margin-bottom: 32px; filter: drop-shadow(0 0 16px rgba(249,115,22,0.25)); }

.hero-headline {
  font-size: 78px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -3.5px;
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17.5px;
  color: #cbd5e1;
  line-height: 1.72;
  margin-bottom: 32px;
  white-space: nowrap;
}

.hero-perks { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; justify-content: center; }

.hero-perk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 18px;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
}

.hero-cta-wrap { width: 100%; max-width: 640px; }

.hero-cta-label {
  font-size: 11px;
  font-weight: 700;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
}

.hero-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  padding: 7px 7px 7px 22px;
  backdrop-filter: blur(32px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.hero-bar-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #ffffff;
  padding: 9px 0;
}

.hero-bar-input::placeholder { color: rgba(255,255,255,0.55); }
.hero-bar-sep { width: 1px; height: 22px; background: rgba(255,255,255,0.25); margin: 0 12px; }

.hero-bar-upload {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.hero-bar-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 6px;
}

.hero-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  text-align: left;
}

.hero-gdpr-cb { width: 13px; height: 13px; margin-top: 2px; accent-color: #f97316; }
.hero-error { font-size: 12.5px; color: #fca5a5; margin-top: 10px; }

.hero-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

.hero-success h3 { font-size: 20px; font-weight: 700; color: #fff; }
.hero-success p { font-size: 14px; color: #94a3b8; }

/* RH Listings */
.rh-listings {
  background: #fafafa;
  border-top: 1px solid #f3f4f6;
  padding: 56px 0;
}

.rh-listings-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.rh-jobs-col { flex: 1; min-width: 0; }

.rh-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rh-filterbar-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rh-filterbar-right { display: flex; align-items: center; gap: 10px; }

.rh-fb-search {
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 12px;
}

.rh-fb-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  width: 160px;
}

.rh-fb-pill { position: relative; }

.rh-fb-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.rh-fb-pill-selected .rh-fb-pill-btn {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.rh-fb-pill-active .rh-fb-pill-btn { border-color: #111827; background: #111827; color: #fff; }

.rh-fb-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 8px;
  z-index: 200;
  min-width: 180px;
}

.rh-fb-dd-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13.5px;
  color: #374151;
}

.rh-fb-location-dropdown {
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rh-fb-loc-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rh-fb-loc-label {
  font-size: 12px;
  color: #6b7280;
}

.rh-fb-loc-select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 10px;
  font-size: 13px;
  color: #111827;
}

.rh-fb-loc-select:disabled {
  background: #f9fafb;
  color: #9ca3af;
}

.rh-fb-loc-clear {
  margin-top: 2px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  align-self: flex-start;
}

.rh-fb-backdrop { position: fixed; inset: 0; z-index: 50; }

.rh-fb-sort-label { font-size: 13px; color: #6b7280; }

.rh-fb-sort-select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.rh-fb-count {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  padding-left: 6px;
  border-left: 1px solid #e5e7eb;
}

.rh-match-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.rh-match-banner-left { display: flex; flex-direction: column; }
.rh-match-banner-title { font-size: 13.5px; font-weight: 700; color: #15803d; }
.rh-match-banner-sub { font-size: 12px; color: #22c55e; }
.rh-match-banner-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: transparent;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #16a34a;
}

.rh-job-list { display: flex; flex-direction: column; gap: 12px; }

.rh-empty-state {
  border: 1px dashed #d1d5db;
  border-radius: 14px;
  background: #f9fafb;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 22px 16px;
}

.rh-job-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rh-job-card-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }

.rh-job-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rh-dept-engineering { background: #eff6ff; color: #2563eb; }
.rh-dept-product { background: #f0fdf4; color: #16a34a; }
.rh-dept-design { background: #fff7ed; color: #ea580c; }
.rh-dept-marketing { background: #fdf4ff; color: #9333ea; }
.rh-dept-customer-support { background: #eff6ff; color: #0077b6; }

.rh-job-title {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.2px;
}

.rh-job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px;margin-top:10px; }

.rh-meta-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #6b7280; }

.rh-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.rh-tag-type { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.rh-tag-mode { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.rh-apply-btn {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.rh-count-badge {
  background: #e5e7eb;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 9999px;
}

.job-card-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rh-match-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 118px;
}

.rh-match-ring {
  --match-color: #2563eb;
  --match-value: 0;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--match-color) calc(var(--match-value) * 1%), #e5e7eb 0);
}

.rh-match-ring::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #ffffff;
}

.rh-match-ring-value {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: #111827;
}

.rh-match-low { --match-color: #ef4444; }
.rh-match-mid { --match-color: #3b82f6; }
.rh-match-high { --match-color: #22c55e; }

.rh-match-skill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.rh-match-primary-chip {
  display: inline-flex;
  align-items: center;
  max-width: 84px;
  font-size: 11px;
  font-weight: 600;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-match-more-menu {
  position: relative;
}

.rh-match-more-btn {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-width: 56px; */
    height: 24px;
    /* padding: 0 8px; */
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    /* border: 1px solid #bfdbfe; */
    border-radius: 9999px;
    /* background: #eff6ff; */
    cursor: pointer;
}

.rh-match-more-btn::-webkit-details-marker {
  display: none;
}

.rh-match-more-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  max-width: 240px;
  max-height: 210px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  padding: 8px;
  z-index: 20;
}

.rh-match-more-item {
  font-size: 12px;
  color: #334155;
  padding: 7px 8px;
  border-radius: 8px;
}

.rh-match-more-item:hover {
  background: #f8fafc;
}

.rh-pagination { display: flex; align-items: center; justify-content: end; gap: 6px; margin-top: 36px; }
.rh-page-nav { background: none; border: none; font-size: 13.5px; font-weight: 600; color: #6b7280; padding: 6px 8px; }
.rh-page-num {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  background: transparent;
  color: #6b7280;
}
.rh-page-num:hover,
.rh-page-nav:hover {
  color: #111111;
  cursor: pointer;
}

.rh-page-num:disabled,
.rh-page-nav:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.rh-page-active { background: #000000 !important; color: #ffffff !important; }

.rh-right-sidebar { width: 296px; flex-shrink: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }

.rh-company-card,
.rh-mini-upload-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.rh-company-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rh-logo-text { font-size: 20px; font-weight: 900; letter-spacing: -1px; }
.rh-company-logo-img { height: 44px; width: auto; object-fit: contain; display: block; }
.rh-open-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.rh-company-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.rh-company-tagline { font-size: 13px; color: #6b7280; margin-bottom: 14px; }
.rh-company-desc { font-size: 12.5px; color: #4b5563; line-height: 1.7; margin-bottom: 20px; }

.rh-linkedin-btn {
  display: inline-flex;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #0a66c2;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

.rh-mini-title { font-size: 15px; font-weight: 700; }
.rh-mini-sub { font-size: 12px; color: #6b7280; margin-bottom: 14px; }

.rh-mini-drop {
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(249,250,251,0.5);
  margin-bottom: 14px;
}

.rh-mini-drop-text { font-size: 12px; color: #4b5563; text-align: center; }
.rh-mini-drop-hint { font-size: 10px; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.4px; }

.rh-mini-selected {
  margin: -2px 0 10px;
  font-size: 11.5px;
  color: #374151;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-match-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.rh-match-disabled { background: #e5e7eb !important; color: #9ca3af !important; cursor: not-allowed !important; }

/* Crew Detail */
.crew-hero {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: visible;
  background: linear-gradient(175deg, #010407 0%, #02091c 25%, #050e24 50%, #08152e 72%, #0e1e3c 88%, #14263e 100%);
}

/* Comet / rocket trail */
.crew-hero::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 2px;
    top: 42%;
    left: 30%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 110, 30, 0.35) 15%,
        rgba(255, 150, 55, 0.70) 38%,
        rgba(255, 190, 90, 0.92) 58%,
        rgba(255, 215, 150, 0.75) 78%,
        rgba(255, 235, 200, 0.30) 100%
    );
    transform: rotate(-36deg);
    transform-origin: left center;
    filter: blur(0.6px);
    box-shadow:
        0 0 6px 2px rgba(255, 140, 50, 0.20),
        0 0 2px 0px rgba(255, 200, 100, 0.45);
}

.crew-scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

.crew-scroll-header-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
}

.crew-scroll-header-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.crew-scroll-job-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crew-scroll-title {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-scroll-company {
  font-size: 12px;
  color: #999999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-scroll-back {
  background: none;
  border: 1px solid #e0e0e0;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #666666;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.crew-scroll-apply-btn {
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}

.crew-scroll-apply-btn:disabled {
  background: #e0e0e0;
  color: #aaaaaa;
}

.crew-hero-gradient { 
    position: absolute;
     inset: 0;
      overflow: hidden;
    background-image: radial-gradient(circle at  6% 10%, rgba(255,255,255,0.95) 0.6px, transparent 1px),
        radial-gradient(circle at 14%  4%, rgba(255,255,255,0.65) 0.5px, transparent 1px),
        radial-gradient(circle at 22% 18%, rgba(255,255,255,0.80) 0.6px, transparent 1px),
        radial-gradient(circle at 34%  7%, rgba(255,255,255,0.70) 0.5px, transparent 1px),
        radial-gradient(circle at 48%  3%, rgba(255,255,255,0.90) 0.7px, transparent 1px),
        radial-gradient(circle at 57% 13%, rgba(255,255,255,0.60) 0.5px, transparent 1px),
        radial-gradient(circle at 66%  6%, rgba(255,255,255,0.85) 0.6px, transparent 1px),
        radial-gradient(circle at 74% 18%, rgba(255,255,255,0.55) 0.5px, transparent 1px),
        radial-gradient(circle at 83%  9%, rgba(255,255,255,0.90) 0.6px, transparent 1px),
        radial-gradient(circle at 91% 16%, rgba(255,255,255,0.70) 0.5px, transparent 1px),
        radial-gradient(circle at 97%  5%, rgba(255,255,255,0.80) 0.6px, transparent 1px),
        radial-gradient(circle at  3% 30%, rgba(255,255,255,0.55) 0.5px, transparent 1px),
        radial-gradient(circle at 11% 38%, rgba(255,255,255,0.45) 0.5px, transparent 1px),
        radial-gradient(circle at 26% 25%, rgba(255,255,255,0.65) 0.5px, transparent 1px),
        radial-gradient(circle at 39% 33%, rgba(255,255,255,0.50) 0.5px, transparent 1px),
        radial-gradient(circle at 52% 28%, rgba(255,255,255,0.70) 0.5px, transparent 1px),
        radial-gradient(circle at 61% 36%, rgba(255,255,255,0.45) 0.5px, transparent 1px),
        radial-gradient(circle at 70% 22%, rgba(255,255,255,0.60) 0.5px, transparent 1px),
        radial-gradient(circle at 79% 40%, rgba(255,255,255,0.40) 0.5px, transparent 1px),
        radial-gradient(circle at 88% 28%, rgba(255,255,255,0.55) 0.5px, transparent 1px),
        radial-gradient(circle at 95% 35%, rgba(255,255,255,0.50) 0.5px, transparent 1px),
        radial-gradient(circle at  8% 50%, rgba(255,255,255,0.30) 0.5px, transparent 1px),
        radial-gradient(circle at 20% 55%, rgba(255,255,255,0.35) 0.5px, transparent 1px),
        radial-gradient(circle at 43% 48%, rgba(255,255,255,0.30) 0.5px, transparent 1px),
        radial-gradient(circle at 65% 55%, rgba(255,255,255,0.25) 0.5px, transparent 1px),
        radial-gradient(circle at 85% 50%, rgba(255,255,255,0.30) 0.5px, transparent 1px),        
        radial-gradient(ellipse at 50% 100%, rgba(20, 50, 100, 0.55) 0%, rgba(10, 25, 60, 0.3) 40%, transparent 65%),
        radial-gradient(ellipse at 60% 20%, rgba(80, 100, 180, 0.08) 0%, transparent 50%)
    }

.crew-logo-on-hero { position: absolute; bottom: -45px; left: 5%; z-index: 4; }

.crew-logo-box {
  width: 90px;
  height: 90px;
  background: #fff;
  border: 3px solid #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  color: #fff;
  font-weight: 700;
}

.crew-logo-img {
  width: 70px;
  height: 65px;
  object-fit: cover;
  border-radius: 12px;
}

.crew-page-wrap { width: 100%; padding: 56px 5% 80px; }
.crew-top-badge-row { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 24px; margin-top: -40px; }

.crew-layout {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}

.crew-left { min-width: 0; }

.crew-company-name { font-size: 14px; color: #999999; margin-bottom: 8px; }

.crew-title {
  font-size: 32px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.crew-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ebebeb;
}

.crew-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  color: #555555;
  font-weight: 500;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  padding: 5px 11px;
  border-radius: 6px;
}

.crew-dept-tag {
  background: #fff8f0;
  color: #b35000;
  border-color: #fdd8a0;
  font-weight: 600;
}

.crew-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 12.5px;
  color: #888888;
  font-weight: 500;
  margin-left: auto;
}

.crew-body-text { font-size: 14px; color: #444444; line-height: 1.82; }

.crew-section-heading {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.3px;
  margin-top: 28px;
  margin-bottom: 14px;
}

.crew-bullet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }

.crew-bullet-list li {
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.crew-bullet-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #999999;
  font-size: 18px;
  line-height: 1.4;
}

.crew-skills-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.crew-skill-chip {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
}

.crew-about-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid #ebebeb; }
.crew-li-link { display: inline-flex; margin-top: 14px; color: #0a66c2; font-size: 13px; font-weight: 600; }

.crew-right { position: sticky; top: 120px; align-self: start; min-width: 0; }

.crew-overview-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.crew-ov-rate-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.crew-ov-rate-amount { font-size: 24px; font-weight: 800; color: #111111; letter-spacing: -0.8px; }

.crew-ov-rate-type {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  padding: 2px 8px;
  border-radius: 20px;
}

.crew-ov-rows { display: flex; flex-direction: column; margin-bottom: 22px; }

.crew-ov-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f5f5f5;
}

.crew-ov-icon {
  width: 28px;
  height: 28px;
  border: 1px solid #ebebeb;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  background:#f5f5f5;
}

.crew-ov-row:last-child { border-bottom: none; }
.crew-ov-label { font-size: 12px; color: #aaaaaa; font-weight: 500; flex: 1; }
.crew-ov-value { font-size: 13px; font-weight: 600; color: #222222; text-align: right; max-width: 55%; }

.crew-apply-big-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
}

.crew-apply-closed { background: #e0e0e0; color: #aaaaaa; cursor: not-allowed; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.status-badge .dot { width: 6px; height: 6px; border-radius: 50%; }

.status-badge.open { background: #f0fdf4; color: #1a7a3e; border: 1px solid #c3e8cc; }
.status-badge.open .dot { background: #1a7a3e; }
.status-badge.closed { background: #fff2f2; color: #b82828; border: 1px solid #f8c4c4; }
.status-badge.closed .dot { background: #b82828; }

/* Modal fallback */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 400;
}

.apply-modal {
  position: fixed;
  top: 6vh;
  right: 20px;
  width: min(560px, calc(100vw - 32px));
  max-height: 88vh;
  overflow: auto;
  z-index: 450;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
}

.apply-modal-inline {
  position: static;
  width: 100%;
  max-height: none;
  overflow: visible;
  z-index: auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
}

.modal-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ghost-button { border: 1px solid #e0e0e0; background: #fff; border-radius: 6px; padding: 6px 12px; }
.form-grid.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.text-input { width: 100%; min-height: 40px; border: 1px solid #d8d8d8; border-radius: 7px; padding: 8px 10px; margin-top: 8px; }
.skill-years-row { display: grid; grid-template-columns: 1fr 100px; gap: 8px; align-items: center; margin-top: 8px; }
.apply-button { width: 100%; min-height: 44px; background: #111; color: #fff; border: none; border-radius: 8px; margin-top: 12px; }

.crew-form-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}

.crew-form-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.crew-form-heading {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.4px;
  margin: 0;
}

.crew-form-back-btn {
  background: none;
  border: 1px solid #e0e0e0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #777777;
}

.crew-form-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 10px;
}

.crew-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.crew-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #333333;
}

.crew-req { color: #e53e3e; }

.crew-input {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #111111;
  background: #ffffff;
}

.crew-input-invalid {
  border-color: #e53e3e !important;
}

.crew-textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #111111;
  min-height: 110px;
  resize: vertical;
}

.crew-resume-drop {
  border: 1.5px dashed #d0d0d0;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.crew-drop-text { font-size: 13px; color: #777777; }
.crew-browse-link { color: #0a66c2; font-weight: 600; }
.crew-drop-hint { font-size: 11px; color: #bbbbbb; }
.crew-drop-selected {
  display: block;
  max-width: 100%;
  font-size: 12px;
  color: #1f2937;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-label-section { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.crew-label-hint { font-size: 11px; color: #aaaaaa; }

.crew-skill-inputs {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.crew-skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid #f2f2f2;
  gap: 12px;
}

.crew-skill-row:last-child { border-bottom: none; }

.crew-skill-row-name { font-size: 13px; font-weight: 500; color: #333333; }

.crew-skill-year-input { display: flex; align-items: center; gap: 6px; }

.crew-year-input {
  display: inline-block;
  flex: 0 0 auto;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  width: 56px !important;
  min-width: 56px;
  height: 32px;
  text-align: center;
  border: 1px solid #d8d8d8 !important;
  border-radius: 6px;
  background: #ffffff;
  padding: 6px 8px !important;
  font-size: 13px !important;
  opacity: 1;
  visibility: visible;
  line-height: 1;
}

.crew-year-input::-webkit-inner-spin-button,
.crew-year-input::-webkit-outer-spin-button {
  opacity: 1;
}

.crew-year-suffix { font-size: 11.5px; color: #aaaaaa; width: 24px; }

.crew-consent-wrap {
  margin-top: 8px;
  margin-bottom: 6px;
}

.crew-recaptcha-field {
  margin-top: 8px;
}

.crew-recaptcha-slot {
  min-height: 78px;
  display: flex;
  align-items: center;
}

.crew-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #1f2937;
  line-height: 1.5;
}

.crew-consent-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #111111;
  flex: 0 0 auto;
}

.crew-consent-link {
  color: #0a66c2;
  margin-right: 4px;
}

.crew-validation-error {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #e53e3e;
}

.crew-submit-btn {
  width: 100%;
  margin-top: 12px;
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.crew-success {
  width: 100%;
  margin-top: 8px;
  background: #f0fdf4;
  border: 1px solid #c3e8cc;
  color: #1a7a3e;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

#blazor-error-ui {
  color-scheme: light only;
  background: #fff1f2;
  border-top: 1px solid #fecdd3;
  bottom: 0;
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 12px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 12px; top: 8px; }

@media (max-width: 1024px) {
  .rh-listings-inner { flex-direction: column; }
  .rh-right-sidebar { width: 100%; position: static; }
  .crew-layout { grid-template-columns: 1fr; gap: 32px; }
  .crew-right { position: static; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .crew-page-wrap { padding: 40px 4% 60px; }
  .crew-title { font-size: 26px; }
  .crew-ov-rows { gap: 10px; }
  .crew-share-modal { width: 420px; }
}

@media (max-width: 768px) {
  .navbar-container { padding: 0 20px; }
  .hero { padding: 48px 16px 56px; }
  .hero-headline { font-size: 36px; letter-spacing: -2px; }
  .hero-sub { white-space: normal; font-size: 14px; }
  .hero-bar { flex-wrap: wrap; padding: 10px; gap: 8px; }
  .hero-bar-sep { display: none; }
  .hero-bar-btn { width: 100%; justify-content: center; margin-left: 0; }
  .rh-filterbar { flex-direction: column; align-items: stretch; }
  .rh-job-card { flex-direction: column; align-items: flex-start; }
  .rh-apply-btn { width: 100%; }
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    position: absolute;
    top: 56px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
  }
  .hamburger { display: inline-block; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .crew-form-grid2 { grid-template-columns: 1fr; }
  .crew-scroll-header {
    top: 0;
    padding: 8px 20px;
  }
}

/* Share Modal (FDS §5g) */
.crew-share-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 900;
}
.crew-share-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  width: 460px;
  max-width: calc(100% - 32px);
  z-index: 910;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.crew-share-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.crew-share-title { font-size: 18px; font-weight: 700; margin: 0; color: #111827; }
.crew-share-close {
  width: 28px; height: 28px; border: none; background: #f3f4f6;
  border-radius: 50%; font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.crew-share-close:hover { background: #e5e7eb; }
.crew-share-url-row {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.crew-share-url {
  flex: 1; background: #f9fafb; border: 1px solid #e5e7eb; cursor: default;
}
.crew-share-copy {
  padding: 8px 14px; border: 1px solid #d1d5db; border-radius: 8px;
  background: #fff; font-weight: 600; font-size: 13px; cursor: pointer;
  white-space: nowrap; transition: all 0.15s;
}
.crew-share-copy:hover { background: #f3f4f6; }
.crew-share-copied { color: #16a34a; border-color: #16a34a; }
.crew-share-social {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.crew-share-social-btn {
  padding: 10px 0; border: none; border-radius: 8px; color: #fff;
  font-weight: 600; font-size: 13px; cursor: pointer; transition: opacity 0.15s;
}
.crew-share-social-btn:hover { opacity: 0.88; }
.crew-sh-linkedin { background: #0077b5; }
.crew-sh-facebook { background: #1877f2; }
.crew-sh-x { background: #000000; }
.crew-sh-whatsapp { background: #25d366; }

@media (max-width: 768px) {
  .crew-share-modal { width: auto; left: 16px; right: 16px; transform: translate(0, -50%); }
  .crew-share-social { grid-template-columns: 1fr; }
}
