/* 自定义颜色变量 */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #bfdbfe;
    --secondary-color: #f97316;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f8fafc;
    --background: #f1f5f9;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
}

/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 自定义组件样式 */
.btn-primary {
    @apply bg-primary-color text-white font-medium py-2 px-4 rounded-lg hover:bg-primary-dark transition-colors shadow-sm;
}

.card {
    @apply bg-card-bg rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 适配iPhone底部安全区域 */
.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}