/* common blue */
/* commonbanner */
#career,
#career-details{
  min-height: 100vh;
}
#common-blue-banner .our-story-section {
  background-color: #23559b;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

#common-blue-banner .title {
  color: white;
  font-size: 32px;
  font-weight: 600;
  flex: 1;
  text-align: left;
  letter-spacing: -0.02em;
}

#common-blue-banner .logo-container .logo-icon img {
  background-color: #d0bb68;
  border-radius: 15px;
  padding: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
  .mobile-search img {
    width: 8% !important;
  }

  #common-blue-banner .our-story-section {
    padding: 20px 24px;
    gap: 16px;
  }

  #common-blue-banner .title {
    font-size: 28px;
  }

  /* details */
  #career-details-inner .job-card {
    padding: 20px;
  }

  #career-details-inner h2 {
    font-size: 20px;
  }

  #career-details-inner .job-meta {
    flex-direction: column;
    gap: 10px;
  }

  #career-details-inner .apply-btn {
    width: 100%;
    text-align: center;
  }

  #career-details-inner .job-meta>div {
    flex: auto !important;
  }

  #career-details-inner .apply-btn {
    text-align: center;
    width: 32%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .form-row {
    flex-wrap: wrap;
  }

  #career-modal .modal-content {
    width: 100% !important;
    height: 550px;
    overflow-y: auto;
  }
  /* details */
}

@media (max-width: 480px) {
  #common-blue-banner .our-story-section {
    padding: 16px 20px;
    gap: 12px;
  }

  #common-blue-banner .title {
    font-size: 24px;
  }

  /* .details */
  #career-details-inner {
    padding: 10px;
  }

  #career-details-inner .job-card {
    padding: 16px;
  }

  #career-details-inner h3 {
    font-size: 16px;
  }

  #career-details-inner p,
  #career-details-inner ul {
    font-size: 14px;
  }

  #career-details-inner .apply-btn {
    font-size: 14px;
    padding: 10px;
  }

  .form-row {
    flex-direction: row;
  }

  .form-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row div {
    width: 100%;
  }

  #career-modal .modal-content {
    padding: 20px;
  }

  /* details */
}

/* commonbanner */
/* breadcrumb */
#career .bread-top {
  padding: 0 0 50px 0px;
}

#career .breadcrumb {
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

#career .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}

#career .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#career .breadcrumb a:hover {
  text-decoration: underline;
}

#career .breadcrumb span {
  margin: 0 5px;
}

/* content design */
#career .tab-heading {
  padding: 50px 0;
}

#career .active[data-tab-content] {
  display: block;
  color: #000000;
}

#career .tab.active {
  font-size: 18px;
  list-style: none;
  font-weight: 700;
  padding: 20px;
  margin-right: 40px;
  border-bottom: 2px solid #23559B;
  color: #23559B;
  background: transparent;
}

#career [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#career .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}

#career .common-tab {
  list-style: none;
  padding: 0;
  margin: 0;
}

#career .common-tab li {
  margin-right: 40px;
  border-bottom: 2px solid #cfcfcf;
  padding: 20px;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}

/* tab */
.tab-career {
  display: grid;
  /* grid-template-columns: 1fr 3fr; */
  gap: 30px
}

.job-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  max-width: 100%;
  margin-bottom: 20px;
}

.job-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.job-text {
  flex: 1;
  /* min-width: 250px; */
}

.job-text h3 {
  margin: 0;
  color: #23559B;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.job-text p {
  color: #383939;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-date {
  color: #134a9f;
  font-weight: bold;
  display: inline-block;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.view-link {
  color: #23559B;
  text-decoration: underline;
  font-weight: 600;
  font-size: 16px;
  text-underline-offset: 4px;
}
.apply-btn {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  color: #383939;
  padding: 10px 40px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #23559b;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}

/* Hover background (wipe effect) */
.apply-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #23559b; /* Hover background */
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
  z-index: -1;
}

/* Base background (initial) */
.apply-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d0bb68; /* Initial gold background */
  z-index: -2;
  border-radius: 25px;
}

.apply-btn:hover {
  color: #ffffff; /* Text color on hover */
}

.apply-btn:hover::before {
  width: 100%; /* Animate background fill */
}


@media (max-width: 768px) {
  .job-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-actions {
    margin-top: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }

  .view-link,
  .apply-btn {
    font-size: 16px;
  }

  .tab-career {
    grid-template-columns: 1fr;
  }

  #career .common-tab .tabs {
    display: flex;
    gap: 20px;
    /* optional: space between items */
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    /* optional: smooth scroll */
  }

  /* tab mobile */
  #career .common-tab {
    overflow-x: auto;
    /* Enables horizontal scrolling */
    white-space: nowrap;
    /* Prevents items from wrapping */
    cursor: pointer;
  }

  /* Hide scrollbar (optional) */
  #career .common-tab .tabs::-webkit-scrollbar {
    display: none;
  }

  #career .tab.active {
    font-size: 18px;
    list-style: none;
    font-weight: 600;
    padding: 20px;
    margin-right: 0;
    background: #D0BB68;
    border-bottom: 2px solid #000;
    color: #000;
  }

  #career .common-tab li {
    color: #858687;
    border-bottom: 2px solid #CFCFCF;
    padding: 20px;
    margin-right: 0px;
  }

  #career .bread-top {
    padding: 50px 12px;
  }

  /* tab ends */
}

/* pagination css */
.pagination-controls {
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 14px;
    right: 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-btn {
    border: 1px solid #d2d2d7;
    background: transparent;
    width: 36px;
    height: 36px;
    color: #23559B;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.page-btn:hover {
    background-color: #f0f0f0;
    border-color: #23559B;
}

.page-btn.active {
    background-color: #23559B;
    color: white;
    border-color: #23559B;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.page-btn.active:disabled {
    background-color: #23559B;
    color: white;
    opacity: 1;
}

.ellipsis {
    color: #666;
    font-weight: 500;
    padding: 0 8px;
}

.pagination-controls svg {
  color: #23559B;
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Remove old button styles since they're now handled by .page-btn */

.a-backcareer {
  margin-top: 20px;
  font-size: 32px;
  line-height: 35px;
  color: #2a2e6d;
  text-decoration: none;
}

.mt-10 {
  margin-top: 50px;
}

/* Remove old page info styles since we're using numbered pagination now */

/* career  new*/
/* details */
/* breadcrumb */
#career-details .bread-top {
  padding: 50px 0px;
}

#career-details .breadcrumb {
  font-size: 16px;
  color: #666;
  margin-top: 50px;
  margin-bottom: 50px;
}

#career-details .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}

#career-details .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#career-details .breadcrumb a:hover {
  text-decoration: underline;
}

#career-details .breadcrumb span {
  margin: 0 5px;
}

#career-details-inner .job-card {
  background: white;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  margin: auto;
  margin-bottom: 50px;
}

#career-details-inner h2 {
  color: #23559B;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
}

#career-details-inner .date-posted {
  color: #23559B;
  font-size: 14px;
  margin-top: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}

#career-details-inner .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 600;
}

#career-details-inner .job-meta>div>strong {
  color: #23559B;
  font-size: 16px;
}

#career-details-inner .job-meta>div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  font-weight: 600;
}

#career-details-inner .job-meta .icon {
  margin-right: 4px;
}

#career-details-inner h3 {
  color: #383939;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
}

#career-details-inner p,
#career-details-inner ul {
  color: #383939;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
}

#career-details-inner ul {
  padding-left: 20px;
}

#career-details-inner ul li {
  margin-bottom: 4px;
  list-style-type: disc;
}

#career-details-inner .apply-btn {
  margin-top: 24px;
  padding: 15px 50px;
  background-color: #D0BB68;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  color: #000000;
  border: 1px solid #23559B;
  margin-bottom: 0;
  transition: background-color 0.3s;
  display: block;
}

#career-details-inner .view-pdf-btn {
  margin-top: 20px;
  padding: 16px 50px;
  background-color: #D0BB68;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  color: #000000;
  border: 1px solid #23559B;
  margin-bottom: 0;
  transition: background-color 0.3s;
  display: inline-block;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 768px) {}

@media (max-width: 480px) {
  #career-details-inner {
    padding: 10px;
  }

  #career-details-inner .job-card {
    padding: 16px;
  }

  #career-details-inner h3 {
    font-size: 16px;
  }

  #career-details-inner p,
  #career-details-inner ul {
    font-size: 14px;
  }

  #career-details-inner .apply-btn {
    font-size: 14px;
    padding: 10px;
  }
}

/* details */
/* modal */
/* Modal overlay */
#career-modal {
  display: none;
  /* This hides the modal by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

/* Modal Content */
#career-modal .modal-content {
  background: #fff;
  width: 800px;
  margin: auto;
  padding: 0px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

/* Close Button */
#career-modal .close-btn {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  cursor: pointer;
}

/* Header */
.form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  padding: 12px 16px;
  border-radius: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 16px;
  margin-bottom: 24px;
}

.form-header .role {
  font-weight: bold;
  color: #23559B;
}

/* Form Layout */
#career-modal {
  /* display: flex; */
  flex-direction: column;
  gap: 20px;

  /* Flexbox centering */
  justify-content: center;
  align-items: center;
  padding: 20px;
  /* for small screen spacing */
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

/* .form-row:last-child {
  margin-bottom: 0
} */

.form-row-resume {
  margin-top: 10px;
  display: flex;
  gap: 0px;
  flex-wrap: nowrap;
}

.form-row.full-width {
  flex-direction: column;
  gap: 10px;
}

.form-row-resume.full-width {
  flex-direction: column;
}

.form-row.center {
  justify-content: center;
  margin-top: 20px;
}

.form-row-resume.center {
  justify-content: center;
}

.form-row div {
  flex: 1;
  /* min-width: 200px; */
}

#career-modal label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
}

#career-modal label:first {
  margin-bottom: 0;
}

#career-modal input[type="text"],
#career-modal input[type="email"],
#career-modal input[type="tel"],
#career-modal input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  border: 2px solid #cfcfcf;
  color: #757575;
  outline: none;
  appearance: none;
}

#career-modal input[type="text"]:focus,
#career-modal input[type="email"]:focus,
#career-modal input[type="tel"]:focus,
#career-modal input[type="file"]:focus {
  border-color: #23559b;
  outline: none;
}

#career-modal small {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
  display: block;
}

#career-modal button[type="submit"] {
  background-color: #D0BB68;
  color: #000;
  border: 1px solid #23559B;
  border-radius: 24px;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#career-modal button:hover {
  background-color: #c1a954;
}

#career-form {
  padding: 12px 20px;
}

#career-modal .custom-file-upload {
  position: relative;
  display: inline-block;
  margin-top: 0px;
}

#career-modal .custom-file-upload input[type="file"] {
  display: none;
}

#career-modal .custom-file-upload label {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #1d1d1d;
  border: 2px solid #cfcfcf;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  min-width: 140px;
}

#career-modal .custom-file-upload .upload-icon {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

#career-modal .upload-wrapper small {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  padding-left: 4px;
}

/* modal */
.noscroll {
  overflow: hidden;
}

/* for quick links */
/* breadcrumb */
/* faculty-staff */
#publication .breadcrumb {
  /* padding: 22px 22px; */
  padding-bottom: 22px;
  font-size: 16px;
  color: #666;
  margin-bottom: 0px;
}

.container-faculty {
  margin-top: 25px;
}

#publication .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}

#publication .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#publication .breadcrumb a:hover {
  text-decoration: underline;
}

#publication .breadcrumb span {
  margin: 0 5px;
}

/* //.breadcrumb */
/* searchcontainer */
.search-input-wrapper {
  position: relative;
  width: 220px;
  margin-left: auto;
  margin-right: 20px;
}

.mobile-search {
  display: flex;
  gap: 20px;
}

.mobile-search-img {
  display: none;
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 35px 10px 15px;
  /* space for icon on the right */
  border: 1px solid #23559b;
  border-radius: 999px;
  background-color: #dde5f9;
  font-size: 14px;
  outline: none;
  color: #383838;
}

.search-icon-faculty {
  position: absolute;
  right: 12px;
  top: 50%;
  color: #23559b;
  transform: translateY(-50%);
  pointer-events: none;
}

/* searchends */
/* faculty */
.filter-flex {
  display: flex;
  gap: 15px;
}

.breadcrumb {
  font-size: 16px;
  color: #666;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.filters-container {
  padding: 15px 20px;
}

.filters-container h3 {
  color: #858687;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.filter-tabs {
  display: block;
}

.filter-tab {
  position: relative;
  white-space: nowrap;
  margin-bottom: 15px;
}

.filter-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-tab label {
  display: inline-block;
  padding: 8px 15px 8px 40px;
  border-radius: 20px;
  font-size: 14px;
  color: #383939;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Checkbox style */
.filter-tab label::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #383939;
  border-radius: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* Tick mark for all tabs */
.filter-tab label::after {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Inactive tabs - gray tick */
.filter-tab:not(:has(input[type="radio"]:checked)) label::after {
  color: #383939;
  left: 24px;
  top: 10px;
  background: #f5f5f7;
}

/* Active tab styles */
.filter-tab input[type="radio"]:checked+label::before {
  background: #23559b;
  border-color: #23559b;
}

.filter-tab input[type="radio"]:checked+label::after {
  color: white;
  background-color: #23559b;
  left: 16px;
  top: 16px;
}

.filter-tab input[type="radio"]:checked+label {
  /* color: #0066cc;
            font-weight: bold; */
  left: 0px;
  /* font-size: 10px; */
}

/* .filter-tab label:hover {
            background: #d0d0d0;
        }
        
        .filter-tab input[type="radio"]:checked + label:hover {
            background: #d0d0d0;
        } */

.news-items {
  padding: 20px;
  width: -webkit-fill-available;

}

.news-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  color: #0066cc;
  margin-bottom: 10px;
  font-weight: bold;
}

.news-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* faculty */

/* tab inside css */
.back-button-c {
  margin-bottom: 30px;
  position: relative;
  top: 20px;
  left: 0;
  width: 40px;
  background: #D0BB68;
  color: #000000;
  border: none;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  z-index: 10;
}

@media (max-width:1024px) {
  .filters-container {
    display: none;
    position: absolute;
    background: white;
    padding: 15px 20px;
    z-index: 12;
    right: 22px;
    border-radius: 8px;
  }

  .filter-flex {
    display: block;
  }

  .specialization-main {
    display: grid;
  }

  .specialization-group {
    margin-bottom: 0;
    padding: 0 20px;
  }

  .group-asso {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .mobile-search img {
    display: block;
    margin-right: 25px;
    width: 4%;
  }
}

/* pagination style changes */
.pagination {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0px;
  justify-content: flex-end;
}

.page-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: white;
  color: #003B8E;
  /* Arrow color */
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background-color: #e6ecff;
}

.page-btn.active {
  background-color: #1f56a6;
  color: white;
  border: none;
}

/* pagnatn ends */

/* error modal  */
.error-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal box */
.error-modal {
  background-color: #fff;
  border: 1px solid #e74c3c;
  border-left: 5px solid #e74c3c;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: errorFadeIn 0.3s ease;
}

/* Header */
.error-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: #fdecea;
  border-bottom: 1px solid #f5c6cb;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Title */
.error-modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #c0392b;
}

/* Close Button */
.error-modal-close {
  font-size: 20px;
  color: #c0392b;
  cursor: pointer;
  font-weight: bold;
}

/* Body */
.error-modal-body {
  padding: 16px;
  font-size: 15px;
  color: #333;
}

/* Fade animation */
@keyframes errorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* error modal ends */

/* Career Form Validation Styles */
.form-field {
    position: relative;
}

.error-message {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

/* Only show error styles when validation fails */
.form-field.has-error input {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Resume upload validation */
.upload-wrapper .error-message {
    margin-top: 10px;
}

.custom-file-upload.has-error {
    border-color: #dc3545 !important;
}

/* Submit button states */
#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#submit-btn.loading {
    position: relative;
    color: transparent;
}

#submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media screen and (max-width:550px) {
  #career-form {
    padding: 10px;
  }

  .form-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 8px;
  }

  .form-header {
    margin-bottom: 20px;
  }

  #career-modal label {
    margin-bottom: 4px;
    font-size: 12px;
  }
  .job-content {
    gap: 0;
  }
}
/* tenders details  */
.tender-not-found {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.tender-not-found h2 {
  color: #23559b;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.tender-not-found p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}