.recruitment-table {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 92, 167, 0.1);
  overflow: visible;
}

.job-table {
  width: 100%;
  border-collapse: collapse;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
}

.job-table thead {
  display: table-header-group;
}

.job-table thead tr {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
}

.job-table thead th:first-child {
  border-top-left-radius: 12px;
}

.job-table thead th:last-child {
  border-top-right-radius: 12px;
}

.job-table thead {
  background: #005ca7;
}

.job-table th {
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border-bottom: 2px solid #004a8a;
}

.job-table tbody tr {
  position: relative;
  border-bottom: 1px solid #e8ecf4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.job-table tbody tr:hover {
  background: #f8fbff;
}

.job-table tbody tr.active {
  background: #e8f4fd;
}

.job-table td {
  padding: 14px 12px;
  font-size: 14px;
  color: #333;
}

.job-table td:first-child {
  font-weight: 600;
  color: #005ca7;
}

.job-table tbody tr::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #005ca7;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.job-table tbody tr.active::after {
  content: "-";
}

.job-details-row {
  background: #f8fbff;
}

.job-details-row td {
  padding: 0;
  border: none;
}

.job-details {
  background: #f8fbff;
  border-top: 2px solid #005ca7;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.details-content {
  padding: 25px;
}

.detail-section {
  margin-bottom: 25px;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-title {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
  color: #005ca7;
  border-bottom: 2px solid #005ca7;
  padding-bottom: 8px;
}

.detail-item {
  display: flex;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #e8ecf4;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  min-width: 100px;
  font-size: 13px;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.detail-value p {
  margin: 0 0 8px 0;
  line-height: 1.8;
}

.detail-value p:last-child {
  margin-bottom: 0;
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
}

.process-step {
  background: #005ca7;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.process-arrow {
  color: #005ca7;
  font-size: 18px;
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid #005ca7;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #f0f8ff;
  transform: translateX(5px);
}

.contact-item.full-width {
  grid-column: 1 / -1;
  background: #fff3cd;
  border-left-color: #ffc107;
}

.contact-label {
  font-size: 12px;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: #005ca7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #0078d4;
  text-decoration: underline;
}

.detail-footer {
  background: linear-gradient(135deg, #005ca7 0%, #0078d4 100%);
  padding: 15px 25px;
  text-align: center;
  margin-top: 20px;
  border-radius: 8px;
}

.slogan {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 2px dashed #005ca7;
}

.upload-resume-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #005ca7 0%, #0078d4 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 92, 167, 0.3);
}

.upload-resume-btn:hover {
  background: linear-gradient(135deg, #0078d4 0%, #005ca7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 92, 167, 0.4);
}

.upload-resume-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 92, 167, 0.3);
}

.upload-icon {
  font-size: 20px;
}

.upload-text {
  font-size: 15px;
}

.upload-hint {
  margin: 0;
  font-size: 12px;
  color: #666;
  text-align: center;
}

@media (max-width: 768px) {
  .recruitment-table {
    margin: 20px auto;
    border-radius: 10px;
  }

  .job-table th,
  .job-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .job-table th {
    font-size: 14px;
  }

  .details-content {
    padding: 20px;
  }

  .detail-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .detail-item {
    gap: 12px;
    padding: 10px 0;
  }

  .detail-label {
    min-width: 80px;
    font-size: 12px;
  }

  .detail-value {
    font-size: 13px;
  }

  .process-flow {
    gap: 8px;
  }

  .process-step {
    padding: 6px 12px;
    font-size: 12px;
  }

  .process-arrow {
    font-size: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-item {
    padding: 10px;
  }

  .detail-footer {
    padding: 12px 20px;
  }

  .slogan {
    font-size: 14px;
  }

  .upload-section {
    padding: 15px;
  }

  .upload-resume-btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .upload-icon {
    font-size: 18px;
  }

  .upload-text {
    font-size: 14px;
  }

  .upload-hint {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .recruitment-table {
    margin: 15px auto;
    border-radius: 8px;
  }

  .job-table {
    font-size: 12px;
  }

  .job-table th,
  .job-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .job-table th {
    font-size: 13px;
    padding: 10px 8px;
  }

  .details-content {
    padding: 15px;
  }

  .detail-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .detail-item {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }

  .detail-label {
    min-width: auto;
    font-size: 11px;
  }

  .detail-value {
    font-size: 12px;
  }

  .detail-value p {
    font-size: 12px;
    line-height: 1.7;
  }

  .process-flow {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .process-step {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
  }

  .process-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .contact-item {
    padding: 8px;
  }

  .contact-label {
    font-size: 11px;
  }

  .contact-value {
    font-size: 12px;
  }

  .detail-footer {
    padding: 10px 15px;
  }

  .slogan {
    font-size: 13px;
  }
}
