/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 侧边栏深色滚动条 */
aside ::-webkit-scrollbar-track {
    background: #0f172a;
}
aside ::-webkit-scrollbar-thumb {
    background: #334155;
}

/* 表单输入框聚焦动画 */
input:focus, textarea:focus, select:focus {
    transition: all 0.2s ease;
}

/* 卡片悬浮效果 */
.hover-card {
    transition: all 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 状态徽章颜色 */
.badge-pending {
    background-color: #fffbeb;
    color: #d97706;
    border: 1px solid #fcd34d;
}
.badge-approved {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #86efac;
}
.badge-rejected {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* 密码圆点样式 */
code {
    font-family: 'Monaco', 'Consolas', monospace;
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page {
    animation: fadeIn 0.3s ease;
}

/* Toast动画 */
#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
