/* Common Banner */
#career {
  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;
}
/* Breadcrumb */
#career .bread-top {
  padding: 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;
}
/* Tab Content */
#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;
  border-bottom: 2px solid #000000;
  color: #000000;
  background: #D0BB68;
}
#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 {
  border-bottom: 2px solid #cfcfcf;
  padding: 20px;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}
.tabs {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding-left: 0;
}
/* Fellowship Container */
.fellowship-container {
  margin-block: 30px;
}
.job-card h3 {
  margin: 0;
  color: #23559B;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.job-card p {
  color: #000;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
}
.job-date {
  color: #134a9f;
  font-weight: normal;
  display: inline-block;
  font-size: 14px;
}
/* Job Actions */
.job-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: auto;
  width: max-content;
}
.apply-btn {
  position: relative;
  background-color: #D0BB68;
  color: #000000;
  padding: 10px 22px;
  font-weight: bold;
  border: 1px solid #23559B;
  border-radius: 24px;
  font-size: 16px; /* you can adjust if you want bigger */
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
/* Hover background effect */
.apply-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559B; /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 24px;
}
.apply-btn:hover {
  color: #ffffff; /* Text color on hover */
}
.apply-btn:hover::before {
  width: 100%;
}
/* Modal */
#career-modal {
  display: none;
  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;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
#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);
}
#career-modal .close-btn {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  cursor: pointer;
}
/* Form 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 Styles */
#career-form {
  padding: 12px 20px;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}
.form-row.full-width {
  flex-direction: column;
}
.form-row.center {
  justify-content: center;
  margin-top: 20px;
}
.form-row div {
  flex: 1;
}

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

#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;
}

/* Custom File Upload */
#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;
}

/* No Scroll */
.noscroll {
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  #common-blue-banner .our-story-section {
    padding: 20px 24px;
    gap: 16px;
  }

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

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

  .apply-btn {
    font-size: 1rem;
  }

  #career .common-tab {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    cursor: pointer;
  }

  #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;
    width: max-content;
  }

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

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

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

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

  .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;
  }
}

@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;
  }
}

.tab-career h2 {
  color: #23559B;
  margin-bottom: 40px;
  font-size: 28px;
}
/* ourstory */
.about-us {
  padding: 50px 0px;
}

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

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

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

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

.breadcrumb span {
  margin: 0 5px;
}

.vision-div {
  display: flex;
  gap: 40px;
  background-color: #fffae800;
  border-radius: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.vison-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.vision-image {
  width: -webkit-fill-available;
}

.vision-para p {
  font-size: 16px;
  margin-bottom: 16px;
}

p {
  line-height: 24px;
}

.vision-image h3 {
  margin-top: 36px;
  font-size: 20px;
}

.vision-image p {
  font-size: 16px;
  color: #6C89B2;
  width: max-content;
}

@media (max-width: 1199px) {
  #common-blue-banner .our-story-section {
    padding: 24px 35px;
  }
  .mobile-search img {
    display: block;
    margin-right: 25px;
    width: 4%;
  }
}

@media (max-width: 991px) {
  #common-blue-banner .our-story-section {
    padding: 24px 78px;
  }
}

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

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

  .vision-div {
    flex-direction: column;
    margin-bottom: 0px;
  }
  #career .common-tab::-webkit-scrollbar {
    display: none;
  }
}

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

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

.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;
}

.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: normal;
  display: inline-block;
  font-size: 14px;
}

.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;
}
/* pagination css */
.pagination-controls {
  margin-top: 20px;
  justify-content: right;
  align-items: center;
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
}

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

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

#prevBtn,
#nextBtn,
#prevBtn_ac,
#hospital_prevBtn,
#hospital_nextBtn,
#medical_prevBtn,
#medical_nextBtn,
#nursing_prevBtn,
#medical_nextBtn,
#research_prevBtn,
#research_nextBtn,
#sjmcbm_prevBtn,
#sjmcbm_nextBtn,
#nextBtn_ac,
#prevBtn_ad,
#nextBtn_ad,
#geriatric_prevBtn,
#geriatric_nextBtn {
  border: 1px solid #d2d2d7;
  background: transparent;
  width: 36px;
  height: 36px;
  color: #23559B;
  border-radius: 5px;
}
.a-backcareer {
  margin-top: 20px;
  font-size: 32px;
  line-height: 35px;
  color: #2a2e6d;
  text-decoration: none;
}

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

#hospital_pageInfo,
#medical_pageInfo,
#nursing_pageInfo,
#research_pageInfo,
#sjmcbm_pageInfo,
#geriatric_pageInfo,
#pageInfo {
  padding: 10px;
  background-color: #23559B;
  color: #fff;
  border-radius: 5px;
}
.container-list {
    margin-top: 50px;
}

.fellowship-date {
    padding-right: 10px;
}
.job-date {
    color: #134a9f;
    font-weight: normal;
    display: inline-block;
    font-size: 14px;
}

.fellowship-department {
    border-left: 2px solid #23559b5f;
    border-right: 2px solid #23559b5f;
    padding-inline: 10px;
}
.fellowship-department-fellowship {
    background-color: #EBF3FF;
    border-radius: 20px;
    padding: 4px 16px;
    color: #24286D;
    width: max-content;
}
/* pagination style changes */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #f9f9ff00; /* Very light background like in image */
  padding: 20px;
  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;
}

/* disabled state */
.page-btn.disabled,
.page-btn:disabled{
  opacity:0.4;
  cursor:not-allowed;
  background-color:#f5f5f5;
  color:#999;
  border-color:#ddd;
}

.page-btn.disabled:hover,
.page-btn:disabled:hover{
  background-color:#f5f5f5;
}
.closing-on , .closed-on {
  background-color: #DE24241C;
  color: #000000;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
  margin-right: 5px;
}
/* searchcontainer */
.search-input-wrapper {
     display: flex;
    justify-content: flex-end;
    position: relative;
    margin-left: auto;
    margin-right: 20px;
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  margin-top: 15px;
}
.search-msg h2{
  font-size: 20px;
}
.mobile-search img {
  display: none;
}
.search-form {
  display: flex;
}
.search-ms h2{
  font-size: 20px;
}
.search-input-wrapper input {
  font-family: 'Lato';
  padding: 10px 15px 10px 40px;
  /* space for icon on the right */
  border: 1px solid #23559b;
  border-radius: 999px;
  background-color: #dde5f9;
  font-size: 16px;
  outline: none;
  color: #383838;
  position: relative;
    z-index: 1;
}
.search-input-wrapper input:focus{
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px #2280EF40;
}
.search-suggestion{
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    right: 0;
    border-top: none;
    padding:20px 15px 10px 15px;
    margin-top: -15px;
    text-align: left;
    line-height: 25px;
    text-decoration: underline;
    text-decoration-color: #E3E3E3 ;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    color:#383939;
    border: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: #fff;
    display: none;
}
.search-icon-faculty {
  background-color: transparent;
    border: none;
    position: absolute;
    left: 8px;
    z-index: 1;
    top: 55%;
    color: #23559b;
    transform: translateY(-50%);
    pointer-events: none;
}
/* searchends */