* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
  line-height: 1.6;
  color: #2d3748;
}

.careers-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 100vh;
  gap: 40px;
}

/* Job List Sidebar */
.job-list {
  width: 350px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 120px;
}

.job-list h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.job-list ul {
  list-style: none;
  padding: 0;
}

.job-list li {
  padding: 16px 18px;
  margin-bottom: 8px;
  border-radius: 10px;
  cursor: pointer;
  background: #f7fafc;
  border: 2px solid transparent;
  font-size: 16px;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.2s ease;
}

.job-list li:hover {
  background: #edf2f7;
  border-color: #e2e8f0;
  transform: translateX(4px);
}

.job-list li.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Job Details Section */
.job-details {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  max-width: 900px;
}

.job-details h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  line-height: 1.3;
}

.job-details p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
}

.job-id {
  display: inline-block;
  background: #edf2f7;
  color: #667eea;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  /* margin-bottom: 32px; */
}

.job-details h3 {
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.job-details h3:first-of-type {
  margin-top: 24px;
}

.requirements {
  margin-top: 20px;
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements ul li {
  padding: 0px 0 12px 32px;
  position: relative;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
}

.requirements ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 30px;
  height: 30px;
  background: none;
  color: #444242;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-weight: bold; */
  font-size: 30px;
}

/* Apply Button */
.apply-btn {
  margin-top: 30px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.apply-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .careers-container {
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .job-list {
    width: 300px;
  }

  .job-details {
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .careers-container {
    flex-direction: column;
    padding-top: 80px;
    gap: 20px;
  }

  .job-list {
    width: 100%;
    position: static;
  }

  .job-list h3 {
    font-size: 18px;
  }

  .job-list li {
    padding: 14px 16px;
  }

  .job-details {
    padding: 28px;
  }

  .job-details h2 {
    font-size: 26px;
  }

  .job-details h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .careers-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .job-details {
    padding: 24px;
  }

  .job-details h2 {
    font-size: 24px;
  }

  .apply-btn {
    width: 100%;
    padding: 16px;
  }
}
