@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
    --sidebar-width: 260px;
    --primary-color: #4f46e5;
    --bg-light: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-light);
    color: #1e293b;
}

[v-cloak] { display: none; }

/* 登录页面样式 */
.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-30%, -30%) scale(1); }
    50% { transform: translate(-20%, -20%) scale(1.1); }
}

.login-card {
    position: relative;
    z-index: 10;
    animation: slideUp 0.5s ease-out;
}

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

/* 侧边栏高级样式 */
.sidebar {
    width: var(--sidebar-width);
    background: #0f172a;
    color: #94a3b8;
    transition: all 0.3s;
}

.sidebar-brand {
    padding: 2rem 1.5rem;
    padding-top: 5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    border-bottom: 1px solid #1e293b;
}

.nav-item {
    margin: 0.5rem 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
    cursor: pointer;
    font-weight: 500;
}

.nav-item:hover {
    background: #1e293b;
    color: white;
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

/* 搜索框美化 */
.search-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.search-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.search-input {
    border: none !important;
    outline: none !important;
    width: 100%;
    margin-left: 0.5rem;
    font-size: 0.875rem;
    background: transparent;
}

/* 卡片与容器 */
.main-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 按钮高级动效 */
.btn-action {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-action:active {
    transform: scale(0.95);
}

.btn-add {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.btn-add:hover {
    background: #4338ca;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.btn-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 弹窗遮罩 */
.modal-mask {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 动画 */
@



