/* Job Cards Styling */
.job-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: #20bab7;
  box-shadow: 0 8px 20px rgba(32, 186, 183, 0.2);
}

.job-card-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.job-department {
  display: inline-block;
  background: #20bab7;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.job-card-body {
  flex: 1;
  margin-bottom: 1rem;
}

.job-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

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

.job-salary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.job-salary i {
  color: #28a745;
}

.job-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
}

.btn-apply {
  background: #20bab7;
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  flex: 1;
}

.btn-apply:hover {
  background: #1aa8a4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 186, 183, 0.3);
}

.btn-view {
  background: #fff;
  color: #20bab7;
  border: 2px solid #20bab7;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  flex: 1;
}

.btn-view:hover {
  background: #20bab7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 186, 183, 0.3);
}

.job-card-footer small {
  font-size: 0.8rem;
  text-align: center;
}

/* Modal Styling */
.modal-header {
  background: linear-gradient(135deg, #20bab7, #0077b7);
  color: #fff;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-title {
  font-weight: 700;
  font-size: 1.3rem;
}

#modal-job-title {
  color: #fff;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .job-card {
    padding: 1.25rem;
  }

  .job-title {
    font-size: 1.1rem;
  }

  .job-meta {
    font-size: 0.85rem;
  }

  .job-card-footer {
    flex-direction: column;
    gap: 0.75rem;
    /* align-items: flex-start; */
  }

  .btn-apply {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .job-card {
    padding: 1rem;
  }

  .job-title {
    font-size: 1rem;
  }

  .job-department {
    font-size: 0.75rem;
  }
}

/* Pagination Styling */
.pagination {
  margin-top: 2rem;
}

.pagination .page-link {
  color: #20bab7;
  border-color: #20bab7;
  font-weight: 600;
}

.pagination .page-link:hover {
  background-color: #20bab7;
  color: #fff;
  border-color: #20bab7;
}

.pagination .page-item.active .page-link {
  background-color: #20bab7;
  border-color: #20bab7;
}

/* No jobs message */
.no-jobs-message {
  font-size: 1.2rem;
  color: #666;
  padding: 3rem 0;
}

/* Job Details Modal Styling */
.job-details-full h2 {
  color: #20bab7;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  border-bottom: 3px solid #20bab7;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.job-details-full h4 {
  color: #333;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
}

.job-details-full strong {
  color: #20bab7;
  font-weight: 600;
}

.job-details-full p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.job-description-content,
.job-responsibilities-content,
.job-requirements-content,
.job-benefits-content {
  color: #555;
  line-height: 1.8;
}

.job-description-content ul,
.job-responsibilities-content ul,
.job-requirements-content ul,
.job-benefits-content ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.job-description-content li,
.job-responsibilities-content li,
.job-requirements-content li,
.job-benefits-content li {
  margin-bottom: 0.5rem;
}

.modal-footer .btn-primary-custom {
  background: #20bab7;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-footer .btn-primary-custom:hover {
  background: #1aa8a4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 186, 183, 0.3);
}

