/* -------------------------------
   Career Page Styles - Professional & Modern
--------------------------------*/

.job-listings,
.apply-form {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

/* Job Cards - Professional Design */
.job {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.job:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: #d1d5db;
}

.job-title {
  color: #111827;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.job-location {
  font-weight: 400;
  font-size: 1rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

.job-summary {
  font-size: 1.0625rem;
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.job-summary p {
  margin-bottom: 1rem;
}

.job-summary p:last-of-type {
  margin-bottom: 1.5rem;
}

.job-summary strong {
  color: #111827;
  font-weight: 600;
}

.job-summary em {
  color: #4b5563;
  font-style: italic;
}

.job-details {
  font-size: 1rem;
  color: #374151;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  line-height: 1.7;
}

.job-details h4 {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.job-details h4:first-child {
  margin-top: 0;
}

.job-details h5 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}

.job-details ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
  list-style-type: disc;
}

.job-details li {
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.job-details p {
  margin-bottom: 0.75rem;
  color: #4b5563;
}

.read-more-btn {
  background-color: #ffffff;
  color: #2563eb;
  border: 1px solid #2563eb;
  padding: 0.625rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-btn:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.arrow {
  font-size: 1.125rem;
  font-weight: 300;
  transition: transform 0.2s ease;
  display: inline-block;
}

.read-more-btn:hover .arrow {
  transform: translateX(2px);
}

/* Apply Button - Professional Style */
.apply-now-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #111827;
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #111827;
  letter-spacing: 0.01em;
}

.apply-now-btn:hover {
  background-color: #1f2937;
  border-color: #1f2937;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* -----------------------------------
   Apply Form - Professional Design
----------------------------------- */

.apply-form {
  background: #ffffff;
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin-top: 4rem;
}

.apply-form h2 {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.apply-form p {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .apply-form {
    padding: 2rem 1.5rem;
  }
  
  .job {
    padding: 2rem 1.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9375rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: #111827;
  font-family: inherit;
}

input:focus,
select:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input[type="file"] {
  padding: 0.625rem;
  cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #e5e7eb;
}

button[type="submit"] {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #111827;
  color: #ffffff;
  border: 1px solid #111827;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

button[type="submit"]:hover {
  background-color: #1f2937;
  border-color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Utility */
.required {
  color: #dc2626;
  font-weight: 600;
  margin-left: 0.25rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .job-title {
    font-size: 1.5rem;
  }
  
  .apply-form h2 {
    font-size: 1.75rem;
  }
}
