/* --- 全局和基础样式 --- */
body { 
    font-family: 'Inter', 'Helvetica Neue', 'Helvetica', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* Hide browser-native password reveal button */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
input[type="password"]::-webkit-reveal,
input[type="password"]::-webkit-password-suffix {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* 隐藏滚动条 */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- 侧边栏样式 --- */
.sidebar-link.active { 
    background-color: #f0f5ff; /* 活动链接背景色 */
    color: #4338ca; /* 活动链接文字颜色 */
    font-weight: 600; 
    border-left: 3px solid #6366f1; /* 活动链接左侧指示条 */
}
.sidebar-link.active i {
    color: #6366f1; /* 活动链接图标颜色 */
}
.category-toggle .chevron { transition: transform 0.3s; } /* 分类箭头旋转动画 */
.category-content.hidden { display: none; }

/* --- 按钮和卡片样式 --- */
.gradient-btn {
    background-image: linear-gradient(to right, #6366f1, #818cf8); /* 渐变按钮背景 */
    transition: all 0.3s ease-in-out;
}
.gradient-btn:hover {
    transform: translateY(-2px); /* 鼠标悬停时轻微上浮 */
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); /* 悬停阴影 */
}
.dashboard-card {
    transition: all 0.3s ease-in-out;
}
.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- AI结果区域代码块样式 --- */
.prose pre { background-color: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; }
.prose code { font-family: 'Courier New', Courier, monospace; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin-top: 0.5rem; }
.prose li { margin-bottom: 0.25rem; }
