/* text color 1 */
.text-c1 {
    color:#10367D !important;
}
/* submenu */
.dropdown .dropdown-menu.show .dropdown-item  {
    padding: 5px 20px;
}
/* submenu arrow */
.arrow-icon {
    display: inline-block;
    transform: rotate(0deg) !important;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.nav-link .fs_header_menu .show .arrow-icon {
    transform: rotate(180deg) !important;
}

/* main button */
.main-btn {
    background:#10367D;
    color:#ffffff;
    border-radius: 1rem;
}

.main-btn:hover {
    background:#10367D;
    color:#ffffff;
    opacity: 0.8;
}

/* secondary button */
.sec-btn {
    background:#ffffff;
    color:#10367D;
    border-radius: 1rem;
    border: 2px solid #10367D;
}

.sec-btn:hover {
    background:#ffffff;
    color:#10367D;
    opacity: 0.8;
}

.fs_header_menu1 {
    color:#10367D !important;
    font-weight: bold;
    font-size:1.33rem;
}

.nav-link .fs_header_menu1 .show .arrow-icon {
    transform: rotate(180deg) !important;
}

.nav-divider {
    display: inline-block;
    width: 1px;
    height: 24px;
    background-color: #c7ccd6;  /* สีเทาอ่อน ปรับได้ */
    margin: 0 12px;
}

.section-shadow  {
    box-shadow: 0 20px 40px 10px rgba(100, 149, 237, 0.5);
}

.section-shadow-big {
      box-shadow:
            0 180px 450px 180px rgba(100, 149, 237, 0.2),
            0 450px 900px 234px rgba(100, 149, 237, 0.15);
}

.register_header2 {
    font-size: 30px;
}

/* Tablet */
@media (min-width: 768px) {
    .section-shadow  {
        box-shadow: 0 100px 300px 20px rgba(100, 149, 237, 0.4);
    }
}

.view-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;                  /* ระยะห่างข้อความกับลูกศร */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #13357b;             /* สีน้ำเงินเข้ม ปรับเป็นสีแบรนด์ได้ */
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-link svg {
    width: 9px;                 /* ขนาดลูกศร */
    height: auto;
    transition: transform 0.2s ease;
}

.view-link:hover {
    color: #0d2657;
}

.view-link:hover svg {
    transform: translateX(5px); /* ลูกศรขยับขวาตอน hover */
}

/* category card */
.category-card {
    position: relative;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background-color: #dce3f5;
    transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); }

.category-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.category-card:hover .category-card__bg { transform: scale(1.05); }

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.22) 100%);
}

.category-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #1a3a7c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 0 10px 0 0;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* new job card top page */
/* ===== Archeep Job Card ===== */
.swiper-group-job1 .swiper-slide { height: auto !important; display: flex; }

.archeep-job-card {
    width: 100%;
    min-height: 312px;            /* ← จูนเลขนี้ให้เท่ากับการ์ดที่เนื้อหาเยอะสุด */
    display: flex; flex-direction: column;
    /* border / radius / box-shadow / background คงเดิม */
}
.archeep-job-card .card-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; }

/* ดันเส้นคั่น+footer ลงล่างพร้อมกัน → ช่องว่างไปกองก่อนเส้นคั่น */
.ajc-card-sep { margin-top: auto; }
.ajc-footer  { margin-top: 0; }   /* ยกเลิก margin-top:auto เดิมที่ footer */

.archeep-job-card.is-urgent { border-color: #e02424; box-shadow: 0 2px 12px rgba(224,36,36,.12); }
.archeep-job-card .card-body { flex: 1 1 auto; padding: 16px 16px; display: flex; flex-direction: column; gap: 12px; }

/* บังคับให้ทุกใบสูงเท่ากัน */
.swiper-group-job1 .swiper-wrapper { align-items: stretch; }
.swiper-group-job1 .swiper-slide { height: auto; display: flex; }

@media (max-width: 575.98px) {
    .archeep-job-card {
        box-shadow: 0 4px 12px -4px rgba(16, 54, 125, .15);
    }
    .archeep-job-card.is-urgent {
        box-shadow: 0 4px 12px -4px rgba(224, 36, 36, .18);
    }

    .register_header2 {
        font-size: 22px;
    }
}

/* header */
.ajc-header { display: flex; align-items: flex-start; gap: 12px; }
.ajc-logo-box {
    width: 48px; height: 48px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; overflow: hidden;
}
.ajc-logo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* พื้นหลัง + กรอบ + ไอคอน เฉพาะตอนไม่มีรูป */
.ajc-logo-box.is-empty { background: #eef2ff; border: 1px solid #e5e7eb; }
.ajc-logo-box.is-empty::after {
    content: "\f1ad";                       /* fa-building */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; color: #1e3a8a; font-size: 20px;
}

.ajc-title-wrap { flex: 1 1 auto; min-width: 0; }
.ajc-title {
    font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 2px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ajc-company { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #6b7280; }
.ajc-company .ajc-verified { width: 18px; height: 18px; }
.ajc-bookmark { flex: 0 0 auto; color: #1e3a8a; font-size: 18px; cursor: pointer; background: none; border: 0; padding: 0; }

/* badges */
.ajc-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.ajc-badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 8px; line-height: 1; }
.ajc-badge-urgent { background: #fdeaea; color: #e02424; }
.ajc-badge-handicap { background: #e6f7ee; color: #1a9d5a; }

/* สีของ badge ตามจำนวนวิว (ไล่จากใหม่ → มาแรง) */
.ajc-status-early     { background: #e6f7ee; color: #1a9d5a; }
.ajc-status-attention { background: #e1f5f7; color: #0d8fa0; }
.ajc-status-interest  { background: #e8f0fe; color: #2563eb; }
.ajc-status-gaining   { background: #e6ecfd; color: #1d4ed8; }
.ajc-status-popular   { background: #efe9fc; color: #6d28d9; }
.ajc-status-active    { background: #eae7fb; color: #5b4bd6; }
.ajc-status-high      { background: #fef0e2; color: #d97706; }
.ajc-status-hot       { background: #fde8e8; color: #dc2626; }

/* details */
.ajc-details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ajc-details li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #374151; }
.ajc-details li i { width: 18px; text-align: center; color: #1e3a8a; }
.ajc-details .ajc-baht { width: 18px; text-align: center; color: #1e3a8a; font-weight: 700; vertical-align: middle; }

/* meta */
.ajc-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #9ca3af; }
.ajc-meta .ajc-divider { width: 1px; height: 14px; background: #e5e7eb; }

/* footer */
.ajc-card-sep { border: 0; border-top: 1px solid #eef0f3; margin: 4px 0 0; }
.ajc-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.ajc-date { font-size: 13px; color: #6b7280; line-height: 1.4; }
.ajc-more { font-size: 14px; font-weight: 700; color: #1e3a8a; text-decoration: none; letter-spacing: .3px; }
.ajc-more:hover { text-decoration: underline; }

/* ===== Archeep Job List Card ===== */
.archeep-job-list-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.archeep-job-list-card.is-urgent { border-color: #e02424; }

.ajl-body { display: flex; gap: 28px; align-items: center; }

/* logo ใหญ่ฝั่งซ้าย */
.ajl-logo-box {
    flex: 0 0 200px;
    min-height: 120px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; overflow: hidden;
}
.ajl-logo { max-width: 100%; max-height: 180px; object-fit: contain; display: block; }
.ajl-logo-box.is-empty { background: #eef2ff; border: 1px solid #e5e7eb; }
.ajl-logo-box.is-empty::after {
    content: "\f1ad";                       /* fa-building */
    font-family: "Font Awesome 5 Free"; font-weight: 900;
    color: #1e3a8a; font-size: 48px;
}

/* เนื้อหาฝั่งขวา */
.ajl-content { flex: 1 1 auto; min-width: 0; }
.ajl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ajl-title { font-size: 22px; font-weight: 700; color: #111827;/* margin: 0 0 4px; */ line-height: 1.3; }
.ajl-company { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #6b7280; }
.ajl-company .ajl-verified { width: 22px; height: 22px; }
.ajl-bookmark { background: none; border: 0; color: #1e3a8a; font-size: 22px; cursor: pointer; padding: 0; flex: 0 0 auto; }
.archeep-job-list-card .ajl-bookmark img {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    max-width: none;
    object-fit: contain;
    display: block;
}

/* รายละเอียด */
.ajl-details { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0px; }
.ajl-details li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #374151; }
.ajl-details li i, .ajl-details .ajl-baht { width: 20px; text-align: center; color: #1e3a8a; }
.ajl-details .ajl-baht { font-weight: 700; }

/* meta: สัญชาติ | ภาษา */
.ajl-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #9ca3af; margin-top: 14px; }
.ajl-meta .ajl-divider { width: 1px; height: 15px; background: #d1d5db; }

/* รายละเอียดงาน (ตัด 4 บรรทัด) */
.ajl-desc {
    font-size: 15px; color: #4b5563; line-height: 1.6; margin: 14px 0 0;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* footer */
.ajl-sep { border: 0; border-top: 1px solid #eef0f3; margin: 20px 0 0; }
.archeep-job-list-card.is-urgent .ajl-sep { border-top-color: #f5c2c2; }
.ajl-footer { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 16px; }
.ajl-date { font-size: 14px; color: #6b7280; line-height: 1.4; }
.ajl-more { font-size: 15px; font-weight: 700; color: #1e3a8a; text-decoration: none; letter-spacing: .3px; }
.ajl-more:hover { text-decoration: underline; }

/* ===== badge (ใช้ร่วมกับการ์ด swiper — ถ้าใส่ไว้ใน global แล้วข้ามได้) ===== */
.ajc-badges { display: flex; flex-wrap: wrap; gap: 8px;}
.ajc-badge { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 8px; line-height: 1; }
.ajc-badge-urgent     { background: #fdeaea; color: #e02424; }
.ajc-status-early     { background: #e6f7ee; color: #1a9d5a; }
.ajc-status-attention { background: #e1f5f7; color: #0d8fa0; }
.ajc-status-interest  { background: #e8f0fe; color: #2563eb; }
.ajc-status-gaining   { background: #e6ecfd; color: #1d4ed8; }
.ajc-status-popular   { background: #efe9fc; color: #6d28d9; }
.ajc-status-active    { background: #eae7fb; color: #5b4bd6; }
.ajc-status-high      { background: #fef0e2; color: #d97706; }
.ajc-status-hot       { background: #fde8e8; color: #dc2626; }

/* มือถือ */
@media (max-width: 575.98px) {
    .archeep-job-list-card { padding: 16px; }

    .ajl-body {
        display: grid;
        grid-template-columns: 90px 1fr;
        column-gap: 14px;
        row-gap: 10px;
        align-items: start;
    }
    .ajl-logo-box { flex-basis: auto; min-height: 0; grid-column: 1; grid-row: 1 / 3; align-self: start; }
    .ajl-logo { max-height: 90px; }
    .ajl-logo-box.is-empty::after { font-size: 28px; }

    .ajl-content { display: contents; }
    .ajl-head { grid-column: 2; }
    .ajc-badges,
    .ajl-details,
    .ajl-meta,
    .ajl-desc { grid-column: 1 / -1; margin-top: 0; }

    .ajl-title   { font-size: 18px; }
    .ajl-company { font-size: 14px; }
    .ajl-details li { font-size: 14px; }


}

/* total bar */
.ajl-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.ajl-total { font-size: 28px; font-weight: 800; color: #111827; margin: 0; }

.ajl-sort { display: inline-flex; align-items: center; gap: 8px; }
.ajl-sort-label { font-size: 15px; color: #6b7280; margin: 0; white-space: nowrap; }

.ajl-sort-select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    border: 1px solid transparent;
    background-color: transparent;
    color: #1e3a8a;
    font-size: 16px; font-weight: 600;
    line-height: 1.2;
    padding: 8px 36px 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    /* ลูกศร chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: background-color .15s ease, border-color .15s ease;
}
.ajl-sort-select:hover  { background-color: #f3f4f6; }
.ajl-sort-select:focus  { outline: none; border-color: #c7d2fe; background-color: #f8fafc; }

@media (max-width: 575.98px) {
    .ajl-total { font-size: 22px; }
    .ajl-sort  { width: 100%; justify-content: flex-end; }
    .faq-hero::before {
        height: 22vh;
    }
}

/* job card paginate */
.ajl-pagination .pagination {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 6px; margin: 0; padding: 0;
}

.ajl-pagination .pagination .page-item .page-link {
    margin-left: 0;
    border-radius: 8px;
    min-width: 40px; text-align: center;
    font-size: 15px; font-weight: 500;

    color: #1e3a8a;                     /* navy — เดียวกับไอคอน */
    background-color: #f0f4ff;          /* น้ำเงินอ่อนมาก */
    border: 1px solid #c7d2fe;          /* indigo อ่อน */
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.ajl-pagination .pagination .page-item .page-link:hover {
    background-color: #e0e7ff;
    border-color: #a5b4fc;
    color: #1e3a8a;
}

/* active */
.ajl-pagination .pagination .page-item.active .page-link {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: #ffffff;
    font-weight: 700;
}

/* disabled (prev/next ที่กดไม่ได้) */
.ajl-pagination .pagination .page-item.disabled .page-link {
    background-color: #f8fafc;
    border-color: #e5e7eb;
    color: #9ca3af;
}

@media (max-width: 575.98px) {
    .ajl-pagination .pagination { gap: 4px; }
    .ajl-pagination .pagination .page-item .page-link {
        min-width: 34px;
        padding: .35rem .55rem;
        font-size: 14px;
    }
}

/* ===== Job Detail Card ===== */
.archeep-job-detail-card {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    padding: 28px;
    display: flex; flex-direction: column;
}
.archeep-job-detail-card.is-urgent { border-color: #e02424; }

/* body row */
.ajd-body { display: flex; gap: 28px; align-items: flex-start; }

/* logo */
.ajd-logo-box {
    flex: 0 0 200px;
    min-height: 140px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; overflow: hidden;
    align-self: center;
}
.ajd-logo { max-width: 100%; max-height: 180px; object-fit: contain; display: block; }
.ajd-logo-box.is-empty { background: #eef2ff; border: 1px solid #e5e7eb; }
.ajd-logo-box.is-empty::after {
    content: "\f1ad"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    color: #1e3a8a; font-size: 48px;
}

/* content */
.ajd-content { flex: 1 1 auto; min-width: 0; }
.ajd-title { font-size: 24px; font-weight: 800; color: #111827; margin: 0 0 4px; }
.ajd-company { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #6b7280; margin-bottom: 4px; }
.ajd-company .ajd-verified { width: 22px; height: 22px; }

/* badge จาก swiper — ขยาย margin-top */
.ajd-content .ajc-badges { margin-top: 12px; }

/* details */
.ajd-details { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ajd-details li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #374151; }
.ajd-details li i, .ajd-details .ajd-baht { width: 20px; text-align: center; color: #1e3a8a; }
.ajd-details .ajd-baht { font-weight: 700; }

/* meta */
.ajd-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #9ca3af; margin-top: 14px; }
.ajd-meta .ajd-divider { width: 1px; height: 15px; background: #d1d5db; }

/* actions column */
.ajd-actions { flex: 0 0 240px; display: flex; flex-direction: column; gap: 12px; }
.ajd-btn-apply {
    width: 100%; padding: 14px 20px;
    border-radius: 16px; border: none;
    background: #1e3a8a; color: #fff;
    font-size: 16px; font-weight: 800; letter-spacing: .5px;
    cursor: pointer; text-transform: uppercase;
    transition: background .15s ease;
}
.ajd-btn-apply:hover:not(:disabled) { background: #1e40af; }
.ajd-btn-apply:disabled { background: #9ca3af; cursor: not-allowed; }

.ajd-jobtalk-wrap { text-align: center; }
.ajd-btn-jobtalk {
    width: 100%; padding: 12px 20px;
    border-radius: 16px; border: 2px solid #1e3a8a;
    background: #fff; color: #1e3a8a;
    font-size: 16px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .15s ease;
}
.ajd-btn-jobtalk:hover { background: #f0f4ff; }
.ajd-jobtalk-hint { font-size: 13px; color: #9ca3af; margin: 6px 0 0; text-align: center; }

/* footer */
.ajd-sep { border: 0; border-top: 1px solid #eef0f3; opacity: 1;  margin: 24px 0 0; }
.ajd-sep-urgent { border-top-color: #f5c2c2; }
.ajd-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; gap: 16px; flex-wrap: wrap; }
.ajd-dates { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #6b7280; }
.ajd-footer-actions { display: flex; align-items: center; gap: 20px; }
.ajd-action-btn {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 15px; font-weight: 600; color: #1e3a8a;
    background: none; border: none; cursor: pointer; padding: 0;
    text-decoration: none;
}
.ajd-action-btn:hover { text-decoration: underline; color: #1e3a8a; }
.ajd-action-saved { color: #1e3a8a; }
.ajd-action-report { color: #e02424 !important; }
.ajd-action-report:hover { color: #c01c1c !important; }

/* tags */
.ajd-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ajd-tag {
    display: inline-flex; align-items: center;
    padding: 4px 8px;
    border: 1.5px solid #1e3a8a;
    border-radius: 16px;
    background: #fff;
    font-size: 15px; font-weight: 700; color: #1e3a8a;
    letter-spacing: .3px;
}

/* slider */
.jms-switch-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}
.jms-label {
    font-size: 14px;
    color: #6b7280;
}

.jms-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.jms-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.jms-slider {
    position: absolute;
    inset: 0;
    background-color: #d1d5db;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .25s ease;
}
.jms-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transition: transform .25s ease;
}
.jms-switch input:checked + .jms-slider {
    background-color: #22c55e;
}
.jms-switch input:checked + .jms-slider::before {
    transform: translateX(20px);
}
.jms-switch input:focus-visible + .jms-slider {
    outline: 2px solid #10367D;
    outline-offset: 2px;
}

.mbtn-1 {
    border:none !important;
}

.mbtn-2 {
    max-width:45%;
    width:45%;
}
/* responsive */
@media (max-width: 991.98px) {
    .ajd-body { flex-wrap: wrap; }
    .ajd-actions { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; }
    .ajd-btn-apply, .ajd-jobtalk-wrap { flex: 1 1 calc(50% - 6px); }
    .ajd-jobtalk-wrap { display: flex; flex-direction: column; align-items: stretch; }
}
@media (max-width: 575.98px) {
    .archeep-job-detail-card { padding: 18px 20px; }
    .ajd-logo-box { flex-basis: auto; min-height: 0; width: 90px; align-self: center; grid-column: 1; grid-row: 1 / 3; }
    .ajd-logo { max-height: 90px; }
    .ajd-logo-box.is-empty::after { font-size: 20px; }
    .ajd-title { font-size: 20px; grid-column: 2; grid-row: 1; margin-bottom: 2px; }
    .ajd-btn-apply, .ajd-jobtalk-wrap { flex: 1 1 100%; }
    /*. ajd-footer { flex-direction: column; align-items: flex-start; } */
    .ajd-footer-actions { gap: 14px; justify-content: flex-start; }
    .ajd-action-label,
    .ajd-action-btn .fav-label { display: none; }
    .ajd-body { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
    .ajd-content { display: contents; }
    .ajd-company { grid-column: 2; grid-row: 2; }
    .ajc-badges { grid-column: 1 / -1; grid-row: 3; }
    .ajd-details { grid-column: 1 / -1; grid-row: 4; }
    .ajd-meta { grid-column: 1 / -1; grid-row: 5; }
    .ajd-actions { grid-column: 1 / -1; grid-row: 6; }

     /* ปิดเส้นใต้ desktop เฉพาะมือถือ */
    .my_header .fs_header_menu,
    .my_header .fs_header_menu:hover,
    .my_header .fs_header_menu:focus {
        text-decoration: none !important;
        border-bottom: 0 !important;
    }
    .my_header .fs_header_menu::before,
    .my_header .fs_header_menu::after,
    .my_header .fs_header_menu:hover::before,
    .my_header .fs_header_menu:hover::after {
        content: none !important;
    }

    /* ตัวที่ไม่ได้เลือก = เทา */
    .my_header .fs_header_menu {
        color: #6b7280 !important;
        font-size: 1rem !important;
    }

    /* ตัวที่เลือกอยู่ = น้ำเงินแบรนด์ + แถบซ้ายฟ้า */
    .my_header .fs_header_menu.active {
        color: #10367D !important;
        display: block;
        border-left: 4px solid #10367D;
        padding-left: 12px !important;
    }

    /* เอาขอบกล่อง submenu (dropdown) บนมือถือออก */
    .my_header #navbarCollapse .dropdown-menu {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* submenu items บนมือถือ: เทา default, น้ำเงินเมื่อเป็นหน้าปัจจุบัน */
    .my_header #navbarCollapse .dropdown-menu .dropdown-item {
        color: #6b7280 !important;
    }
    .my_header #navbarCollapse .dropdown-menu .dropdown-item.is-current {
        color: #10367D !important;
    }

    /* ตัวสลับภาษา EN/TH */
    .my_header .lang-switch {
        color: #6b7280;          /* เทา = ไม่ได้เลือก */
        font-weight: bold;
        text-decoration: none;
        margin-right: 12px;
    }
    .my_header .lang-switch.is-current {
        color: #10367D;          /* น้ำเงิน = ภาษาปัจจุบัน */
    }

    /* เมนูย่อยในแดชบอร์ด (มือถือ) ใช้โทนเทาเข้ม/ดำ แยกจากเมนูหลัก (เทา/น้ำเงินแบรนด์) */
    .my_header .fs_header_menu_mini {
        color: #6b7280!important;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none !important;
    }
    .my_header .fs_header_menu_mini:hover,
    .my_header .fs_header_menu_mini:focus {
        color: #6b7280!important;
    }

    .my_header .fs_header_menu_mini.active {
        color: #10367D !important;
        display: block;
        border-left: 4px solid #10367D;
        padding-left: 12px !important;
    }

    .my_header #navbarCollapse.show {
        box-shadow: inset 0 8px 10px -8px rgba(0, 0, 0, .25);
    }

    .sml-1 {
        margin-left:1.0rem !important;
    }

    .gap-4 {
        gap: 1.0rem !important;
    }

    .jv-smb-1 {
        margin-bottom: 1.0rem !important;
    }

  .ff-mobile-top{background:#fff;border:1px solid #e5e8f0;border-radius:12px;padding:14px 12px;margin:8px 8px 12px}
  .ff-mobile-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}
  .ff-mobile-kw-slot{flex:1;min-width:0}
  .ff-mobile-kw-slot .ff-kw{margin-bottom:0}
  .ff-mobile-filter-btn{width:42px;height:42px;flex-shrink:0;border:1px solid #ced4da;border-radius:50%;background:#fff;color:#1a3a6b;display:flex;align-items:center;justify-content:center}

  .mbtn-1 {
        max-width:100%;
        width:100%;
        border-radius: 1rem;
        border: 2px solid #10367D !important;
   }

    .mbtn-2 {
        max-width:100%;
        width:100%;
    }
}

/* ===== Company Job List Card (ต่อยอดจาก .archeep-job-list-card / .ajl-) ===== */
.emp-list-card { position: relative; }

.emp-status-ribbon {
    align-self: flex-start;
    margin: -24px 0 18px -24px;        /* ดึงไปแนบมุมบนซ้ายการ์ด (เท่ากับ padding การ์ด 24px) */
    padding: 10px 22px;
    border-radius: 16px 0 16px 0;      /* บนซ้ายโค้งตามการ์ด, ล่างขวาโค้งเป็นหาง */
    font-size: 14px; font-weight: 800; letter-spacing: .3px; line-height: 1;
}
.emp-status-ribbon.is-published { background: #BBD1F9; color: #1e3a8a; }
.emp-status-ribbon.is-draft { background: #FFF4CC; color: #8C6D1F;}

.emp-subline { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #9ca3af; margin-top: 4px; }
.emp-viewer-btn { background: none; border: 0; padding: 0; cursor: pointer; color: #1e3a8a; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.emp-viewer-btn:hover { text-decoration: underline; }

.emp-badge-pending { background: #fff4d6; color: #b45309; }

.emp-actions { display: flex; gap: 12px; margin-top: 20px; }
.emp-btn {
    flex: 1 1 0; padding: 8px 12px; border-radius: 16px;
    font-size: 16px; font-weight: 800; letter-spacing: .5px;
    text-transform: uppercase; text-align: center;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    transition: background .15s ease;
}
.emp-btn img { width: 20px; height: 20px; object-fit: contain; }
.emp-btn-edit { background: #1e3a8a; color: #fff; border: none; }
.emp-btn-edit:hover:not(:disabled) { background: #1e40af; color: #fff; }
.emp-btn-jobtalk { background: #fff; color: #1e3a8a; border: 2px solid #1e3a8a; font-weight: 700; }
.emp-btn-jobtalk:hover:not(:disabled) { background: #f0f4ff; color: #1e3a8a; }
.emp-btn:disabled, .emp-btn.is-disabled {
    background: #A0ABB8 !important; color: #fff !important;
    border-color: #A0ABB8 !important; cursor: not-allowed; pointer-events: none;
}

.emp-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; }
.emp-dates { display: flex; flex-direction: column; gap: 0px; font-size: 14px; color: #6b7280; }
.emp-deadline { color: #e02424; font-weight: 700; }
.emp-delete-btn {
    background: none; border: 0; padding: 6px; cursor: pointer;
    color: #e02424; font-size: 22px; line-height: 1; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    gap:4px;
}
.emp-delete-btn:hover { color: #c01c1c; }
.emp-delete-btn.is-disabled { color: #A0ABB8; cursor: not-allowed; pointer-events: none; }
.emp-delete-btn .emp-action-label { font-size: 16px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.icon-alert {
  display: inline-block;
  width: 24px;    /* ใส่ขนาดเท่าของเดิม */
  height: 24px;
  background-color: #A0ABB8;
  -webkit-mask: url('/default/ICON/icon\ 2/delete-icon.svg') no-repeat center / contain;
  mask: url('/default/ICON/icon\ 2/delete-icon.svg') no-repeat center / contain;
}

/* desktop layout (default) — ปุ่มมุมขวาบน เรียงซ้อน */
.emp-list-card .emp-actions {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 250px;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    z-index: 2;
}
.emp-list-card .ajl-content { padding-right: 274px; }
.emp-list-card .ajl-desc { margin-right: -274px; }

@media (max-width: 575.98px) {
   .emp-status-ribbon { margin: -16px 0 14px -16px; padding: 8px 16px; }

    /* reset ปุ่มกลับเข้า flow ปกติบนมือถือ */
    .emp-list-card .emp-actions {
        position: static;
        width: auto;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    .emp-list-card .ajl-content { padding-right: 0; }
    .emp-list-card .ajl-desc { margin-right: 0; }

    .emp-btn { flex: 1 1 auto; }
    .emp-action-label { display: none; }
}

/* ===== Share Job Modal ===== */
.sj-modal { border-radius: 20px; overflow: hidden; }
.sj-modal .modal-header { padding: 20px 24px 0; }
.sj-modal .modal-body { padding: 16px 24px 28px; }

.sj-social {
    display: flex; justify-content: center;
    gap: 28px; margin: 8px 0 24px;
}
.sj-icon {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #374151;
    text-decoration: none; transition: transform .15s ease;
}
.sj-icon:hover { transform: translateY(-4px); color: #374151; text-decoration: none; }
.sj-icon svg { width: 56px; height: 56px; }

.sj-or {
    font-size: 15px; font-weight: 600; color: #111827;
    text-align: center; margin: 0 0 12px;
}
.sj-url-box {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid #d1d5db; border-radius: 12px;
    padding: 12px 14px; background: #f9fafb;
}
.sj-url-text {
    flex: 1 1 auto; font-size: 14px; color: #374151;
    word-break: break-all; text-align: left;
}
.sj-copy-btn {
    flex: 0 0 auto; background: none; border: none;
    color: #1e3a8a; cursor: pointer; padding: 0;
    display: flex; align-items: center;
    transition: color .15s ease;
}
.sj-copy-btn:hover { color: #1e40af; }

@media (max-width: 575.98px) {
    .sj-social { gap: 16px; }
    .sj-icon svg { width: 48px; height: 48px; }
}

/* ===== Job Talk ===== */
.jt-ask-btn {
    background: #1e3a8a; color: #fff; border: none;
    border-radius: 50px; padding: 12px 24px;
    font-size: 15px; font-weight: 800; letter-spacing: .5px;
    text-transform: uppercase; cursor: pointer; white-space: nowrap;
    transition: background .15s ease;
}
.jt-ask-btn:hover { background: #1e40af; }

/* post wrapper */
.jt-post-inner {
    display: flex; gap: 16px; align-items: stretch;
}

/* avatar box */
.jt-avatar-box {
    flex: 0 0 160px; border-radius: 16px; padding: 20px 12px;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px; text-align: center;
}
.jt-avatar-candidate { background: #e8ecf8; color: #374151; }
.jt-avatar-company   { background: #1e3a8a; color: #ffffff; }

.jt-avatar-img  { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.jt-member-code { font-size: 13px; font-weight: 600; word-break: break-all; }
.jt-post-date   { font-size: 12px; }

/* content card */
#job-talk-section .jt-content-card {
    flex: 1 1 auto; min-width: 0;
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 16px; padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    display: flex; flex-direction: column;
    position: relative;     /* ← เพิ่ม */
}
#job-talk-section .jt-content-card .job-short-content,
#job-talk-section .jt-content-card .job-full-content,
#job-talk-section .jt-content-card .reply-short-content,
#job-talk-section .jt-content-card .reply-full-content {
    font-size: 15px; color: #374151; line-height: 1.7; flex: 1 1 auto;
}

/* bubble ซ้าย — candidate content (avatar อยู่ซ้าย) */
#job-talk-section .jt-bubble-left::before {
    content: ''; position: absolute;
    left: -11px; top: 24px;
    border: 10px solid transparent;
    border-right-color: #e5e7eb;
    border-left: 0;
}
#job-talk-section .jt-bubble-left::after {
    content: ''; position: absolute;
    left: -9px; top: 25px;
    border: 9px solid transparent;
    border-right-color: #fff;
    border-left: 0;
}

/* bubble ขวา — reply content (avatar อยู่ขวา) */
#job-talk-section .jt-bubble-right::before {
    content: ''; position: absolute;
    right: -11px; top: 24px;
    border: 10px solid transparent;
    border-left-color: #e5e7eb;
    border-right: 0;
}
#job-talk-section .jt-bubble-right::after {
    content: ''; position: absolute;
    right: -9px; top: 25px;
    border: 9px solid transparent;
    border-left-color: #fff;
    border-right: 0;
}

/* mobile — ซ่อน bubble เพราะ stack แนวตั้ง */
@media (max-width: 575.98px) {
    #job-talk-section .jt-bubble-left::before,
    #job-talk-section .jt-bubble-left::after,
    #job-talk-section .jt-bubble-right::before,
    #job-talk-section .jt-bubble-right::after { display: none; }

}
.jt-card-footer { margin-top: 12px; text-align: right; }

/* VIEW MORE / VIEW LESS — เปลี่ยน style แต่คง class ไว้ให้ JS */
.jt-view-btn {
    background: none; border: none;
    font-size: 14px; font-weight: 700; color: #1e3a8a;
    cursor: pointer; padding: 0;
}
.jt-view-btn:hover { text-decoration: underline; }

/* mobile */
@media (max-width: 575.98px) {
    .jt-post-inner { flex-direction: column; gap: 4px; }

    .jt-avatar-box {
        flex: none; width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 12px 16px; border-radius: 12px;
        gap: 10px;
    }
    .jt-avatar-text {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
        gap: 2px;
    }
    .jt-avatar-img {
        width: 42px; height: 42px; flex: 0 0 42px;
    }

    .jt-avatar-company {
        justify-content: flex-end;
    }
    /* บริษัท: ข้อความชิดขวา ใกล้รูป (รูปอยู่ท้ายสุด) */
    .jt-avatar-company .jt-avatar-text {
        align-items: flex-end;
    }
    .jt-avatar-company .jt-member-code,
    .jt-avatar-company .jt-post-date {
        text-align: right;
    }

    /* ผู้หางาน: ข้อความชิดซ้าย ใกล้รูป (รูปอยู่หน้าสุด) */
    .jt-avatar-candidate .jt-avatar-text {
        align-items: flex-start;
    }
    .jt-avatar-candidate .jt-member-code,
    .jt-avatar-candidate .jt-post-date {
        text-align: left;
    }
}
/* ===== JT Create Modal ===== */
.jt-modal { border-radius: 20px; overflow: hidden; position: relative; }
.jt-modal-close { position: absolute; top: 16px; right: 16px; z-index: 10; }
.jt-modal-title { font-size: 32px; font-weight: 800; color: #1e3a8a; margin: 0 0 6px; }
.jt-modal-subtitle { font-size: 17px; color: #6b7280; margin: 0; }

#feedbackModal .modal-dialog { max-width: 680px; }

/* 3 steps */
.jt-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 32px 12px;
}
.jt-step {
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    width: 140px; text-align: center; flex-shrink: 0;
}
.jt-step-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: #e8ecf8; color: #1e3a8a;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.jt-step span { font-size: 13px; color: #374151; font-weight: 500; }
.jt-step-line {
    flex: 1; border: none;
    border-top: 2px dashed #c7d2fe;
    margin-top: 28px; min-width: 20px;
}

/* body */
.jt-modal-desc { font-size: 15px; color: #374151; margin: 0 0 12px; }
.jt-textarea {
    border-radius: 12px; border: 1.5px solid #d1d5db;
    font-size: 15px; resize: vertical;
    min-height: 220px !important; padding: 14px; width: 100%;
}
.jt-textarea:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(165,180,252,.15);
    outline: none;
}

/* suggest + cancel + submit */
.jt-suggest-btn {
    background: none; border: none; padding: 0;
    font-size: 13px; font-weight: 800; color: #1e3a8a;
    text-transform: uppercase; letter-spacing: .3px; cursor: pointer;
}
.jt-suggest-btn:hover { text-decoration: underline; }
.jt-cancel-btn {
    background: none; border: none; padding: 0;
    font-size: 16px; font-weight: 800; color: #1e3a8a;
    text-transform: uppercase; letter-spacing: .3px; cursor: pointer;
}
.jt-cancel-btn:hover { text-decoration: underline; }
.jt-submit-btn {
    background: #1e3a8a; color: #fff; border: none;
    border-radius: 50px; padding: 14px 40px;
    font-size: 16px; font-weight: 800; letter-spacing: .5px;
    text-transform: uppercase; cursor: pointer;
    transition: background .15s;
}
.jt-submit-btn:hover:not(:disabled) { background: #1e40af; }
.jt-submit-btn:disabled { background: #9ca3af; cursor: not-allowed; }

.faq-hero {
        position: relative;
    }

    /* layer พื้นหลังไล่สี คุมความสูงด้วย vh ไม่ผูกกับ content */
    .faq-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 35vh;          /* desktop: เข้มแค่ ~30% ของ viewport */
        background: linear-gradient(
            to bottom,
            rgba(100, 149, 237, 0.40) 0%,
            rgba(100, 149, 237, 0.18) 55%,
            rgba(100, 149, 237, 0) 100%
        );
        pointer-events: none;
        z-index: 0;
    }

    /* ดันเนื้อหาให้ลอยเหนือ layer สี */
    .faq-hero > * {
        position: relative;
        z-index: 1;
    }

    .see-more-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #1e3a8a;
        font-weight: 700;
        text-decoration: none;
        font-size:1rem;
    }

    .see-more-link:hover {
        color: #1e3a8a;
        text-decoration: none;
    }

    .see-more-link i {
        font-size: 1.5rem;
    }

    .custom-shadow
    {
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 6px 16px 0 rgba(0, 0, 0, 0.06);
    }

    /* ล้าง icon เดิมของ Bootstrap ออก */
.custom-toggler .navbar-toggler-icon {
    display: none;
}

.custom-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* เพิ่ม: จัดเส้นให้กึ่งกลางแนวนอน */
    padding: 0;            /* เพิ่ม: ล้าง padding ที่ Bootstrap ดันมา */
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
}

/* กันเส้นขอบ/เงาฟ้าตอนโฟกัส ถ้าไม่อยากได้ */
.custom-toggler:focus {
    box-shadow: none;
}

.custom-toggler .toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1a3a8f; /* ปรับให้เข้ากับสีแบรนด์ */
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease;
}

/* ----- state เปิด (ไม่มี .collapsed) = X ----- */

/* เส้นบน: หมุนลงมาทับกลาง */
.custom-toggler:not(.collapsed) .toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

/* เส้นกลาง: ซ่อน */
.custom-toggler:not(.collapsed) .toggler-bar:nth-child(2) {
    opacity: 0;
}

/* เส้นล่าง: หมุนขึ้นมาทับกลาง */
.custom-toggler:not(.collapsed) .toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* mobile */
@media (max-width: 575.98px) {
    body.modal-open {
        padding-right: 0 !important;
    }
    /* #feedbackModal .modal-dialog { max-width: 400px; } */
    .jt-modal-title { font-size: 20px; }

    /* เปลี่ยนเป็นแนวตั้ง */
    .jt-steps {
        flex-direction: column;
        align-items: center;
        padding: 16px 24px 8px;
        gap: 0;
    }
    .jt-step { width: 100%; flex-direction: row; gap: 14px; text-align: left; }
    .jt-step-icon { width: 44px; height: 44px; font-size: 17px; flex-shrink: 0; }
    .jt-step span { font-size: 13px; }

    /* เส้นประแนวตั้ง */
    .jt-step-line {
        width: 2px; height: 24px;
        border-top: none;
        border-left: 2px dashed #c7d2fe;
        margin-top: 0; min-width: unset;
        align-self: flex-start;
        margin-left: 21px;    /* กึ่งกลาง icon 44/2 - 1 */
    }

    /* เปิด step ที่ 3 กลับมา */
    .jt-step:last-child,
    .jt-step-line:last-of-type { display: flex; }

    .ff-actions{
        display:flex;
        flex-direction:column;
    }
    .ff-actions button[type="submit"]{
        width:100% !important;
        max-width:100% !important;
        margin:0 0 8px 0 !important;
        order:1;
    }
    .ff-actions #ffResetBtn{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        order:2;
    }
}

.no-bullets {
    list-style-type: none;
}

.my_header .fs_header_menu .fa-chevron-down {
    transition: transform .25s ease;
}
.my_header .fs_header_menu[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}
/* Desktop main */
@media (min-width: 1024px) {
   .section-shadow {
        /* box-shadow: 0 20px 40px 10px rgba(100, 149, 237, 0.6); */
        box-shadow: 0 80px 120px 40px rgba(100, 149, 237, 0.3);
    }

    .section-shadow-big
    {
        background: linear-gradient(
            to bottom,
            rgba(100, 149, 237, 0.40) 0%,
            rgba(100, 149, 237, 0.18) 55%,
            rgba(100, 149, 237, 0) 100%
        );
    }
}


