:root {
  --roa-primary: #0b5a7b;
}

body {
  background-color: #f5f7f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero-section {
  background-image: url('../images/notice board/vacancy.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Vacancy Table Styles */
.vacancy-table {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
  max-width: 72%;
  margin-left: auto;
  margin-right: auto;
}

/* Add border to tables */
.vacancy-bordered {
  border: 2px solid #0b5a7b; /* table border width & color */
}

.vacancy-bordered th,
.vacancy-bordered td {
  border: 1px solid #f3ffff; /* cell borders */
}

/* Header cells */
.vacancy-table thead th {
  background: linear-gradient(to right, rgb(129, 128, 128), rgb(129, 128, 128));
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 5px;  /* reduced padding */
  vertical-align: middle !important;
}

/* Body cells */
.vacancy-table tbody td {
  background: linear-gradient(to right, #f2f2f2, #ffffff);
  color: #000;
  text-align: center;
  padding: 0px; /* reduced padding */
  vertical-align: middle;
}

/* Left-align Designation column */
.text-left-col {
  text-align: left !important;
  padding-left: 15px !important;
}

/* Document Button */
td a.btn {
  font-size: 1rem;
  padding: 3px 6px;
}

td span.text-muted {
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .vacancy-table {
    max-width: 95%;
  }
}
