

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.btn {
    outline: none; 
}

.btn:focus {
    outline: none; 
}

.btn:active {
    outline: none; 
    color: #ffffff;
}

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}





.tender-main {
    margin-top: 80px;
    margin-bottom: 120px;
}

.list-header ul li {
    font-size: 18px;
    font-weight: 400;
    color: #2C5C32;
    border-bottom: 1px solid #cccccc;
    padding: 0 250px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
button {
    border: none;
   outline: none;

}
ul {
    list-style-type: none;
}

.list-content ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #cccccc;
    padding: 30px 0;
    font-size: 16px;
    color: #414040;
}

.list-content ul li .left {
    display: flex;
    align-items: center;
}

.list-content ul li .left span:nth-child(1) {
    margin-right: 120px;
}

.list-content ul li .right span {
    margin-right: 66px;
}

.list-content ul li .right {
    display: flex;
    align-items: center;
}

.status {
    font-size: 16px;
    text-align: center;
    line-height: 31px;
    color: #EB1D24;
    width: 92px;
    height: 31px;
    background: #FDE8E9;
    height: auto;
}

.btn {
    width: 124px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    cursor: pointer;
    background-color: #2C5B39;
    color: #fff;
    font-size: 16px;
    border: none;
    outline: none;
    transition: all 0.5s ease;
}
.btn:hover {
    background-color: #ffffff;
    color: #2C5B39 !important;
    border: 1px solid #2C5B39;
}

.btn:focus, .btn:active, .btn:focus-visible {
    outline: none !important; /* 强制去除任何focus状态的边框 */
    box-shadow: none !important; /* 去除所有点击时的阴影 */
    color: #fff; /* 保持文字颜色一致 */
}



.list-content .btn:hover {
  color: #ffffff;
}
.pagination {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination .left-jt {
    display: inline-block;
    background: url(../images/pagePrev.svg.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 10px;
    margin-right: 8px;
}

.pagination .right-jt {
    display: inline-block;
    background: url(../images/pageNext.svg.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 10px;
    margin-left: 8px;
}

.pagination .prev {
    font-size: 16px;
    font-weight: 600;
    color: #2C5B39;
    margin-right: 26px;
}

.pagination .next {
    font-size: 16px;
    font-weight: 600;
    color: #2C5B39;
    margin-left: 26px;
}

.pagination a {
    color: #333;
    text-decoration: none;
}

.pagination .dot {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.pagination .current {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #2C5B39;
    color: #ffffff !important;
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .pageN {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-right: 27px;
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
}

.custom-modal {
    background-color: #F9F9F9;
    padding: 49px 139px 45px;
    width: 849px;
    position: relative;
    border-radius: 24px;
   
}

.form-box {
    margin-top: 47px;
}
input::placeholder {
    font-size: 12px;
}
.form-box form input {
    width: 274px;
    height: 32px;
    border: 0;
    outline: none;
    border: 1px solid #0000004D;
    border-radius: 3px;
    padding-left: 12px;
}

.form-box form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 27px;
}

.form-box button {
    outline: none;
    border: 2px solid #2C5B39;
    background-color: transparent;
    width: 127px;
    height: 39px;
    font-family: PingFang SC;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C5B39;
    margin: 0 auto;
    transition: all 0.5s ease;
}
.form-box button:hover {
    color: #ffffff;
    background-color: #2C5B39;
}
.form-box form .icon {
    color: #EB1D24;
}

.input-box:nth-child(3),
.input-box:nth-child(4),
.input-box:nth-child(5),
.input-box:nth-child(6){
    position: relative;
}

.input-box:nth-child(3) .icon,
.input-box:nth-child(4) .icon,
.input-box:nth-child(5) .icon, 
.input-box:nth-child(6) .icon {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close {
    position: absolute;
    top: 1.9%;
    right: 23%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 31px;
    z-index: 9999;
} 

.modal-close img {
    width: 41px;
}
.submit-btn {
    margin-top: 30px;
}







/* 参与我们 */

.joinus  {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 80px 0 120px;
}
.joinus ul {
    display: flex;
}
.joinus ul li {
    width: 249px;
    height: 308px;
    border: 1px solid #cccccc;
    font-size: 16px;
    font-weight: 400;
    line-height: 57.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;


}
.joinus ul li:nth-child(1) {
 margin-right: 100px;
}
.joinus ul li .icon {
    display: inline-block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: #2C5C32;
    border: 2px solid #18411F;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.joinus ul li .icon  img {
    width: 37px;
}

.joinus ul li button {
    border: 2px solid #2C5B39;
    width: 127px;
    height: 39px;
    background-color: transparent;
    font-family: PingFang SC;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    text-align: center;
    margin-top: 40px;
   transition: all 0.5s ease;
   color: #2C5B39;
}
.joinus ul li button:hover {
    background-color: #2C5B39;
    color: #ffffff;
}


/* 响应式 CSS 开始 */


/* .custom-modal-overlay {
     
    overflow-y: auto; 
    padding: 40px; 
    box-sizing: border-box;
}


.custom-modal{
    max-width: 90%; 
    max-height: 70vh; 
    overflow-y: auto; 

}
.modal-close {
    top: 8%;
    right: 5%;
}
*/
 @media screen and (max-width: 1661px) {
    .modal-close {
        top: 3%;
        right: 16%;
    }
}  
@media screen and (max-width: 1454px) {
    .modal-close {
        top: 1%;
        right: 9%;
    }
}
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    .list-header ul li {
        padding: 0 50px 24px;
    }

    .list-content ul li .left span:nth-child(1) {
        margin-right: 50px;
    }

    .list-content ul li .right span {
        margin-right: 30px;
    }

    .list-header ul li,
    .list-content ul li {
        font-size: 16px;
    }

    .pagination .prev {
        margin-right: 15px;
    }

    .pagination .next {
        margin-left: 15px;
    }

    .pagination .current,
    .pagination .pageN {
        margin-right: 10px;
    }

    .custom-modal {
        width: 80%;
        padding: 30px;
    }

    .modal-close {
        top: 8%;
        right: 5%;
    }

    .form-box form input {
        width: 100%;
    }

    .form-box form {
        grid-template-columns: 1fr;
    }
    .custom-modal-overlay {
     
        overflow-y: auto; /* 当内容超过屏幕时允许垂直滚动 */
        padding: 40px; /* 给边缘留一些间距 */
        box-sizing: border-box;
    }
    

    .custom-modal{
        max-width: 90%; /* 限制宽度使其适应小屏幕 */
        max-height: 70vh; /* 限制最大高度，防止超出屏幕 */
        overflow-y: auto; /* 当内容超出时在弹窗内滚动 */
  
    }
    .modal-close {
        top: 8%;
        right: 5%;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    .tender-main {
        margin-top: 50px;
        margin-bottom: 80px;
    }
    .list-header ul li,
    .list-content ul li {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .list-header ul li {
        padding-bottom: 24px;
    }

    .list-content ul li .left,
    .list-content ul li .right {
        width: 100%;
    }
    .list-content ul li .left {
        justify-content: space-between;
        align-items: center;
    }
    .list-content ul li .left {
        margin-bottom: 10px;
    }

    .list-content ul li .right {
        align-items: center;
        justify-content: space-between;
    }

    .list-content ul li .left span:nth-child(1),
    .list-content ul li .right span {
        margin-right: 0;
       
    }

    .btn {
        width: 40%;
        padding: 8px 15px;
        
    }

    .list-header ul li,
    .list-content ul li {
        font-size: 16px;
 
    }
    .list-header ul li span {
        margin-bottom: 6px;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 50px;
    }

    .pagination .prev,
    .pagination .next,
    .pagination .current,
    .pagination .pageN {
        margin: 5px;
    }

    .custom-modal {
        width: 90%;
        padding: 20px;
    }

    .modal-close {
        top: 8%;
        right: -3%;
    }
    .form-box form input {
        width: 100%;
    }

    .form-box form {
        grid-template-columns: 1fr;
    }
    .joinus ul {
     flex-direction: column;
    }
    .joinus ul li:nth-child(1) {
        margin-right: 0;
        margin-bottom: 30px;
       }
/* ------------------------------------ */
       .custom-modal-overlay {
     
        overflow-y: auto; /* 当内容超过屏幕时允许垂直滚动 */
        padding: 20px; /* 给边缘留一些间距 */
        box-sizing: border-box;
    }
    

    .custom-modal{
        max-width: 90%; /* 限制宽度使其适应小屏幕 */
        max-height: 70vh; /* 限制最大高度，防止超出屏幕 */
        overflow-y: auto; /* 当内容超出时在弹窗内滚动 */
  
    }
       
}
@media screen and (max-width: 390px) {
    .container {
        padding: 0 10px;
    }
    .list-header ul li, .list-content ul li {
        padding: 10px 0;
    }
    .btn {
        width: 35%;
        padding: 6px 12px;
        font-size: 14px;
    }
    .list-header ul li, .list-content ul li {
        font-size: 14px;
    }
    .status {
        width: 85px;
        height: 28px;
        font-size: 14px;
    }
}
@media screen and (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    .list-header ul li, .list-content ul li {
        padding: 10px 0;
    }
    .btn {
        width: 35%;
        padding: 6px 12px;
        font-size: 14px;
    }
    .list-header ul li, .list-content ul li {
        font-size: 14px;
    }
    .status {
        width: 85px;
        height: 28px;
        font-size: 14px;
    }
}
   

/* 响应式 CSS 结束 */



/* .custom-modal-overlay {
    overflow: visible; 
}

.custom-modal {
    overflow: visible; 
} */
