/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    background-color: #fff;
    overflow-x: hidden;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
}

.page-title {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(to bottom, #3654e8, #00c6ff);
    color: white;
    padding: 20px;
    display: flex;
    position: relative;
    min-height: 180px;
}

.banner-content {
    flex: 1;
    z-index: 1;
}

.banner-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-desc {
    font-size: 14px;
    opacity: 0.9;
}

.banner-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    text-align: right;
}

.banner-image img {
    max-width: 100%;
    height: auto;
}

/* 子横幅样式 */
.sub-banner {
    background-color: #0056b3;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: -1px;
}

/* 卡片容器样式 */
.card-container {
    padding: 15px;
    display: flex;
    gap: 15px;
}

/* 左侧卡片 */
.green-card {
    background-color: #43d29e;
    position: relative;
    padding: 10px 0px 0px 10px;
    height: 130px;
    width: 50%;
}

/* 右侧卡片容器 */
.right-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 卡片通用样式 */
.card {
    border-radius: 10px;
    color: white;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.blue-card, .purple-card {
    display: flex;
    align-items: center;
    padding: 15px 0px 15px 20px;
    height: 60px;
}

.blue-card {
    background-color: #33b5e5;
}

.purple-card {
    background-color: #aa99ff;
}

.card-content {
    flex: 1;
}

.card h3 {
    font-size: 16px;
    font-weight: normal;
}

.card p {
    font-size: 14px;
    opacity: 0.8;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-card .card-content {
    text-align: left;
    width: auto;
}

.green-card .card-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: none;
    width: 80px;
    height: 80px;
    margin-top: 0;
}

.blue-card .card-icon,
.purple-card .card-icon {
    width: 40px;
    height: 40px;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
}

.green-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.green-card p {
    font-size: 14px;
    opacity: 0.9;
}

.blue-card h3,
.purple-card h3 {
    font-size: 14px;
    font-weight: 500;
}

/* 新闻部分样式 */
.news-section {
    padding: 20px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.news-item {
    display: flex;
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.news-image {
    width: 120px;
    height: 80px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    padding: 10px;
}

.news-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.news-meta {
    font-size: 12px;
    color: #888;
}

/* 底部导航栏样式 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.nav-item.active {
    color: #00b38a;
}

.nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.repair-button {
    margin-top: -25px;
}

.repair-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #0acd8a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.repair-icon-wrapper img {
    width: 30px;
    height: 30px;
    margin: 0;
} 