/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f5f7fa;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* 顶部导航栏 */
.app-header {
    background: linear-gradient(90deg, #3b91ff 0%, #2a80f0 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.cabinet-info h2 {
    font-size: 18px;
    font-weight: 500;
}

.datetime {
    font-size: 16px;
}

/* 主内容区 */
.app-main {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

/* 通用卡片样式 */
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px;
    margin-bottom: 15px;
}

/* 通用图标样式 */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 24px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #3b91ff;
    color: white;
}

.btn-primary:hover {
    background-color: #2a80f0;
}

.btn-secondary {
    background-color: #f0f2f5;
    color: #5c6c85;
}

.btn-secondary:hover {
    background-color: #e5e8ed;
}

/* 通用返回按钮 */
.back-btn {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: white;
}

/* 底部导航或操作区 */
.app-footer {
    background-color: white;
    border-top: 1px solid #eee;
    padding: 15px 20px;
    position: sticky;
    bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .app-header {
        padding: 10px 15px;
    }
    
    .cabinet-info h2 {
        font-size: 16px;
    }
    
    .datetime {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .app-main {
        padding: 10px;
    }
}