/* 公共样式 */
*{
    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;
    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: 160%;
    font-family: 华文新魏;
}

#header h1{
    margin: 0 auto;
    padding-top: 0px;
    margin-top: -18px;
}

#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;
}

/* 返回主页按钮容器 */
#backButton {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 1000;
}

#backButton a {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #0a1a3a, #1a3a6a);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#backButton a:hover {
    background: linear-gradient(to right, #1a3a6a, #0a1a3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

#backButton a:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#backButton a::before {
    content: "← ";
    margin-right: 5px;
}

/* 页面2特定样式 */
.chart-container {
    display: flex;
    width: 90%;
    margin: 20px auto;
    gap: 20px;
}

.chart-box {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

#evaluationChart {
    width: 100%;
    height: 400px;
}

#environmentChart {
    width: 100%;
    height: 400px;
}

#coreAreaAnalysisTable {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    color: white;
}

#coreAreaAnalysisTable th, #coreAreaAnalysisTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#coreAreaAnalysisTable th {
    background-color: rgba(255, 255, 255, 0.2);
}

#coreAreaAnalysisTable tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

#areaAnalysisChart {
    width: 90%;
    height: 400px;
    margin: 20px auto;
}

#streetBuildingChart {
    width: 90%;
    height: 400px;
    margin: 20px auto;
}

/* 响应式设计 */
@media (min-width: 1080px) {
    body {
        min-width: 1080px;
    }
}

@media (min-height: 1920px) {
    body {
        min-height: 1920px;
    }
} 