html {
  font-size: 14px !important;
}

/* Ensure the icon does not block clicks on the select element */
.position-relative .fa-chevron-down {
  pointer-events: none;
}
body{
  background-color: #e3e0cf !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}
.sign-up-card {
  background: hsl(0, 0%, 97%) -webkit-gradient(linear, left top, left bottom, from(hsl(0, 0%, 94%)), to(hsl(0, 0%, 99%)));
  color: hsl(0, 0%, 33%);
}

 /* Custom styles for the loading spinner */
.spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(136, 128, 128, 0.8);
  z-index: 1050;
  display: none;
}
.valid { 
  color: green; 
}
.invalid { 
  color: red; 
}
.datepicker {
  cursor: pointer;
}
/* Base nav links */
.navbar .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Hover */
.navbar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.08);
}

/* Active */
.navbar .nav-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.12);
}

/* Dropdown items */
.dropdown-item {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.08);
}

/* Badges refinement */
.badge {
    font-size: 11px;
    padding: 5px 8px;
}

/* Navbar shadow polish */
.navbar {
    border-bottom: 1px solid #e9ecef;
}

/* Breadcrumb icon */
.breadcrumb-item + .breadcrumb-item::before {
  content: "\f101";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding: 0 0.5rem;
}

/* Active sidebar/link */
.active-link {
  font-weight: bold;
  border-left: 4px solid #28a745;
}

/* "New" badge/icon */
.new-icon::before {
  content: "new";
  font-weight: bold;
  color: red;
  font-size: medium;
}

.vacancies-container {
  background-color: #2C7D82;
  padding: 1rem;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: white;
}
.vacancies-container .mb-3.d-flex.align-items-center {
  display: flex;
  align-items: center;
}

.vacancies-container .mb-3.d-flex.align-items-center .form-control.search-input {
  flex: 1;
  max-width: 70%;
}

.vacancies-container .d-flex.flex-wrap .form-select {
  flex: 1;
  min-width: 120px;
}

.vacancies-container .d-flex.flex-wrap .form-select:not(:last-child) {
  margin-right: 5px;
}

.vacancies-container .d-flex.flex-wrap {
  gap: 5px;
  flex-wrap: wrap;
}

/* Header title */
.text-primary-custom {
    color: #115363 !important;
}

/* Department bar */
.bg-primary-custom {
    background-color: #00a1a3 !important;
}

@media (max-width: 768px) {
    h5 {
       font-size: 16px;
    }

    .alert {
        width: 100%;
        text-align: center;
    }
    .navbar-nav {
        padding-top: 10px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
    }

    /* Your vacancies container tweaks */
    .vacancies-container .mb-3.d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch;
    }

    .vacancies-container .search-input {
        max-width: 100%;
        margin-top: 5px;
    }

    .vacancies-container .d-flex.flex-wrap {
        flex-direction: column;
    }

    .vacancies-container .form-select {
        margin-bottom: 5px;
    }
}

.active-link {
  font-weight: bold;
  border-left: 4px solid #28a745;
}

.new-icon::before {
  content: "new";
  font-family: "Font Awesome 5 Free"; /* Ensure using the correct Font Awesome version */
  font-weight: bold; /* Adjust weight if needed */
  color: red;
  font-size: medium;
}
ol {
  list-style-type: decimal; /* Ensure the list-style is set to decimal */
}
ol.alpha-list {
  list-style-type: lower-alpha; /* Use lower-alpha for a, b, c, ... */
}
.pdf-icon-red {
  color: red;
}
.shadow-custom {
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.1);
}

.btn:active {
  /* Background color when the button is active */
  background-color: #052d58; /* Customize this color */
  color: #fff; /* Text color when active */
  border-color: #052d58; /* Optionally customize the border color */
}

.btn:focus {
  /* Background color when the button is focused */
  background-color: #052d58; /* Match or customize this color */
  color: #fff; /* Text color when focused */
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); /* Optional focus outline */
}
#form { 
  text-align: center; 
  position: relative; 
  margin-top: 20px;
} 

#form fieldset { 
  background: white; 
  border: 0 none; 
  border-radius: 0.5rem; 
  box-sizing: border-box; 
  width: 100%; 
  margin: 0; 
  padding-bottom: 20px; 
  position: relative;
} 

.finish { 
  text-align: center;
} 

#form fieldset:not(:first-of-type) { 
  display: none;
} 

.text { 
  color: #2F8D46; 
  font-weight: normal;
} 

.department-bar {
    position: relative;
    overflow: visible;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.department-bar::before,
.department-bar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 18px;
    height: 100%;
    background: inherit;
}

.department-bar::before {
    left: -9px;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.department-bar::after {
    right: -9px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

#progressbar {
  overflow: hidden;
  color: lightgrey;
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
  width: 100%;
  counter-reset: step;
}

#progressbar li {
  list-style-type: none;
  font-size: 15px;
  width: 25%;
  text-align: center;
  font-weight: 400;
  position: relative;
  counter-increment: step;
}

/* Step Circles */
/* Step Circles */
#progressbar li:before {
  content: attr(data-step); /* Dynamic content */
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  position: relative;
  z-index: 2;
}

/* Completed Steps - White tick in colored circle */
#progressbar li.completed:before {
  background: green; /* Change circle color for completed steps */
  color: #fff; /* White tick */
  font-weight: bold;
}

/* Connecting Lines */
#progressbar li:after {
  content: "";
  width: 100%;
  height: 3px;
  background: lightgray;
  position: absolute;
  top: 13px; /* Centers the line between circles */
  left: -50%;
  z-index: 1;
}

/* Remove Line Before First Step */
#progressbar li:first-child:after {
  content: none;
}

/* Active Step Styling */
#progressbar li.active:before {
  background: #2F8D46;
}

#progressbar li.active:after {
  background: #2F8D46;
}

/* Bold and black only active and previous steps */
#progressbar li.active strong,
#progressbar li.completed strong {
    font-weight: bold;
    color: black;
}

/* ============================
   TWO-STEP PROGRESS BAR
   ============================ */
#progressbar-two {
  overflow: hidden;
  color: lightgrey;
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
  width: 100%;
  counter-reset: step;
}

/* Step list items */
#progressbar-two li {
  list-style-type: none;
  font-size: 15px;
  width: 50%; /* Two equal halves */
  text-align: center;
  font-weight: 400;
  position: relative;
  counter-increment: step;
}

/* Step Circles */
#progressbar-two li:before {
  content: attr(data-step); /* Dynamic number (1, 2, etc.) */
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  position: relative;
  z-index: 2;
}

/* Connecting Lines */
#progressbar-two li:after {
  content: "";
  width: 100%;
  height: 3px;
  background: lightgray;
  position: absolute;
  top: 14px;
  left: -50%;
  z-index: 1;
}

/* Remove line before first step */
#progressbar-two li:first-child:after {
  content: none;
}

/* Active Step */
#progressbar-two li.active:before {
  background: #2F8D46;
}

#progressbar-two li.active:after {
  background: #2F8D46;
}

/* Completed Step */
#progressbar-two li.completed:before {
  background: green;
  color: #fff;
  font-weight: bold;
}

/* Bold and black for active/completed labels */
#progressbar-two li.active strong,
#progressbar-two li.completed strong {
  font-weight: bold;
  color: black;
}


