.custom-navbar-detail {
  padding: 15px 50px;
  background-color: #fafafa;
  border-bottom: 1px solid #d9d9d9;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 999;
  position: absolute;
}
.custom-navbar-detail span {
  font-family: "Inter-regular", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  color: #030303;
}
.custom-navbar-detail span {
  font-family: "Inter-regular", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  color: #030303;
}
.career-results-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* .navbar-toggler-icon {
  background-color: #222 !important;
} */

.custom-navbar-detail .hover-overlay:hover span {
  color: #fff;
}

.custom-navbar-detail.sticky {
  padding: 15px 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f0f0f0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.custom-navbar-detail.sticky span {
  font-family: "Inter-regular", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  color: #030303;
}
.custom-navbar-detail.sticky span {
  font-family: "Inter-regular", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  color: #030303;
}
.custom-navbar-detail.sticky .hover-overlay:hover span {
  color: #fff;
}
.section-careers {
  background-color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.careers-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 100px !important;
  padding-right: 100px !important;
  padding-top: 100px !important;
}
.careers-content-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 80px !important;
}

.left-content {
  max-width: 50%;
}

.career-title {
  color: var(--Black-Guideline, #030303);
  font-family: "Roboto-bold", sans-serif;
  font-size: 53px;
  line-height: 8.9px;
  margin-bottom: 20px;
}

.career-title-mobile {
  color: var(--Black-Guideline, #030303);
  font-family: "Roboto-bold", sans-serif;
  font-size: 20px;
  line-height: 26px;
}

.career-subtitle {
  color: var(--dark-3-body-text-color, #6b7280);
  font-family: "Lato-regular", sans-serif;
  font-size: 16px;
  line-height: 20.8px;
  margin-top: 50px;
}
.career-subtitle-mobile {
  color: var(--dark-3-body-text-color, #6b7280);
  font-family: "Lato-regular", sans-serif;
  font-size: 12px;
  line-height: 15.6px;
}

.right-deco img {
  max-width: 100%;
  height: auto;
  margin-bottom: -80px !important;
  opacity: 0.9;
}
.right-deco-mobile img {
  max-width: 100%;
  height: auto;
  margin-bottom: -10px !important;
  opacity: 0.9;
}

.section-positions {
  background-color: #f0f0f0;
  padding-top: 50px !important;
  padding-right: 100px !important;
  padding-left: 100px !important;
  padding-bottom: 100px !important;
}

.section-positions .section-title {
  color: var(--Black-Guideline, #030303);
  font-family: "Roboto-bold", sans-serif;
  font-size: 32px;
  line-height: 36.4px;
}

.card-position {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 439px;
  transition: box-shadow 0.2s ease;
}

.card-position:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.job-title {
  color: var(--Black-Guideline, #030303);
  font-family: "Roboto-bold", sans-serif;
  font-size: 25px;
  line-height: 36.4px;
}

.job-meta {
  font-size: 13px;
  color: #6b7280;
  border-bottom: 1px solid #d9d9d9;
  margin-top: 16px !important;
  padding-bottom: 16px !important;
  gap: 10px;
  align-items: center;
}

.job-description {
  color: var(--dark-4-alternative-body-text-color, #9ca3af);
  font-family: "Inter-regular", sans-serif;
  font-size: 14px;
  line-height: 18.2px;
}

.job-list {
  list-style: disc;
  color: var(--dark-4-alternative-body-text-color, #9ca3af);
  font-family: "Inter-regular", sans-serif;
  font-size: 14px;
  line-height: 18.2px;
}



@media (max-width: 768px) {
  .job-title {
    font-size: 15px;
    line-height: 20px;
  }
  
  .job-meta {
    align-items: center;
    gap: 4px;
    margin-top: 8px !important;
    padding-bottom: 8px !important;
  
  }
  
  .job-description {
    font-size: 12px;
    line-height: 15.6px;
  }
  
  .job-list {
    font-size: 12px;
    line-height: 15.6px;
  }
}

.btn-danger {
  background-color: #dc2626;
  border: none;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

.card-position {
  transition: box-shadow 0.2s ease;
}

.card-position:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

#autocompleteMessage {
  font-size: 14px;
  color: #dc3545;
}

.btn-read {
  display: flex;
  padding: 15px 20px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  border-radius: 10px;
  border: 1px solid var(--Red-Guideline, #e63822);
  background: var(--Red-Guideline, #e63822);
  text-decoration: none;
}
.txt_read {
  color: var(--White, #fff);
  text-align: center;
  font-family: "Inter-bold", sans-serif;
  font-size: 14px;
  line-height: 18.2px;
}
.searchKeyword {
  padding: 10px;
}

.ui-menu-item {
  padding: 10px;
}

.text-job-type {
  color: var(--Red-Guideline, #e63822);
  font-family: "Roboto-bold", sans-serif;
  font-size: 14px;
  line-height: 18.2px;
}
.txt_upload {
  color: var(--dark-3-body-text-color, #6b7280);
  font-family: "Inter-regular", sans-serif;
  font-size: 12px;
  line-height: 15.6px;
}
.deadline {
  color: var(--ref-50, #fd8181);
  font-family: "Inter-regular", sans-serif;
  font-size: 12px;
  line-height: 15.6px;
}

#paginationWrapper button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

.pagination-wrapper {
  margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
  .pagination-wrapper {
    margin-top: 1rem;
  }

  .text-job-type {
    font-size: 9px;
    line-height: 11px;
  }
  .txt_upload {
    font-size: 9px;
    line-height: 11px;
  }
  .deadline {
    font-size: 10px;
    line-height: 13px;
  }
}
.custom-navbar-detail.sticky .hover-overlay:hover.active .txt_nav {
  color: #e63822;
}


.custom-navbar4 {
  background: transparent;
  padding: 20px 75px;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 999;
  position: absolute;
  /* border-bottom: 1px solid #454545; */
  top: 0;
  left: 0;
  right: 0;
}
.custom-navbar4.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(278deg, #505050 -0.07%, #000 81.6%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.background-detail {
  background-image: url("../img/background-detail-career.png");
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
}
.detail-career {
  padding: 100px 0 50px !important;
}

.detail-career .container-fluid {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

.wrapper-details {
  padding: 180px 0 0 !important;
}

/* =========================
   Form styling (Professional)
   Scope: inside page detail-career
   ========================= */
.detail-career .form-card {
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 6px 18px rgba(3, 10, 18, 0.06);
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #ffffff;
}

/* size & spacing for inputs used in form */
.detail-career .form-control-lg {
  padding: .75rem .9rem;
  border-radius: .6rem;
  font-size: .95rem;
  line-height: 1.2;
  border: 1px solid #e6e6e6;
}

/* subtle focus glow matching brand red */
.detail-career .form-control:focus {
  box-shadow: 0 0 0 .15rem rgba(220, 38, 38, 0.08);
  border-color: #dc2626;
  outline: none;
}

/* labels */
.detail-career .form-label.small {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: #111827;
}

/* file input info text */
.detail-career #resumeInfo,
.detail-career #portfolioInfo {
  font-size: .85rem;
}

/* button */
.detail-career .btn-danger.btn-lg {
  border-radius: .6rem;
  font-weight: 600;
  padding: .75rem 1rem;
  box-shadow: none;
}

/* smaller helper text */
.detail-career .form-card .small.text-muted {
  color: #6b7280;
  font-size: .82rem;
}

/* message counter */
.detail-career #msgCounter {
  font-size: .82rem;
  color: #6b7280;
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  .detail-career {
    padding: 16px 0 !important;
  }
  .detail-career .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
  }
  .detail-career .col-lg-8,
  .detail-career .col-lg-4 {
    width: 100%;
    max-width: 100%;
  }
  .detail-career .form-card {
    padding: 1rem;
    border-radius: .5rem;
    width: 100%;
    max-width: 100%;
    margin-top: 32px;
  }
  .sticky-form {
    position: static !important;
    top: unset !important;
  }
}

@media (min-width: 992px) {
  .detail-career .col-lg-8 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .detail-career .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .detail-career {
    padding: 10px 0 !important;
  }
  .detail-career .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .detail-career .form-card {
    padding: 0.7rem;
    border-radius: .4rem;
    margin-top: 18px;
  }

  .detail-career {
    padding: 100px 0 50px !important;
  }
  
  .detail-career .container-fluid {
    padding-top: 100px !important;
  }
}

/* Accessibility & focus improvements for file inputs & buttons */
.detail-career .form-control[type="file"] {
  cursor: pointer;
}

/* ensure form-card inner headings align visually */
.detail-career .form-card h5 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: #111827;
}

/* avoid global overrides: only target form inside .detail-career */


.file-upload {
  position: relative;
  background: #f7f7f7;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border: 2px dashed #ddd;
  transition: all 0.3s ease;
}

.file-upload:hover {
  border-color: #bbb;
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload::before {
  content: attr(data-label);
  color: #666;
}

.file-upload.has-file::before {
  content: attr(data-filename);
  color: #28a745;
  font-weight: 500;
}

.file-upload.has-file::after {
  content: " (Click to change)";
  color: #007bff;
  font-size: 12px;
}

.file-upload a {
  color: #007bff;
  text-decoration: none;
}

.file-upload.dragover {
  background: #fff3f3;
  border-color: #e53935;
  color: #e53935;
}

.file-info {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}


.application-form-wrapper {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  max-width: 100%;
  width: 100%;
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 16px;
}

.full-width {
  flex: 100%;
}

label {
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}

.required {
  color: red;
}

input[type="text"],
input[type="email"],
textarea {
  border: none;
  background: #F2F2F2;
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  outline: none;
}

textarea {
  resize: none;
}

.file-upload {
  border: none;
  background: #F2F2F2;
  border-radius: 4px;
  padding: 20px !important;
  text-align: center;
  font-size: 14px;
  color: #666;
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload a {
  color: #007bff;
  text-decoration: none;
}

.file-info {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.btn-submit {
  background: #e53935;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

.btn-submit:hover {
  background: #d32f2f;
}

/* --- Application Form Styling --- */
.application-form-wrapper,
.detail-career .form-card {
  width: 100%;
  background: #fff;
  padding: 40px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.10), 0 1.5px 6px rgba(44,62,80,0.06);
  margin-bottom: 32px;
  border: 1.5px solid #f0f0f0;
  transition: box-shadow 0.2s;
}

.application-form-wrapper:hover,
.detail-career .form-card:hover {
  box-shadow: 0 12px 36px rgba(44, 62, 80, 0.16), 0 2px 8px rgba(44,62,80,0.09);
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #222;
  letter-spacing: 0.5px;
}

.form-group label,
.detail-career .form-label.small {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="file"],
textarea,
.detail-career .form-control-lg {
  border: none;
  background: #F2F2F2;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 15px;
  margin-bottom: 18px;
  transition: border 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
.detail-career .form-control-lg:focus {
  border: 1.5px solid #e53935;
  background: #F2F2F2;
  box-shadow: 0 0 0 2px rgba(229,57,53,0.07);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit,
.detail-career .btn-danger.btn-lg {
  background: linear-gradient(90deg, #e53935 0%, #e35d5b 100%);
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(229,57,53,0.07);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-submit:hover,
.detail-career .btn-danger.btn-lg:hover {
  background: linear-gradient(90deg, #d32f2f 0%, #e35d5b 100%);
  box-shadow: 0 4px 16px rgba(229,57,53,0.13);
}

.form-group {
  margin-bottom: 22px;
}

.sticky-form {
  position: sticky;
  top: 100px; /* Jarak dari atas, bisa disesuaikan */
  z-index: 10;
}
@media (max-width: 991.98px) {
  .sticky-form {
    position: static;
    top: unset;
  }
}

/* ==== Responsive Navbar ==== */
@media (max-width: 991px) {
    .custom-navbar4 {
        padding: 10px 20px;
        background: #ffffff; /* Biar kontras di mobile */
    }
    .custom-navbar4 .navbar-brand img {
        max-height: 40px;
    }
}

/* ==== Background header lebih kecil di mobile ==== */
@media (max-width: 768px) {
    .background-detail {
        height: 300px;
        background-position: center;
        bottom: 100px;
    }
}

/* ==== Detail Career Section ==== */
@media (max-width: 991px) {
    .detail-career {
        padding: 20px !important;
        flex-direction: column;
        gap: 20px;
    }
    .detail-career .col-lg-8,
    .detail-career .col-lg-4 {
        width: 100% !important;
    }
}

/* ==== Form Section di Mobile ==== */
@media (max-width: 576px) {
    .detail-career {
        padding: 10px !important;
    }
    .form-title {
        font-size: 16px;
    }
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    .form-group label {
        font-size: 13px;
    }
    input, textarea {
        font-size: 13px;
        padding: 8px;
    }
    .application-form-wrapper,
    .detail-career .form-card {
    width: auto !important;
    background: #fff;
    padding: 40px 32px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.10), 0 1.5px 6px rgba(44,62,80,0.06);
    margin-bottom: 32px;
    border: 1.5px solid #f0f0f0;
    transition: box-shadow 0.2s;
    }

  .wrapper-details {
    padding: 180px 0 0 !important;
  }
}

/* ==== Footer Mobile ==== */
@media (max-width: 768px) {
    .footer-mod .footer-info-mobile p {
        font-size: 12px;
    }
    .footer-mod img {
        max-width: 120px;
    }
}

.career-filter-mobile,
.career-filter-mobile .form-control,
.career-filter-mobile .form-select,
.career-filter-mobile .form-control::placeholder {
  font-size: 12px !important;
}

/* Ensure select options also have the same font size */
.career-filter-mobile .form-select option {
  font-size: 12px;
}

/* Responsive adjustments for career cards */
@media (min-width: 768px) and (max-width: 991.98px) {
  .career-results-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .section-positions,
  .careers-content-mobile {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .career-results-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-position {
    height: auto;
  }
}

/* ==== Job Details Mobile Styling ==== */
@media (max-width: 991.98px) {
    .detail-career .col-lg-8 {
        padding-right: 0; /* Remove padding on larger mobile screens */
    }
}

@media (max-width: 767.98px) {
    .detail-career .col-lg-8 .text-danger.fw-bold {
        font-size: 0.875rem; /* 14px */
    }

    .detail-career .col-lg-8 h2.fw-bold {
        font-size: 1.75rem; /* 28px */
        line-height: 1.3;
    }

    .detail-career .col-lg-8 .text-muted {
        font-size: 0.875rem; /* 14px */
    }

    .detail-career .col-lg-8 h5 {
        font-size: 1.125rem; /* 18px */
        margin-top: 1.5rem; /* 24px */
    }

    .detail-career .col-lg-8 p,
    .detail-career .col-lg-8 ul.list-unstyled li {
        font-size: 0.875rem; /* 14px */
        line-height: 1.6;
    }
    
    .detail-career .col-lg-8 ul.list-unstyled {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .detail-career {
        /* Re-adjust padding for very small screens */
        padding: 1rem !important;
    }

    .detail-career .col-lg-8 h2.fw-bold {
        font-size: 1.5rem; /* 24px */
    }

    .detail-career .col-lg-8 h5 {
        font-size: 1rem; /* 16px */
    }

    .detail-career .col-lg-8 p,
    .detail-career .col-lg-8 ul.list-unstyled li,
    .detail-career .col-lg-8 .text-muted {
        font-size: 0.8125rem; /* 13px */
    }
}

/* Hide Turnstile container initially */
#turnstile-container {
    display: none;
}