#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: 20px;
}

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

/* Job Cards */
.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;
}

.fellowship-date {
  padding-right: 10px;
}

.fellowship-department {
  padding-inline: 10px;
  border-left: 2px solid #23559b5f;
  border-right: 2px solid #23559b5f;
}

.fellowship-department-fellowship {
  padding-left: 10px;
}

.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;
  background-color: #D0BB68;
  color: #000000;
  padding: 10px 20px;
  text-decoration: none;
  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;
  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%;
}

/* 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;
}

/* Modal Styles */
#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;
  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 {
  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;
}

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

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

.noscroll {
  overflow: hidden;
}
/* 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: 45px;
  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 */
@media (max-width: 767px){
    .mobile-search {
    grid-template-columns: 1fr !important;
  }
  .mobile-search > *:first-child {
  order: 2;
}

.mobile-search > *:last-child {
  order: 1;
}
}
/* 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-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

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

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

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

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

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

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