/* 自定义样式覆盖，用于适配9GM网站样式与ThinkPHP模板 */

/* 修复顶部导航栏样式 */
#Topheader {
    background: linear-gradient(to bottom,#e7dbcd,#ffffff) !important;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.2) !important;
}

/* 修复导航菜单悬停效果 */
#Topmenu ul li:hover {
    background: linear-gradient(to bottom,#ae7253,#7b2500) !important;
}

/* 修复搜索框样式 */
.search {
    background: linear-gradient(to bottom,#ffffff,#f0dcc6) !important;
    box-shadow: 0 0 14px rgba(67, 90, 142, 0.4) !important;
}

/* 修复表格悬停效果 */
.dblist tr.jtth:hover td {
    background-color: #FFFFFF !important;
    background: linear-gradient(to bottom,#FFFFFF,#FFFFFF) !important;
}

/* 调整容器宽度适应现代屏幕 */
.container {
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* 响应式调整 */
@media screen and (max-width: 1300px) {
    .container {
        width: 100% !important;
        padding: 0 15px !important;
    }
    
    #Topheader {
        min-width: 100% !important;
    }
}

/* 修复弹窗样式 */
.tc {
    width: 500px !important;
    height: 250px !important;
    background-color: rgb(0 3 8 / 48%) !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    margin-left: -250px !important;
    margin-top: -100px !important;
    z-index: 10000 !important;
    display: none !important;
}

/* 修复导航栏固定效果 */
.nav.fixed {
    position: fixed !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
}

/* 优化表格滚动条 */
.listContainer {
    overflow-x: auto;
}

/* 修复下拉框样式 */
select {
    padding: 0 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background-color: #fff !important;
    color: #333 !important;
    height: 35px !important;
}

/* 修复按钮样式 */
.btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 20px !important;
    background-color: #865537 !important;
    background: linear-gradient(to top right,#a02e10,#601400) !important;
    color: #fff !important;
    border: 1px solid #c08c02 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.btn:hover {
    background: #b71b01 !important;
    border-color: #ffdddd !important;
}

/* 修复搜索输入框样式 */
.search .input input {
    width: 780px !important;
    height: 48px !important;
    box-sizing: border-box !important;
    border: 1px solid #cfbda8 !important;
    font-size: 16px !important;
    text-indent: 10px !important;
}

/* 页脚样式 */
#footer {
    width: 100% !important;
    height: 165px !important;
    margin: 100px auto 0px auto !important;
    background: linear-gradient(to bottom,#f2e0ca,#ffffff) !important;
    background-size: 100% auto !important;
    box-shadow: 0 4px 16px rgba(65, 65, 65, 0.4) !important;
}

#footer .center {
    width: 1300px !important;
    padding-top: 25px !important;
    padding-bottom: 20px !important;
    margin: 0 auto !important;
}

#footer .bomlogo {
    float: left !important;
    width: 200px !important;
    text-align: center !important;
    margin-top: 0px !important;
    margin-left: 10px !important;
}

#footer .bomlogo img {
    width: 200px !important;
}

#footer .box {
    float: right !important;
    line-height: 26px !important;
    text-align: right !important;
    color: #9b9ea3 !important;
    padding-right: 30px !important;
}

#footer .box p {
    line-height: 24px !important;
    font-size: 12px !important;
    color: #7a5c5c !important;
}

#footer .box p a {
    font-size: 14px !important;
    font-family: 'times new roman', times, serif !important;
    font-weight: bold !important;
    color: #af3f01 !important;
    text-decoration: underline !important;
}

#footer .box p a:hover {
    color: #b73401 !important;
}

#footer .box .tips {
    font-size: 14px !important;
    color: #602416 !important;
}

#footer .box ul {
    margin-bottom: 22px !important;
}

#footer .box ul li {
    display: inline !important;
}

#footer .box ul li a {
    color: #b23b01 !important;
    margin-right: 2px !important;
    margin-left: 8px !important;
}

#footer .box ul li a:hover {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #b21a01 !important;
    text-decoration: none !important;
}