/* Job Details Page Styling */

/* General section spacing */
section {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Card box */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Headings inside card */
.card h1 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ff7b00;
}

.card h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: #ff7b00;
  border-left: 4px solid #0ea5e9;
  padding-left: 8px;
}

/* Paragraphs */
.card p {
  font-size: 15px;
  margin: 5px 0;
  color: #444;
}

/* Small muted text */
.small {
  color: #6b7280;
  font-size: 14px;
  font-style: italic;
}

/* Lists for qualifications */
.card ul {
  list-style: disc inside;
  margin: 5px 0 10px 0;
  padding-left: 18px;
}

.card ul li {
  margin-bottom: 6px;
}

/* Buttons */
button,
.btn {
  display: inline-block;
  background: #0ea5e9;
  color: #fff;
  padding: 10px 16px;
  margin: 6px 4px 0 0;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s;
}

button:hover,
.btn:hover {
  background: #0284c7;
}

.btn.green {
  background: #16a34a;
}
.btn.green:hover {
  background: #15803d;
}

.btn.red {
  background: #dc2626;
}
.btn.red:hover {
  background: #b91c1c;
}

/* Divider */
.card hr {
  margin: 25px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* Back link */
a.btn {
  margin-top: 20px;
}

/* Status texts */
.card p.status {
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
}

.card p.status.pending { background: #fef9c3; color: #92400e; }
.card p.status.verified { background: #e0f2fe; color: #075985; }
.card p.status.approved { background: #dcfce7; color: #166534; }

/* Responsive */
@media (max-width: 640px) {
  section {
    padding: 12px;
  }
  .card {
    padding: 16px;
  }
  .card h1 {
    font-size: 20px;
  }
  .card h3 {
    font-size: 16px;
  }
  button, .btn {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
}

.vacancy_img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
  filter: brightness(1.05);
}

.vacancy_img.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
}

@media (max-width: 768px) {
  .vacancy_img {
    max-height: 200px;
    border-radius: 8px;
  }
}




