/* iPhone 15样式模拟 */
.iphone-status-bar {
    height: 44px;
    width: 100%;
    position: relative;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 50;
}

.iphone-home-indicator {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    z-index: 50;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 20px;
    margin: 0 12px;
    z-index: 40;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
}

.nav-item.active {
    color: #7c3aed;
}

.nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

/* 通用组件 */
.card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 16px;
    margin-bottom: 16px;
}

.btn-primary {
    background-color: #7c3aed;
    color: white;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* 动画效果 */
.scale-on-press {
    transition: transform 0.1s;
}

.scale-on-press:active {
    transform: scale(0.96);
}

/* 新的现代配色方案 */
:root {
    --primary-purple: #7c3aed;
    --primary-pink: #f472b6;
    --primary-blue: #3b82f6;
    --primary-green: #10b981;
    --primary-yellow: #f59e0b;
    --primary-red: #ef4444;
    --light-purple: #ede9fe;
    --light-pink: #fce7f3;
    --light-blue: #dbeafe;
    --light-green: #d1fae5;
    --light-yellow: #fef3c7;
    --light-red: #fee2e2;
}

/* 儿童友好颜色 - 更新为参考图片的颜色 */
.kid-bg-blue {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.kid-bg-green {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.kid-bg-yellow {
    background-color: var(--light-yellow);
    color: var(--primary-yellow);
}

.kid-bg-purple {
    background-color: var(--light-purple);
    color: var(--primary-purple);
}

.kid-bg-pink {
    background-color: var(--light-pink);
    color: var(--primary-pink);
}

/* 进度条样式 */
.progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 5px;
    background-color: #ffffff;
}

/* 圆形进度指示器样式 */
.circle-progress {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--primary-purple) 0% var(--percent), #e5e7eb var(--percent) 100%);
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: white;
}

.circle-progress-content {
    position: relative;
    z-index: 1;
    font-weight: bold;
    color: var(--primary-purple);
}

/* 日历样式 */
.calendar-day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 500;
}

.calendar-day.today {
    background-color: var(--primary-purple);
    color: white;
}

/* 更现代的按钮和输入框 */
.modern-input {
    background-color: #f3f4f6;
    border-radius: 12px;
    padding: 12px 16px;
    width: 100%;
    border: none;
}

.modern-input:focus {
    outline: 2px solid var(--primary-purple);
}

/* 进度指示器 */
.modern-progress {
    width: 100%;
    height: 8px;
    background-color: #ffc0cb;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.modern-progress-fill {
    position: absolute;
    height: 100%;
    background-color: #ff69b4;
    border-radius: 4px;
    top: 0;
    left: 0;
} 