/* 通用样式文件 */
:root {
    --primary-color: #2C7BF5;
    --secondary-color: #6C63FF;
    --warning-color: #FF6B6B;
    --success-color: #20C997;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --medium-gray: #6C757D;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F8F9FA;
    color: #212529;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* iOS 状态栏 */
.ios-status-bar {
    height: 44px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.status-time {
    font-weight: 600;
    font-size: 15px;
}

/* 底部导航栏 */
.bottom-tab-bar {
    height: 84px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 20px; /* 适配底部安全区域 */
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--medium-gray);
    font-size: 10px;
    padding-top: 10px;
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

/* 主内容区域 */
.main-content {
    padding: 16px;
    padding-bottom: 100px; /* 避免内容被底部导航栏遮挡 */
    overflow-y: auto;
    height: calc(100vh - 128px); /* 减去状态栏和底部导航的高度 */
}

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

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    border: none;
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    border: none;
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    border: none;
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* 头像样式 */
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    object-fit: cover;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    object-fit: cover;
}

/* 圆形按钮样式 */
.circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 12px rgba(44, 123, 245, 0.3);
}

/* 表单元素样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    font-size: 16px;
}

/* 进度条样式 */
.progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    background-color: var(--primary-color);
} 