/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本body样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    color: #333;
}

/* 底部导航栏 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33.33%;
    text-decoration: none;
    color: #999;
}

.footer-icon {
    font-size: 28px;
    margin-bottom: 0px;
    display: inline-block;
    line-height: 1;
}

.footer-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-text {
    font-size: 12px;
    color: #999;
}

.footer-item.active {
    color: #4caf50;
}

.footer-item.active .footer-text {
    color: #4caf50;
}

/* 内容区底部留白 */
.content-bottom {
    height: 60px;
}

/* 通用按钮样式 */
button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    opacity: 0.9;
}

/* 通用链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 通用表单样式 */
input {
    outline: none;
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .footer-icon {
        font-size: 24px;
    }
    
    .footer-text {
        font-size: 11px;
    }
    
    .content-bottom {
        height: 55px;
    }
}
