#jobs-window {
  width: clamp(320px, 45vw, 560px);
}

@media (min-width: 769px) and (max-width: 1024px) {
  #jobs-window {
    width: clamp(450px, 55vw, 650px);
  }

  .job-requirement {
    padding: 0.9rem 1rem;
  }

  .job-requirement-header {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  #jobs-window {
    width: 100vw !important;
    height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    top: env(safe-area-inset-top, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: env(safe-area-inset-bottom, 0px) !important;
    transform: none;
    border-width: 0;
    border-top-width: 4px;
    border-bottom-width: 4px;
  }

  .job-requirement {
    padding: 0.9rem 1rem;
  }

  .job-requirement-header {
    font-size: 0.7rem;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  #jobs-apply-btn {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .job-requirement {
    padding: 0.8rem 0.9rem;
  }

  .job-requirement-header {
    font-size: 0.65rem;
  }
}

.jobs-requirements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.job-requirement {
  border: 4px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 22, 41, 0.85);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.job-requirement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
}

#jobs-apply-btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}