﻿#workboxs {
    padding-top: 76px;
    min-height: 100vh;
}

.boxBg {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../img/2.webp);
    z-index: -1;
}

.job-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*padding: 20px;*/
}

.accordion-button {
    background-color: #fff;
    color: #000;
    box-shadow: none;
    border: 1px solid #ddd;
    min-height: 70px; /* 增加折叠面板的高度 */
    position: relative;
    /*padding-right: 140px;*/ /* 为“职位描述”留出空间 */
}

    .accordion-button:not(.collapsed) {
        color: #000;
        background-color: #e9ecef;
        border-color: #ddd;
    }

    .accordion-button::after {
        content: '';
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: #ddd;
    }

    .accordion-button:focus-visible {
        outline: none;
    }

    .accordion-button .description-label {
        font-size: 0.875rem;
        color: #6c757d;
        position: absolute;
        right: 60px; /* 留出安全距离 */
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
    }

.accordion-body {
    padding: 20px;
}

.apply-button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background: #007bff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

    .apply-button:hover {
        background: #0056b3;
    }

.job-item ul {
    list-style-type: none; /* 去掉默认的项目符号 */
    padding-left: 0;
    counter-reset: list; /* 初始化计数器 */
}

.job-item li {
    position: relative;
    padding-left: 30px; /* 为数字序号留出空间 */
    margin-bottom: 10px; /* 增加列表项之间的间距 */
    counter-increment: list; /* 增加计数器 */
}

    .job-item li::before {
        content: counter(list) ".";
        position: absolute;
        left: 0;
        color: #007bff; /* 数字序号颜色 */
        font-weight: bold;
    }

.salary-info {
    margin-bottom: 15px;
    font-size: 1.1rem;
    /*font-weight: bold;*/
    color: #333;
}

.salary-info p {
    margin-bottom: 0;
}

