/* ============================================
   Vidio 评审系统 - 全局样式
   设计风格：现代玻璃拟态 + 微动效
   主色调：教育蓝 #1a73e8 + 活力紫 #6c5ce7
   ============================================ */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --secondary-color: #6c757d;
    --success-color: #0ecb81;
    --success-dark: #0a9e66;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #ff6b6b;
    --purple-color: #6c5ce7;
    --pink-color: #fd79a8;
    --bg-color: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --transition-speed: 0.3s;
}
* {
    box-sizing: border-box;
}
body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(26, 115, 232, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(253, 121, 168, 0.03) 0%, transparent 50%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
}
/* ========== 玻璃拟态卡片 ========== */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-speed) ease;
    overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
/* ========== 顶部 Hero 区 ========== */
.hero-section {
    background: linear-gradient(135deg, #1a73e8 0%, #6c5ce7 50%, #fd79a8 100%);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 200px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(5%, -5%) scale(1.05); }
    50% { transform: translate(-3%, 3%) scale(0.95); }
    75% { transform: translate(3%, -3%) scale(1.02); }
}
.hero-section .hero-content {
    position: relative;
    z-index: 1;
}
.hero-section .hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-section .hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0,0,0,0.15);
}
/* 粒子容器 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; width: 4px; height: 4px; }
.hero-particle:nth-child(3) { top: 30%; left: 50%; animation-delay: 2s; width: 8px; height: 8px; }
.hero-particle:nth-child(4) { top: 70%; left: 70%; animation-delay: 3s; width: 5px; height: 5px; }
.hero-particle:nth-child(5) { top: 40%; left: 85%; animation-delay: 4s; }
.hero-particle:nth-child(6) { top: 10%; left: 75%; animation-delay: 5s; width: 4px; height: 4px; }
.hero-particle:nth-child(7) { top: 80%; left: 40%; animation-delay: 6s; width: 7px; height: 7px; }
.hero-particle:nth-child(8) { top: 50%; left: 5%; animation-delay: 7s; width: 3px; height: 3px; }
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}
/* 可申报项目小窗 */
.hero-project-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
}
.hero-project-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
/* ========== 卡片头部 ========== */
.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--purple-color)) !important;
    border: none !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 12px 20px !important;
}
.card-header.bg-primary {
    background: linear-gradient(135deg, #1a73e8, #4a9eff) !important;
}
.card-header.bg-success {
    background: linear-gradient(135deg, #0ecb81, #10b981) !important;
}
.card-header.bg-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
}
.card-header.bg-info {
    background: linear-gradient(135deg, #0dcaf0, #3b82f6) !important;
}
.card-header.bg-warning {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}
.card-header h5 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* ========== 卡片主体 ========== */
.card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: var(--glass-shadow) !important;
    transition: all var(--transition-speed) ease;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
}
.card-body {
    padding: 16px 20px;
}
/* ========== 列表项 ========== */
.list-group-item {
    border: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    padding: 10px 16px !important;
    transition: all 0.2s ease;
    background: transparent;
}
.list-group-item:last-child {
    border-bottom: none !important;
}
.list-group-item:hover {
    background: rgba(26, 115, 232, 0.04);
    padding-left: 20px !important;
}
.list-group-item a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}
.list-group-item a:hover {
    color: var(--primary-color);
}
/* ========== 供需标签 ========== */
.supply-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
}
.supply-badge.demand {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}
.supply-badge.supply {
    background: rgba(14, 203, 129, 0.15);
    color: #0ecb81;
}
/* ========== 时间戳 ========== */
.time-stamp {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}
/* ========== 风采展示卡片 ========== */
.style-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.style-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.style-card .card-img-top {
    height: 140px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.style-card:hover .card-img-top {
    transform: scale(1.08);
}
.style-card .card-body {
    padding: 10px 12px;
}
.style-card .card-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.style-card .btn-outline-info {
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}
.style-card .btn-outline-info:hover {
    background: linear-gradient(135deg, #0dcaf0, #3b82f6);
    border-color: transparent;
    color: white;
}
/* ========== 快捷操作按钮 ========== */
.quick-action-btn {
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all var(--transition-speed) ease !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: white !important;
}
.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}
.quick-action-btn.btn-outline-danger:hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: white !important;
    border-color: transparent !important;
}
.quick-action-btn.btn-outline-success:hover {
    background: linear-gradient(135deg, #0ecb81, #10b981) !important;
    color: white !important;
    border-color: transparent !important;
}
.quick-action-btn.btn-outline-primary:hover {
    background: linear-gradient(135deg, #1a73e8, #4a9eff) !important;
    color: white !important;
    border-color: transparent !important;
}
.quick-action-btn.btn-outline-info:hover {
    background: linear-gradient(135deg, #0dcaf0, #3b82f6) !important;
    color: white !important;
    border-color: transparent !important;
}
/* ========== 项目状态卡片 ========== */
.project-status-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    background: white;
}
.project-status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.project-status-card .card-header {
    padding: 8px 12px !important;
    font-size: 0.8rem;
}
.project-status-card .list-group-item {
    padding: 6px 10px !important;
    font-size: 0.8rem;
}
/* ========== 空状态 ========== */
.empty-state {
    padding: 30px 20px;
    text-align: center;
}
.empty-state i {
    font-size: 2.5rem;
    color: #d1d5db;
    margin-bottom: 10px;
}
.empty-state p {
    color: #9ca3af;
    font-size: 0.9rem;
}
/* ========== 统计数字动画 ========== */
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--purple-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ========== 进度条 ========== */
.progress-bar-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--purple-color));
    border-radius: 10px;
}
/* ========== 导航栏 ========== */
.navbar {
    background: linear-gradient(135deg, #1a73e8, #6c5ce7) !important;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
    backdrop-filter: blur(10px);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}
/* ========== 按钮 ========== */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}
.btn-light {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-light:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-1px);
}
/* ========== 徽章 ========== */
.badge {
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}
/* ========== 加载动画 ========== */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(26, 115, 232, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ========== 页面进入动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem !important;
        border-radius: 12px;
    }
    
    .hero-section .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-section .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .card {
        border-radius: 12px !important;
    }
    
    .card-header {
        border-radius: 12px 12px 0 0 !important;
    }
    
    .style-card .card-img-top {
        height: 100px;
    }
}
/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(26, 115, 232, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 115, 232, 0.5);
}
/* ========== 选中文字颜色 ========== */
::selection {
    background: rgba(26, 115, 232, 0.2);
    color: var(--text-primary);
}