/* Job Apply Page Specific Styles */

/* Hero Section */
.job-apply-hero-section {
  background: linear-gradient(135deg, #050709 0%, #0a0f18 100%);
  padding: 60px 0;
  color: #f6f3fc;
}

.job-apply-hero-section h1 {
  color: #f6f3fc;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.job-apply-hero-section .lead {
  color: #b0a8c0;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Position Info Section */
.job-position-info-section {
  padding: 60px 0;
  background: #050709;
}

.position-header {
  background: #0f1419;
  border: 1px solid rgba(200, 216, 46, 0.1);
  border-radius: 12px;
  padding: 40px;
}

.position-header h2 {
  color: #f6f3fc;
}

.position-meta {
  border-bottom: 1px solid rgba(200, 216, 46, 0.1);
  padding-bottom: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  color: #8a7f99;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.meta-value {
  color: #c8d82e;
  font-weight: 600;
}

/* Form Section */
.job-form-section {
  padding: 80px 0;
  background: #0f1419;
}

.form-container {
  background: #050709;
  border: 1px solid rgba(200, 216, 46, 0.1);
  border-radius: 12px;
  padding: 50px;
}

.form-container h3 {
  color: #f6f3fc;
  margin-bottom: 30px;
}

/* Form Fieldset */
.form-fieldset {
  margin-bottom: 40px;
  border: none;
  padding: 0;
}

.form-fieldset:not(:last-of-type) {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(200, 216, 46, 0.1);
}

.form-section-title {
  color: #f6f3fc;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: block;
  color: #c8d82e;
}

/* Form Controls */
.form-control {
  background: #0f1419;
  border: 1px solid rgba(200, 216, 46, 0.2);
  color: #f6f3fc;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: #0f1419;
  border-color: #c8d82e;
  color: #f6f3fc;
  box-shadow: 0 0 0 0.2rem rgba(200, 216, 46, 0.25);
}

.form-control::placeholder {
  color: #8a7f99;
}

.form-label {
  color: #f6f3fc;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-label::after {
  content: attr(data-required);
  color: #c8d82e;
}

/* Form Group */
.form-group {
  margin-bottom: 25px;
}

.form-group small {
  color: #8a7f99;
  display: block;
  margin-top: 8px;
}

/* Checkboxes and Radio Buttons */
.form-check {
  margin-bottom: 15px;
}

.form-check-input {
  width: 1.25em;
  height: 1.25em;
  margin-top: 0.3em;
  border: 1px solid rgba(200, 216, 46, 0.3);
  background: transparent;
  cursor: pointer;
}

.form-check-input:checked {
  background: #c8d82e;
  border-color: #c8d82e;
}

.form-check-input:focus {
  border-color: #c8d82e;
  box-shadow: 0 0 0 0.2rem rgba(200, 216, 46, 0.25);
}

.form-check-label {
  color: #f6f3fc;
  margin-left: 10px;
  cursor: pointer;
}

.checkbox-group {
  padding: 15px;
  background: #0f1419;
  border: 1px solid rgba(200, 216, 46, 0.1);
  border-radius: 8px;
  margin-bottom: 0;
}

.checkbox-group .form-check-label {
  margin-bottom: 0;
}

/* Skills Checkboxes */
.skills-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(200, 216, 46, 0.1);
}

.form-actions .btn {
  min-width: 150px;
}

/* Buttons */
.btn-custom-primary {
  background: #c8d82e;
  color: #050709;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-custom-primary:hover {
  background: #d4e356;
  color: #050709;
  box-shadow: 0 10px 30px rgba(200, 216, 46, 0.3);
}

.btn-outline-secondary {
  border: 2px solid rgba(200, 216, 46, 0.2);
  color: #b0a8c0;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background: rgba(200, 216, 46, 0.1);
  border-color: #c8d82e;
  color: #f6f3fc;
}

/* FAQ Section */
.job-faq-section {
  padding: 80px 0;
  background: #050709;
}

.job-faq-section h2 {
  color: #f6f3fc;
}

.accordion-item {
  background: #0f1419;
  border: 1px solid rgba(200, 216, 46, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
}

.accordion-button {
  background: #0f1419;
  color: #f6f3fc;
  font-weight: 500;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(200, 216, 46, 0.1);
  color: #c8d82e;
}

.accordion-button:focus {
  border-color: #c8d82e;
  box-shadow: 0 0 0 0.25rem rgba(200, 216, 46, 0.25);
}

.accordion-body {
  background: #050709;
  color: #b0a8c0;
  border-top: 1px solid rgba(200, 216, 46, 0.1);
  padding: 20px;
}

/* Benefits Section */
.job-benefits-section {
  padding: 80px 0;
  background: #0f1419;
}

.job-benefits-section h2 {
  color: #f6f3fc;
}

.benefit-card {
  background: #050709;
  border: 1px solid rgba(200, 216, 46, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: #c8d82e;
  box-shadow: 0 10px 40px rgba(200, 216, 46, 0.15);
  transform: translateY(-5px);
}

.benefit-icon {
  margin-bottom: 15px;
}

.benefit-card h5 {
  color: #f6f3fc;
}

.benefit-card p {
  color: #8a7f99;
}

/* Responsive Design */
@media (max-width: 768px) {
  .job-apply-hero-section {
    padding: 40px 0;
  }

  .job-apply-hero-section .display-4 {
    font-size: 2rem;
  }

  .job-position-info-section,
  .job-form-section,
  .job-faq-section,
  .job-benefits-section {
    padding: 50px 0;
  }

  .form-container {
    padding: 30px;
  }

  .position-meta {
    flex-direction: column;
    gap: 15px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .skills-checkboxes {
    grid-template-columns: 1fr;
  }
}
