#vacancy-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
}

#vacancy-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

#vacancy-hero h2 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.95;
}

.job-grid {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #212529;
}

.section-title p {
  font-size: 1.1rem;
  color: #6c757d;
}

.job-card-wrapper {
  margin-bottom: 30px;
}

.job-card {
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
  transform: translateY(-5px);
}

.job-card.active {
  border-color: #667eea;
  background-color: #f8f9ff;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.job-card-header {
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-grow: 1;
}

.job-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.job-header-info {
  flex-grow: 1;
}

.job-card h3 {
  margin: 0 0 8px 0;
  color: #212529;
  font-size: 1.4rem;
  font-weight: 700;
}

.job-position {
  color: #667eea;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #6c757d;
}

.job-meta-item i {
  color: #667eea;
  font-size: 1rem;
}

.job-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.5rem;
  color: #667eea;
  transition: transform 0.3s ease;
  margin-top: auto;
  cursor: pointer;
  padding: 10px 30px;
}

.job-card.active .job-toggle {
  transform: rotate(180deg);
}

.job-details {
  display: none;
  padding: 0 30px 30px;
  border-top: 2px solid #e8e8e8;
}

.job-details.show {
  display: block;
  animation: slideDown 0.3s ease;
}

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

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

.detail-section:first-child {
  margin-top: 0;
}

.detail-section h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section h5 i {
  color: #667eea;
  font-size: 1.3rem;
}

.detail-section p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.detail-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-section li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
}

.detail-section li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.2rem;
}

.comparison-table {
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
}

.comparison-table thead {
  background: #667eea;
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #f8f9ff;
}

.comparison-table tbody tr:hover {
  background-color: #f0f1ff;
}

.job-apply-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f1ff 100%);
  border-left: 4px solid #667eea;
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
}

.job-apply-section h5 {
  color: #667eea;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-apply-section h5 i {
  font-size: 1.3rem;
}

.apply-instructions {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.apply-instructions p {
  margin: 0 0 10px 0;
  color: #555;
  line-height: 1.6;
}

.apply-email {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin: 10px 0;
  transition: all 0.3s ease;
}

.apply-email:hover {
  background: #764ba2;
  color: white;
  text-decoration: none;
  transform: translateX(5px);
}

.apply-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.apply-checklist li {
  font-size: 0.95rem;
  color: #555;
}

.who-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.who-section h5 {
  color: #212529;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.no-jobs {
  text-align: center;
  padding: 80px 40px;
  background: #f8f9fa;
  border-radius: 12px;
}

.no-jobs h4 {
  color: #212529;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.no-jobs p {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.no-jobs a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.no-jobs a:hover {
  text-decoration: underline;
}

.job-text {
  text-align: justify;
}


@media (max-width: 768px) {
  #vacancy-hero h1 {
    font-size: 2rem;
  }

  #vacancy-hero h2 {
    font-size: 1.2rem;
  }

  .job-card-header {
    flex-direction: column;
  }

  .job-icon {
    width: 60px;
    height: 60px;
  }

  .job-meta {
    gap: 10px;
  }

  .apply-checklist {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@keyframes blink-pulse {
  0%,
  100% {
    color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
  }
  50% {
    color: #ffd700;
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.7);
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

.vacancy-link-blink {
  animation: blink-pulse 1.2s ease-in-out infinite !important;
  font-weight: 700 !important;
  position: relative;
}

.vacancy-hiring-badge {
  display: inline-block;
  background: #ff4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
  line-height: 1.2;
  animation: badge-pulse 1.2s ease-in-out infinite;
  vertical-align: super;
}
