/* ============================================
   JOB DETAIL PAGE
   ============================================ */
.job-detail {
  padding: 8rem 0 4rem;
  min-height: 80vh;
}

.job-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #818cf8;
  transition: color 0.2s ease;
  margin-bottom: 2rem;
}

.job-back:hover {
  color: #a5b4fc;
}

.job-detail-header {
  margin-bottom: 3rem;
}

.job-detail-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.job-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.job-detail-meta .job-type {
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.job-detail-meta .job-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.job-detail-meta .job-location svg {
  color: #818cf8;
}

.job-detail-content {
  max-width: 780px;
}

.job-section {
  margin-bottom: 2.5rem;
}

.job-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.job-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.job-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.job-section ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.job-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
}

.job-apply-section {
  margin-top: 3rem;
  padding: 2.5rem;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 16px;
}

.job-apply-section p {
  margin-bottom: 1.5rem;
}

.job-apply-section a:not(.btn) {
  color: #818cf8;
  font-weight: 500;
  transition: color 0.2s ease;
}

.job-apply-section a:not(.btn):hover {
  color: #a5b4fc;
}

/* ============================================
   APPLICATION FORM
   ============================================ */
.job-apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

.job-apply-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.job-apply-form .form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-apply-form .form-group input,
.job-apply-form .form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.job-apply-form .form-group input::placeholder,
.job-apply-form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.job-apply-form .form-group input:focus,
.job-apply-form .form-group textarea:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.job-apply-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.job-apply-form .form-group input[type="file"] {
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.job-apply-form .form-group input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  color: #a5b4fc;
  padding: 0.4rem 1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: all 0.2s ease;
}

.job-apply-form .form-group input[type="file"]::file-selector-button:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.25));
  border-color: rgba(99, 102, 241, 0.5);
}

.job-apply-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .job-detail {
    padding: 6rem 0 3rem;
  }

  .job-detail-header h1 {
    font-size: 1.75rem;
  }

  .job-apply-section {
    padding: 1.5rem;
  }

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