:root {
    --blue-900: #0d2c55;
    --blue-700: #246ab0;
    --blue-500: #49a7df;
    --blue-200: #d6edf9;
    --orange-500: #ff8c00;
    --gray-100: #f5f8fb;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --text-primary: #1f2933;
    --text-secondary: #4b5563;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Yu Gothic', 'YuGothic', 'メイリオ', Meiryo, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    color: var(--text-primary);
    line-height: 1.7;
    background: #E4EDF6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

main {
    padding-bottom: 60px;
    position: relative;
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/common/img/bg.png) no-repeat center 300px;
    background-size: 100% auto;
    opacity: 0.4;
    mix-blend-mode: multiply;
    z-index: -1;
}

.container {
    min-width: 1366px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 136px;
    height: auto;
}

.logo-subtitle {
    display: none;
}


.header-title {
    position: absolute;
    font-size: 12px;
    top: -8px;
    left: 50px;
    ;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0f0f0;
    padding: 0px 10px 0 10px;
    border-radius: 30px;
}

.btn-register,
.btn-login {
    display: none;
}

.btn-recent,
.btn-search-header,
.header-business-link,
.header-staff-link {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    color: #fff;
}

.header-staff-link {
    padding-right: 0;
}

.header-business-link {
    padding-left: 0;
}

.btn-recent {
    background: var(--blue-500);
}

.btn-search-header {
    background: var(--blue-700);
}

.header-business-link,
.header-staff-link {
    background: transparent;
    color: black;
    font-weight: normal;
    font-size: 13px;
}

.header-help-link {
    color: black;
    font-weight: normal;
    font-size: 13px;
    padding: 0 20px;
    border-left: 1px solid black;
}

.btn-icon {
    width: 30px;
    height: 30px;
}

.header-link {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-recent:hover,
.btn-search-header:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 40px 0 24px;
}

.hero-content {
    display: grid;
    grid-template-columns: 760px 1fr;
    gap: 15px;
    align-items: stretch;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 550px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
    background: linear-gradient(120deg, rgba(36, 106, 176, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-copy {
    font-size: 20px;
    letter-spacing: 0.08em;
}

.hero-brand {
    font-size: clamp(48px, 4vw, 64px);
    font-weight: bold;
    line-height: 1;
}

.hero-sub {
    font-size: 16px;
    margin-top: 8px;
}

.search-box {
    background: #F8F8F8;
    border: 2px solid #005BAC;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    /* Removed border */
    padding-bottom: 0;
    margin-bottom: 15px;
}

.search-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.search-heading {
    font-size: 18px;
    font-weight: bold;
    color: var(--blue-700);
}

.search-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
}

.search-date {
    color: #e67e22;
    /* Orange */
    font-weight: bold;
}

.search-count {
    font-weight: bold;
}

.search-form select,
.search-form input[type="text"] {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 13px;
    background: #fff;
}

.search-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-group label {
    width: 100px;
    /* Fixed width */
    font-size: 13px;
    font-weight: bold;
    color: var(--blue-700);
    background: #fff8dc;
    /* Cornsilk background for labels */
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    /* Center align text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group select,
.form-group input {
    flex: 1;
}

.salary-group {
    display: flex;
    gap: 5px;
    flex: 1;
}

.salary-type {
    width: 70px !important;
}

.salary-amount {
    flex: 1;
}

.search-footer {
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.search-results {
    text-align: right;
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.checkbox-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkbox-group label {
    display: flex;
    gap: 6px;
    align-items: center;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-clear,
.btn-search {
    flex: 1;
    padding: 14px 18px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-clear {
    background: var(--gray-200);
    color: var(--text-secondary);
}

.btn-search {
    background: #e67e22;
    /* Orange */
    color: #fff;
    box-shadow: none;
    /* Remove shadow */
}

.btn-clear:hover,
.btn-search:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Statistics */
.statistics {
    margin: 32px 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.stat-card {
    background: linear-gradient(135deg, #1c6fd8, #49a7df);
    color: #fff;
    border-radius: 8px;
    /* Reduced radius */
    padding: 24px;
    box-shadow: none;
    /* Removed shadow */
}

.stat-label {
    font-size: 14px;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin: 8px 0;
}

.stat-note {
    font-size: 13px;
    opacity: 0.9;
}

/* Catchphrase */
.catchphrase {
    margin: 20px 0 40px;
}


.catchphrase h2 {
    font-size: 36px;
    text-align: center;
    font-family: 'GenNoGothicJP', sans-serif;
    font-weight: normal;
}

/* Job categories */
.job-categories {
    padding: 20px 0 40px;
}

.category-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.category-section {
    position: relative;
    border: 2px solid #ddd;
    /* Default border */
    border-radius: 12px;
    padding: 40px 20px 20px;
    background: #fff;
    margin-top: 20px;
    /* Space for the overlapping title */
}

.category-section.urgent {
    border-color: #EF5252;
}

.category-section.new {
    border-color: #83A8D2;
}

.category-section.recommend {
    border-color: #B2AA76;
}

.category-section.intro {
    border-color: #94B276;
}

.category-section.recent {
    border-color: #00A5EA;
}

.category-section+.category-section {
    margin-top: 20px;
}

.category-header {
    position: absolute;
    top: -22px;
    left: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.category-title-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 30px;
    border-radius: 999px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    min-width: 240px;
    pointer-events: auto;
    /* Ensure minimum width */
}

.category-title-link:hover {
    opacity: 1;
    /* Override default hover opacity if needed */
}

.category-arrow {
    font-size: 14px;
    margin-left: auto;
    /* Push to right if needed, though space-between handles it */
}

.category-title-link.urgent {
    background: #EF5252;
}

.category-title-link.new {
    background: #83A8D2;
}

.category-title-link.recommend {
    background: #B2AA76;
}

.category-title-link.intro {
    background: #94B276;
}

.category-title-link.recent {
    background: #00A5EA;
}

.category-more {
    font-size: 13px;
    color: var(--blue-700);
    font-weight: bold;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 15px;
}

.job-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .job-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-grid-4 {
        grid-template-columns: 1fr;
    }
}

.job-card {
    background: #fff;
    /* Remove shadow */
    position: relative;
    overflow: hidden;
    padding: 15px 0 0 0;
}

.job-card-image {
    height: 200px;
    object-fit: cover;
}

.job-card-body {
    padding: 16px;
    font-size: 14px;
}

.job-card .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #00A5EA;
}

/* FAQ */
.faq {
    padding: 50px 0;
    margin-top: 30px;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 8px;
    /* Reduced radius */
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: var(--gray-100);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
}

.faq-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.faq-icon-answer {
    background-color: #00A5EA;
    border-radius: 15%;
}

.faq-question span:not(.faq-icon) {
    flex: 1;
    font-size: 15px;
    font-weight: bold;
}

.faq-toggle {
    border: none;
    background: var(--blue-700);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle::before {
    content: '+';
    line-height: 1;
}

.faq-item.active .faq-toggle::before {
    content: '-';
}

.faq-answer {
    display: none;
    padding: 0 22px 22px;
}

.faq-item.active .faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.faq-item.active .faq-answer-text {
    padding-top: 8px;
}

/* Footer */
.footer {
    background: #fff;
    color: #444;
    padding: 40px 0 30px;
    margin-top: 40px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    width: 120px;
    margin: auto;
}

.footer-tagline,
.footer-info {
    font-size: 13px;
}

.footer-divider::before {
    content: '｜';
    margin: 0 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .search-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .header-title {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .hero-overlay {
        padding: 28px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .catchphrase-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card__media {
        width: 100%;
        height: 180px;
    }

    .job-search__pagination a,
    .job-search__pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ===========================================
   Job Detail Page
   =========================================== */
.job-detail-card {
    padding: 30px;
    position: relative;
    background: #fff;
    border: 1px solid #005BAC;
    border-radius: 8px;
    margin-bottom: 60px;
}

/* Breadcrumbs */
.job-detail__breadcrumbs {
    font-size: 12px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.job-detail__breadcrumbs a {
    text-decoration: underline;
    color: var(--text-secondary);
}

.job-detail__breadcrumbs a:hover {
    text-decoration: none;
}

.job-detail__breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 8px;
}

.job-detail__breadcrumbs li::after {
    content: ">";
    margin-left: 8px;
}

.job-detail__breadcrumbs li:last-child::after {
    content: none;
}

/* Header / Hero */
.job-detail__header {
    margin-bottom: 40px;
}

.job-detail__title-area {
    margin-bottom: 20px;
}

.job-detail__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

/* Badge colors matching image */
.badge-new {
    background-color: #ff0000;
    color: #fff;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
}

.badge-type {
    background-color: #fffacd;
    /* Light yellow */
    color: #333;
    border: 1px solid #dacec0;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
}

.job-detail__title {
    font-size: 24px;
    font-weight: bold;
    color: var(--blue-700);
    margin-bottom: 8px;
    line-height: 1.4;
    border-bottom: 1px solid var(--blue-200);
    /* Underline style from image assumption */
    padding-bottom: 10px;
}

.job-detail__company-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
}

.job-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag-item {
    border: 1px solid var(--blue-500);
    color: var(--blue-700);
    font-size: 12px;
    padding: 2px 8px;
    background: #fff;
    border-radius: 2px;
}

/* Top Content Grid (Image + Summary) */
.job-detail__top-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.job-detail__main-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.job-detail__summary {
    background: #fff;
}

.job-detail__catch {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-detail__body-text {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.summary-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}

.summary-table th,
.summary-table td {
    padding: 8px 0;
    text-align: left;
}

.summary-table th {
    white-space: nowrap;
    width: 80px;
    color: var(--text-secondary);
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-table th img {
    width: 20px;
    height: auto;
    vertical-align: middle;
}

.summary-table th i {
    color: var(--blue-500);
    margin-right: 4px;
    width: 16px;
    text-align: center;
}

.summary-table td {
    width: 80%;
}

/* Tables Sections */
.job-detail__section {
    margin-bottom: 50px;
}

.job-detail__section-header {
    background: var(--blue-700);
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid #ddd;
}

.detail-table th,
.detail-table td {
    border: 1px solid #ddd;
    padding: 15px;
    vertical-align: top;
}

.detail-table th {
    background: #fffacd;
    /* Light creamy background */
    width: 20%;
    min-width: 140px;
    font-weight: bold;
    color: #333;
}

.detail-table td {
    background: #fff;
    line-height: 1.8;
}

/* Floating Action Buttons (PC Layout: Fixed Right Side) */
.floating-actions {
    position: fixed;
    top: 200px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.floating-btn {
    display: inline-block;
    width: 60px;
    transition: opacity 0.3s;
    margin-top: 15px;
}

.floating-btn:hover {
    opacity: 0.7;
}

.floating-btn img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .job-detail__top-content {
        grid-template-columns: 1fr;
    }

    .floating-actions {
        /* On mobile, usually bottom fixed bar */
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        gap: 0;
        border-radius: 0;
        right: auto;
    }


}

/* Recently Viewed */
.recent-jobs {
    margin-top: 60px;
    border-top: 2px solid var(--blue-500);
    padding-top: 30px;
}

.recent-jobs__title {
    background: var(--blue-500);
    color: #fff;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    top: -46px;
    /* Pull up to overlap border */
}

/* ===========================================
   Job Search Page - 2 Column Layout
   =========================================== */
.job-search {
    padding: 40px 0;
}

.job-search__header {
    text-align: center;
    margin-bottom: 30px;
}

.job-search__eyebrow {
    font-size: 14px;
    color: var(--blue-700);
    font-weight: bold;
    margin-bottom: 8px;
}

.job-search__title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 12px;
}

.job-search__subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.job-search__total {
    font-size: 16px;
}

.job-search__total strong {
    font-size: 24px;
    color: var(--blue-700);
}

/* 2-Column Layout */
.job-search__body {
    display: grid;
    grid-template-columns: 338px 1fr;
    gap: 30px;
    align-items: start;
}

/* Left Sidebar - Search Filters */
.job-search__filters {
    position: sticky;
    top: 100px;
}

.job-search__filters .search-box {
    margin-bottom: 20px;
}

.job-search__filters .search-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--blue-700);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--blue-500);
}

.job-search__filters .search-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 15px;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
}

.job-search__filters .form-group {
    margin-bottom: 12px;
    /* Ensure flex layout to allow wrap/shrink if needed, but usually row */
}

.job-search__filters .form-group label {
    font-size: 12px;
    padding: 6px 8px;
    min-width: 80px;
    /* Adjust as needed */
    background: #fff8dc;
    color: var(--blue-700);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.job-search__filters .form-group select,
.job-search__filters .form-group input {
    font-size: 13px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    /* Force full width within flex item */
    min-width: 0;
    /* Allow shrinking */
    flex: 1;
    /* Take remaining space */
}

/* Right Column - Search Results */
.job-search__results {
    min-width: 0;
}

.job-search__results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.job-search__results-count {
    font-size: 16px;
    margin-bottom: 4px;
}

.job-search__results-count strong {
    font-size: 24px;
    color: var(--blue-700);
}

.job-search__results-note {
    font-size: 12px;
    color: var(--text-secondary);
}

.job-search__results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-search__results-sort label {
    font-size: 13px;
    font-weight: bold;
}

.job-search__results-sort select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

/* Active Filters */
.job-search__filters-active {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-bottom: 20px;
}

.job-search__filter-chip {
    background: var(--blue-200);
    color: var(--blue-700);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: bold;
}



/* Pagination Styles (Bootstrap Override) */
.job-search__pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.job-search__pagination .pagination {
    margin-bottom: 0;
    gap: 5px;
}

.job-search__pagination .page-item .page-link {
    color: var(--blue-700);
    border: 1px solid var(--blue-500);
    border-radius: 4px;
    margin: 0 2px;
    padding: 8px 14px;
    font-weight: bold;
}

.job-search__pagination .page-item.active .page-link {
    background-color: var(--blue-700);
    border-color: var(--blue-700);
    color: #fff;
}

.job-search__pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 1024px) {
    .job-search__body {
        grid-template-columns: 1fr;
    }

    .job-search__filters {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .job-search__results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .job-search__results-sort {
        width: 100%;
    }

    .job-search__results-sort select {
        flex: 1;
    }
}

/* Modal Area Design */
.modal_job_search .modal_content {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    max-width: 900px;
    /* Wider for area list */
}

.modal_job_search .modal_wrap h3 {
    text-align: center;
    color: #007bff;
    font-weight: bold;
    padding: 20px 0;
    margin: 0;
    font-size: 1.4rem;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.modal_job_search .modal_wrap_inner {
    padding: 20px 40px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal_job_search .modal_wrap h4 {
    background-color: #CAF0F8;
    /* Light Blue */
    padding: 10px 15px;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    color: #333;
}

.modal_job_search .modal_wrap label {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.modal_job_search .modal_wrap label:hover {
    color: #007bff;
}

.modal_job_search .modal_close_button {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

/* Modal Footer */
.job_search_form_buttons {
    background-color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #007bff;
}

.job_result_search_count {
    font-weight: bold;
    font-size: 1.2rem;
}

.job_result_search_count span.total_count {
    font-size: 1.8rem;
    margin: 0 5px;
}

/* Modal Buttons (reusing/matching search form design) */
.btn-modal-clear {
    background: #ccc;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-modal-submit {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    /* Blue Gradient */
    background: #2e75b6;
    /* Fallback */
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-modal-clear:hover,
.btn-modal-submit:hover {
    opacity: 0.8;
}

/* CSS Close Button for Modal */
.btn-close-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.2s;
    cursor: pointer;
}

.btn-close-modal:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

.btn-close-modal::before {
    content: "×";
    display: block;
    margin-top: -2px;
    /* Fine-tune vertical alignment */
}

/* ===========================================
   Job Search Result Card
   =========================================== */
.job-result-card {
    background: #fff;
    border: 2px solid #005BAC;
    /* Dark Blue Border */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.job-result-card__header-top {
    padding: 12px 15px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-result-card__title {
    background: #FFF9C4;
    /* Yellow Band */
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    color: #00A5EA;
    margin: 0;
    line-height: 1.4;
}

.job-result-card__title a {
    text-decoration: none;
    color: #00A5EA;
}

.job-result-card__body {
    padding: 15px;
}

.job-result-card__company {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 15px;
}

.job-result-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.job-result-card__tags .tag-item {
    border: 1px solid #00A5EA;
    color: #00A5EA;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
}

.job-result-card__content {
    display: flex;
    gap: 20px;
}

.job-result-card__image {
    width: 240px;
    flex-shrink: 0;
}

.job-result-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}

.job-result-card__image .no-image {
    width: 100%;
    height: 160px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border-radius: 4px;
}

.job-result-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-result-table {
    width: auto;
    font-size: 14px;
}

.job-result-table th {
    padding: 0 20px 8px 5px;
    color: #333;
    font-weight: normal;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.job-result-table th img {
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-bottom: 0px;
}

.job-result-table td {
    padding-bottom: 8px;
    color: #333;
    font-weight: 500;
    width: 80%;
}

.btn-detail {
    display: inline-block;
    background: #2D9CDB;
    /* Blue */
    color: #fff;
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-detail:hover {
    opacity: 0.9;
    color: #fff;
}

@media (max-width: 768px) {
    .job-result-card__content {
        flex-direction: column;
    }

    .job-result-card__image {
        width: 100%;
    }

    .job-result-card__image img {
        height: auto;
        aspect-ratio: 16/9;
    }

    .btn-detail {
        width: 100%;
        text-align: center;
    }
}

/* Application Buttons */
.application-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin: 16px auto;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    line-height: 1;
}

.application-btn:hover {
    opacity: 0.9;
}

.application-btn--apply {
    background-color: #F89F38;
    color: #fff;
}

.application-btn--apply:hover {
    color: #fff;
}

.application-btn--call {
    background-color: #59B152;
    color: #fff;
}

.application-btn--call:hover {
    opacity: 0.9;
}

.application-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.application-btn {
    margin: 0;
    /* Override auto margin */
}

@media (max-width: 480px) {
    .application-buttons-wrapper {
        flex-direction: column;
        gap: 15px;
    }
}

/* Job detail slider */
.job-slider {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.job-slider__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.job-slider__track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.job-slider__slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.job-slider__slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.job-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.job-slider__nav:hover,
.job-slider__nav:focus {
    background: rgba(0, 0, 0, 0.6);
}

.job-slider__nav--prev {
    left: 12px;
}

.job-slider__nav--next {
    right: 12px;
}

.job-slider__thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.job-slider__thumbnail {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.job-slider__thumbnail img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.job-slider__thumbnail.is-active {
    border-color: #00A5EA;
}

@media (max-width: 768px) {
    .job-slider__slide img {
        height: 240px;
    }

    .job-slider__thumbnail img {
        width: 72px;
        height: 48px;
    }

    .job-slider__nav {
        width: 36px;
        height: 36px;
    }
}

@media (hover: none) {
    .job-slider__nav {
        background: rgba(0, 0, 0, 0.55);
    }
}
