/* 自定义样式 */
body {
    background-color: #f3f4f6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.app-container {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto;
}

/* 径向进度条 */
.radial-progress {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: conic-gradient(#8b5cf6 calc(var(--value) * 1%), #e9d5ff calc(var(--value) * 1%));
    border-radius: 50%;
}

.radial-progress::before {
    content: '';
    position: absolute;
    inset: calc(var(--thickness));
    background: white;
    border-radius: 50%;
}

.radial-progress span {
    position: relative;
    font-size: 0.875rem;
    color: #4b5563;
}

/* 睡眠图表 */
.sleep-bars {
    padding: 2px;
}

/* 激励体系 */
.badges-preview .badge {
    transition: transform 0.2s;
}

.badges-preview .badge:hover {
    transform: translateY(-2px);
}

/* 导航栏按钮 */
.nav-btn {
    transition: color 0.2s;
}

/* 习惯进度条 */
.w-1\/8 {
    width: 12.5%;
}

/* 动画效果 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 滚动优化 */
main {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

main::-webkit-scrollbar {
    display: none;
} 