/* 公共样式 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url("../img/bg.jpg") repeat top center fixed;
    background-size: cover;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 20px;
    padding-bottom: 60px; /* 为底部固定栏留出空间 */
    position: relative;
    min-height: 100vh;
}

#header{
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../img/header.png') repeat top center fixed;
    position: relative;
    margin-bottom: 20px;
}

h1 {
    color: white;
    text-shadow: rgb(8, 15, 23) 1px 1px 5px;
    line-height: 100%;
    font-family: 华文新魏;
}

#header h1{
    margin: 0 auto;
    padding-top: 0px;
    margin-top: -18px;
}

#logo {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

#currentTime {
    width: 150px;
    height: 10px;
    color: #1896D0;
    margin-left: 30px;
}

#ul {
    list-style: none;
}

#time {
    width: 100%;
    float: left;
}

#nowTime li{
    display: inline-block;
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#5ec0d2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#nowTime li div{
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#5ec0d2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    text-align: left;
}

#nowTime li p {
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#5ec0d2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
}

#currentTime #nowTime{
    position: absolute;
    left:20px;
    top:41px;
    font-size: 0;
}

#currentTime #nowTime li{
    display: inline-block;
    width:140px;
    height:40px;
    font-size: 30px;
    color:#fff;
}

/* 主页面特定样式 */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.box {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    background: rgba(10, 26, 58, 0.8);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    overflow: auto;
    max-height: 700px;
}

#orderSituation {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    background: rgba(10, 26, 58, 0.8);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    overflow: auto;
    max-height: 700px;
}

#orderSumSituation {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    background: rgba(10, 26, 58, 0.8);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    overflow: auto;
    max-height: 700px;
}

.chart-item {
    flex: 1;
    min-width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 6px;
    box-sizing: border-box;
    margin-left: 5%;
    background: rgba(10, 26, 58, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 表格样式 - 美化后的样式 */
.visitor-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    table-layout: fixed;
}

.visitor-table th, .visitor-table td {
    padding: 15px 20px;
    text-align: center;
    border: none;
    position: relative;
    word-wrap: break-word;
}

.visitor-table th {
    background: linear-gradient(to right, #1a3a6a, #0a1a3a);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
}

.visitor-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.visitor-table tr {
    background-color: rgba(26, 58, 106, 0.2);
    transition: all 0.2s ease;
}

.visitor-table tr:nth-child(even) {
    background-color: rgba(26, 58, 106, 0.3);
}

.visitor-table tr:hover {
    background-color: rgba(26, 58, 106, 0.5);
    transform: translateX(5px);
}

.visitor-table td {
    color: #e0e0e0;
    font-size: 14px;
    word-wrap: break-word;
}

.table-title {
    text-align: center;
    padding: 18px 0;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #1a3a6a, #0a1a3a);
    margin-bottom: 10px;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 详情按钮样式 */
.detail-btn {
    display: block;
    width: 80%;
    margin: 20px auto;
    padding: 12px 0;
    text-align: center;
    background: linear-gradient(to right, #0a1a3a, #1a3a6a);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.detail-btn:hover {
    background: linear-gradient(to right, #1a3a6a, #0a1a3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* 底部固定栏 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #0a1a3a, #1a3a6a);
    color: white;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.about-link {
    color: #1896D0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: #5ec0d2;
    text-decoration: underline;
}

/* 响应式设计 */
@media (min-width: 1080px) {
    body {
        min-width: 1080px;
    }
}

@media (min-height: 1920px) {
    body {
        min-height: 1920px;
    }
} 