/* job-detail.css — ported from view-html/tuyen_dung/chi-tiet-tuyen-dung.css */

/* Header override: solid white + navy border (no hero banner on detail page) */
.mpc-header {
    position: relative !important;
    background: #ffffff !important;
    border-bottom: 35px solid #1c2b5e !important;
}

.mpc-header::after {
    display: none !important;
}

.nav-menu li a {
    color: #333333 !important;
    text-shadow: none !important;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: transparent !important;
    color: #e1251b !important;
}

.header-language {
    border-color: #ddd !important;
    background: transparent !important;
}

.header-language:hover {
    border-color: #ccc !important;
    background: #f5f5f5 !important;
}

.header-language span {
    color: #333333 !important;
}

.dropdown-icon {
    color: #666666 !important;
}

.mobile-menu-toggle {
    border-color: #ddd !important;
    background: transparent !important;
}

.mobile-menu-toggle span {
    background-color: #333333 !important;
}

/* ---- Main content ---- */
.job-detail-main {
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    color: #444;
    padding-top: 30px;
}

.job-detail-main .breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    background-color: transparent;
    padding: 0;
    justify-content: center;
}

.job-detail-main .breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-detail-main .breadcrumb a:hover {
    color: #e1251b;
}

.job-detail-main .breadcrumb .separator {
    color: #e1251b;
    margin: 0 8px;
    font-size: 16px;
}

.job-detail-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    color: #333333;
    margin-bottom: 15px;
}

.job-meta {
    font-size: 14px;
    color: #999;
}

.job-meta i {
    margin-right: 5px;
}

.job-description {
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #333333;
}

.job-description p {
    margin-bottom: 20px;
}

.job-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.job-description li {
    margin-bottom: 6px;
}

/* ---- Apply button ---- */
.apply-btn {
    background-color: #DF1F28;
    border-color: #DF1F28;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 294px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.apply-btn:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: white;
}

.apply-btn-sidebar {
    padding: 15px 30px;
    font-size: 18px;
}

/* ---- Sidebar ---- */
.sidebar-column {
    padding-left: 50px;
}

.other-jobs-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: #333333;
    margin-bottom: 25px;
}

.other-jobs-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.other-jobs-list li .dot {
    color: #333333;
    margin-right: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.other-jobs-list li a {
    color: #333333;
    text-decoration: none;
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.other-jobs-list li a:hover {
    color: #e1251b;
}

/* ---- Modal ---- */
.custom-modal .modal-content {
    border-radius: 4px;
    padding: 10px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.custom-close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: #333333;
    opacity: 1;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    transition: background-color 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.custom-close-btn:hover {
    background-color: #333333;
    color: white;
}

.custom-close-btn i {
    font-size: 24px;
}

.form-title {
    font-size: 22px;
    line-height: 30px;
    color: #333333;
    font-weight: 700;
}

.form-label-custom {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 8px;
}

.form-control-custom {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control-custom:focus {
    border-color: #DF1F28;
    box-shadow: none;
}

.file-upload-custom {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #333333;
    font-size: 14px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.file-upload-custom:hover {
    background-color: #eeeeee;
}

.submit-apply-btn {
    background-color: #DF1F28;
    border-color: #DF1F28;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 160px;
    height: 50px;
}

.submit-apply-btn:hover {
    background-color: #c81c24;
    border-color: #c81c24;
}

.modal-backdrop {
    background-color: #1a1a1a;
}

.modal-backdrop.show {
    opacity: 0.9;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .sidebar-column {
        padding-left: 15px;
        display: flex;
        flex-direction: column;
        margin-top: 30px !important;
    }

    .apply-btn-sidebar {
        order: 2;
        margin-top: 30px;
        margin-bottom: 20px !important;
    }

    .other-jobs-section {
        order: 1;
    }
}

@media (min-width: 640px) and (max-width: 959px) {
    .job-detail-main {
        padding-top: 15px;
    }

    .job-detail-title {
        font-size: 20px;
        line-height: 28px;
    }

    .job-description {
        font-size: 16px;
        line-height: 24px;
    }

    .apply-btn {
        width: 100%;
        height: 55px;
    }

    .other-jobs-title {
        font-size: 16px;
    }

    .other-jobs-list li a {
        font-size: 16px;
        line-height: normal;
    }
}

@media (max-width: 639px) {
    .job-detail-main {
        padding-top: 10px;
    }

    .job-detail-main .breadcrumb {
        margin-bottom: 20px;
    }

    .job-detail-title {
        font-size: 18px;
        line-height: 26px;
    }

    .job-description {
        font-size: 15px;
        line-height: 24px;
    }

    .apply-btn {
        width: 100%;
        height: 50px;
        font-size: 16px;
    }

    .other-jobs-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .other-jobs-list li {
        margin-bottom: 12px;
    }

    .other-jobs-list li a {
        font-size: 15px;
        line-height: 24px;
    }

    .sidebar-column {
        margin-top: 30px !important;
    }
}
