/* ==================== 管理后台 - 精美主题 ==================== */

:root {
    /* 主色调 - Element Plus 蓝 */
    --primary: #409eff;
    --primary-hover: #66b1ff;
    --primary-light: #ecf5ff;
    --primary-dark: #3a8ee6;
    --primary-gradient: linear-gradient(135deg, #409eff 0%, #66b1ff 100%);
    
    /* 功能色 */
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --info: #409eff;
    --info-light: #eef2ff;
    
    /* 中性色 */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-header: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    --text-primary: #0f172a;
    --text-regular: #334155;
    --text-secondary: #64748b;
    --text-placeholder: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 4px 14px rgba(64, 158, 255, 0.25);
    --shadow-glow: 0 0 20px rgba(64, 158, 255, 0.15);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    /* 过渡 */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* 布局 */
    --header-height: 68px;
    --content-max-width: 1400px;
    --sidebar-width: 260px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

[v-cloak] {
    display: none !important;
}

/* ==================== 顶部导航栏 ==================== */
.admin-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-header .header-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header .logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.admin-header .logo-icon {
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #409eff;
    font-size: 22px;
    border: 1px solid #e2e8f0;
}

.admin-header .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-header .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.admin-header .nav-link:hover {
    background: #f1f5f9;
    color: #409eff;
    transform: translateY(-1px);
}

.admin-header .nav-link.active {
    background: #eef2ff;
    color: #409eff;
    font-weight: 600;
}

.admin-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #409eff;
    border-radius: 2px;
}

.admin-header .nav-link .el-icon {
    font-size: 18px;
}

.admin-header .user-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.admin-header .user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #409eff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.admin-header .user-name {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.admin-header .logout-btn {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-header .logout-btn:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #ef4444;
}

.admin-header .logout-btn .el-icon {
    font-size: 14px;
}

/* ==================== 页面容器 ==================== */
.admin-page {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 28px 32px;
}

.admin-page-narrow {
    max-width: 800px;
}

.admin-page-medium {
    max-width: 1000px;
}

/* ==================== 卡片样式 ==================== */
.admin-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.admin-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.admin-card .card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}

.admin-card .card-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-card .card-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.admin-card .card-icon.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.admin-card .card-icon.green {
    background: var(--success-light);
    color: var(--success);
}

.admin-card .card-icon.orange {
    background: var(--warning-light);
    color: var(--warning);
}

.admin-card .card-icon.red {
    background: var(--danger-light);
    color: var(--danger);
}

.admin-card .card-icon.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.admin-card .card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.admin-card .card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 3px 0 0;
}

.admin-card .card-body {
    padding: 24px;
}

/* ==================== 统计网格 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stat-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item .stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
}

.stat-item.blue .stat-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.stat-item.pink .stat-icon {
    background: #fdf2f8;
    color: #ec4899;
}

.stat-item.green .stat-icon {
    background: var(--success-light);
    color: var(--success);
}

.stat-item.purple .stat-icon {
    background: #f5f3ff;
    color: #7c3aed;
}

.stat-item.orange .stat-icon {
    background: var(--warning-light);
    color: var(--warning);
}

.stat-item .stat-value {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.stat-item.blue .stat-value {
    color: var(--primary);
}

.stat-item.pink .stat-value {
    color: #ec4899;
}

.stat-item.green .stat-value {
    color: var(--success);
}

.stat-item.purple .stat-value {
    color: #7c3aed;
}

.stat-item.orange .stat-value {
    color: var(--warning);
}

.stat-item .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ==================== 登录页 ==================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-header);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    top: -200px;
    right: -200px;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    bottom: -150px;
    left: -150px;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    width: 440px;
    padding: 48px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-card .login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-card .login-logo {
    width: 76px;
    height: 76px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 34px;
    box-shadow: none;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: none; }
}

.login-card .login-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.login-card .login-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

.login-card .form-group {
    margin-bottom: 24px;
}

.login-card .form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-regular);
}

.login-card .form-group input {
    width: 100%;
    height: 50px;
    padding: 0 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
    background: var(--bg-body);
}

.login-card .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: white;
}

.login-card .form-group input::placeholder {
    color: var(--text-placeholder);
}

.login-card .login-btn {
    width: 100%;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.login-card .login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-card .login-btn:hover::before {
    left: 100%;
}

.login-card .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.login-card .login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
}

.login-alert.success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid #a7f3d0;
}

/* ==================== 表单提示 ==================== */
.form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== 链接列表项 ==================== */
.link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.link-item:last-child {
    border-bottom: none;
}

.link-item:hover {
    background: var(--primary-light);
}

.link-item .link-domain {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-item .link-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ==================== Toast ==================== */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--success);
}

.toast.warning {
    background: var(--warning);
}

.toast.error {
    background: var(--danger);
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    animation: slideInRight 0.3s ease;
}

.slide-in-left {
    animation: slideInLeft 0.3s ease;
}

.scale-in {
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-header .header-inner {
        padding: 0 16px;
    }
    
    .admin-header .nav-links {
        display: none;
    }
    
    .admin-header .user-info {
        display: none;
    }
    
    .admin-page {
        padding: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .stat-item .stat-value {
        font-size: 28px;
    }
    
    .login-card {
        width: calc(100% - 32px);
        padding: 32px 24px;
    }
    
    .admin-card .card-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-card .card-body {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== Element Plus 覆盖 ==================== */
.el-button {
    border-radius: var(--radius-md) !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    box-shadow: none !important;
}

.el-button--primary {
    --el-button-bg-color: var(--primary);
    --el-button-border-color: var(--primary);
    --el-button-hover-bg-color: var(--primary-hover);
    --el-button-hover-border-color: var(--primary-hover);
    --el-button-active-bg-color: var(--primary-dark);
    --el-button-active-border-color: var(--primary-dark);
}

.el-button--success {
    --el-button-bg-color: var(--success);
    --el-button-border-color: var(--success);
}

.el-button--warning {
    --el-button-bg-color: var(--warning);
    --el-button-border-color: var(--warning);
}

.el-button--danger {
    --el-button-bg-color: var(--danger);
    --el-button-border-color: var(--danger);
}

.el-table {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.el-table th.el-table__cell {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid var(--border-color);
}

.el-table td.el-table__cell {
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.el-dialog {
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-2xl) !important;
    overflow: hidden;
}

.el-dialog__header {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px !important;
    margin: 0 !important;
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}

.el-dialog__title {
    font-weight: 700;
    font-size: 17px;
    color: var(--text-primary);
}

.el-dialog__body {
    padding: 24px !important;
}

.el-dialog__footer {
    padding: 16px 24px !important;
    border-top: 1px solid var(--border-light);
    background: #fafbff;
}

.el-form-item__label {
    font-weight: 600 !important;
    color: var(--text-regular) !important;
    font-size: 14px !important;
}

.el-input__wrapper {
    border-radius: var(--radius-md) !important;
    box-shadow: 0 0 0 1px var(--border-color) !important;
    transition: var(--transition) !important;
}

.el-input__wrapper:hover {
    box-shadow: 0 0 0 1px var(--primary-hover) !important;
}

.el-input__wrapper.is-focus {
    box-shadow: 0 0 0 2px var(--primary-light), 0 0 0 1px var(--primary) !important;
}

.el-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
}

.el-card:hover {
    box-shadow: var(--shadow-md) !important;
}

.el-card__header {
    border-bottom: 1px solid var(--border-light);
    padding: 18px 24px;
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}

.el-tag {
    border-radius: var(--radius-sm) !important;
    font-weight: 500 !important;
}

.el-tag--success {
    --el-tag-bg-color: var(--success-light);
    --el-tag-border-color: #a7f3d0;
    --el-tag-text-color: var(--success);
}

.el-tag--danger {
    --el-tag-bg-color: var(--danger-light);
    --el-tag-border-color: #fecaca;
    --el-tag-text-color: var(--danger);
}

.el-tag--warning {
    --el-tag-bg-color: var(--warning-light);
    --el-tag-border-color: #fde68a;
    --el-tag-text-color: var(--warning);
}

.el-tag--info {
    --el-tag-bg-color: var(--info-light);
    --el-tag-border-color: #c7d2fe;
    --el-tag-text-color: var(--info);
}

.el-pagination .el-pager li.is-active {
    background-color: var(--primary) !important;
    border-radius: var(--radius-sm) !important;
}

.el-radio-button__inner {
    border-radius: var(--radius-md) !important;
    font-weight: 500 !important;
}

.el-radio-button__original-radio:checked + .el-radio-button__inner {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: -1px 0 0 0 var(--primary);
}

.el-alert {
    border-radius: var(--radius-md) !important;
}

.el-alert--info {
    background: var(--primary-light);
    border-color: #c7d2fe;
    color: var(--primary);
}

.el-descriptions {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.el-descriptions__label {
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
}

.el-descriptions__content {
    color: var(--text-primary) !important;
}

/* ==================== 代码样式 ==================== */
code {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #dc2626;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

/* ==================== 滚动条 ==================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==================== 选择高亮 ==================== */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ==================== 链接状态标签 ==================== */
.link-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.link-status-tag.ok {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid #a7f3d0;
}

.link-status-tag.fail {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid #fecaca;
}

.link-status-tag.pending {
    background: var(--warning-light);
    color: var(--warning);
    border: 1px solid #fde68a;
}

/* ==================== 复制按钮 ==================== */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: var(--primary-light);
    color: var(--primary);
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state .empty-text {
    font-size: 15px;
    font-weight: 500;
}

/* ==================== 加载状态 ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 渐变文字 ==================== */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== 玻璃效果 ==================== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== 渐变边框 ==================== */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.gradient-border:hover::before {
    opacity: 1;
}
