/* BASE */
.container {
    margin: 0 auto;
    padding: 0 140px;
}

/* HERO */
.job-hero-detail {
    background: linear-gradient(to bottom, #eef4fb, #d6e9fb);
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
}

.job-hero-detail::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(1,118,211,0.4), transparent);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* BADGE */
.job-status-badge {
    background: #e6f4ea;
    color: #1e7e34;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 18px;
}

.job-status-badge.expired {
    background: #f8d7da;
    color: #721c24;
}

/* TITLE */
.job-title-main {
    font-size: 44px;
    font-weight: 800;
    color: #002d5b;
    margin-bottom: 18px;
}

/* META */
.hero-meta-list {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    color: #6b7280;
}

.hero-meta-list span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta-list i {
    color: #1677ff;
    font-size: 18px;
}

/* GRID */
.job-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    margin: 40px 0;
}

/* CARD */
.job-card-box {
    background: #fff;
    border-radius: 26px;
    padding: 36px;
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

/* TITLE */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #002d5b;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #002d5b, #4dabff);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* CONTENT */
.entry-content {
    line-height: 1.8;
    color: #4b5563;
}

.entry-content h3 {
    margin: 24px 0 12px;
    color: #002d5b;
}

/* SIDEBAR */
.sidebar-sticky {
    position: sticky;
    top: 100px;
    padding-bottom: 20px;
}

/* LIST */
.job-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.job-summary-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.job-summary-list li:last-child {
    border-bottom: none;
}

/* ICON */
.job-summary-list .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1677ff;
    font-size: 20px;
}

/* TEXT */
.job-summary-list p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.job-summary-list strong {
    font-size: 15px;
    color: #0f172a;
}

.deadline-item strong {
    color: #dc2626;
}

/* BUTTON */
.btn-job-apply-primary {
    width: 100%;
    background: linear-gradient(135deg, #1677ff, #0052cc);
    color: #fff;
    padding: 15px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    display: block;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,102,204,0.25);
    transition: 0.3s;
}

.btn-job-apply-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,102,204,0.35);
}

/* CONTACT */
.sidebar-contact {
    text-align: center;
    margin-top: 20px;
}

.sidebar-contact p {
    font-size: 14px;
    color: #6b7280;
}

.sidebar-contact a {
    color: #1677ff;
    font-weight: 600;
}

/* FORM */
.apply-desc {
    margin-bottom: 20px;
    color: #6b7280;
}

.cf7-row {
    display: flex;
    gap: 16px;
}

.cf7-col {
    flex: 1;
}

.cf7-custom-style input,
.cf7-custom-style textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 14px;
    background: #f8fafc;
    font-family: 'Google Sans' !important;
}

.cf7-custom-style input[type="submit"] {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    cursor: pointer;
}

.cf7-custom-style input[type="submit"]:hover {
    background: var(--dark-blue);
}

/*Toast*/
.apply-toast {
    position: fixed;
    top: 80px;
    right: 30px;
    max-width: 380px;
    background: #032D60;
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: .3s;

    z-index: 999999;
}

.apply-toast.show{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.apply-toast i{
    color:#4CAF50;
    font-size:20px;
    margin-top:2px;
    flex-shrink:0;
}

@media (max-width: 768px) {

  /*  CONTAINER  */
  .container {
    padding: 0 16px;
  }

  /*  HERO  */
  .job-hero-detail {
    padding: 60px 0 50px;
  }

  .job-title-main {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-meta-list {
    gap: 12px;
    font-size: 13px;
  }

  .hero-meta-list span {
    font-size: 13px;
  }

  /*  GRID */
  .job-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  /*  CARD  */
  .job-card-box {
    padding: 20px;
    border-radius: 18px;
  }

  .section-title {
    font-size: 18px;
  }

  /*  CONTENT  */
  .entry-content {
    font-size: 14px;
    line-height: 1.7;
  }

  /*  SIDEBAR */
  .job-sidebar {
    order: -1;
  }

  .sidebar-sticky {
    position: static;
    padding-bottom: 0;
  }

  /*  SUMMARY LIST  */
  .job-summary-list li {
    padding: 10px 0;
    gap: 10px;
  }

  .job-summary-list .icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .job-summary-list p {
    font-size: 12px;
  }

  .job-summary-list strong {
    font-size: 14px;
  }

  /*  BUTTON APPLY  */
  .btn-job-apply-primary {
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  /*  CONTACT  */
  .sidebar-contact {
    margin-bottom: 20px;
  }

  /*  FORM  */

  .cf7-row {
    flex-direction: column;
    gap: 0;
  }

  .cf7-custom-style input,
  .cf7-custom-style textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .cf7-custom-style textarea {
    min-height: 120px;
  }

  .cf7-custom-style input[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  /*  APPLY SECTION  */
  .apply-form-wrapper {
    padding: 20px;
  }

  .apply-desc {
    font-size: 13px;
  }

}
