/* 现代化样式文件 */

/* CSS变量定义 */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    --shadow-light: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* 现代化导航栏 */
.navbar {
    background: var(--primary-gradient) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-heavy);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #ffd700 !important;
}

.navbar-brand i {
    background: var(--warning-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::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;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.25);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
    font-weight: 600;
}

/* 下拉菜单样式 */
.dropdown-menu {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(5px);
}

/* 英雄区域现代化样式 */
.hero-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2075&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    animation: backgroundSlideshow 25s infinite ease-in-out;
}

@keyframes backgroundSlideshow {
    0%, 20% {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
            url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2075&q=80');
    }
    21%, 40% {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
            url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2053&q=80');
    }
    41%, 60% {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
            url('https://images.unsplash.com/photo-1600607687644-aac4c3eac7f4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    }
    61%, 80% {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
            url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    }
    81%, 100% {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
            url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 40%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0 C300,80 600,80 900,40 C1050,20 1150,60 1200,40 L1200,120 L0,120 Z" fill="%23f8f9fa"/></svg>');
    z-index: 1;
}

/* 添加顶部弧形装饰 */
.hero-section .hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200" preserveAspectRatio="none"><path d="M0,200 C400,120 800,120 1200,200 L1200,0 L0,0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.8;
    z-index: 2;
}

/* 确保容器内容在最上层 */
.hero-section .container {
    position: relative;
    z-index: 10;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.6);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    animation: none;
    letter-spacing: -0.02em;
}

@keyframes titleGlow {
    0%, 100% { 
        background-position: 0% 50%;
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.5),
            2px 2px 10px rgba(0, 0, 0, 0.6);
    }
    50% { 
        background-position: 100% 50%;
        text-shadow: 
            0 0 40px rgba(255, 215, 0, 1.0),
            0 0 80px rgba(255, 215, 0, 0.7),
            2px 2px 15px rgba(0, 0, 0, 0.7);
    }
}

.hero-section .lead {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    z-index: 5;
    backdrop-filter: blur(1px);
    padding: 0.5rem 0;
}

.hero-section .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(255, 255, 255, 0.1);
    z-index: 5;
    backdrop-filter: blur(10px);
}

.hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-section .btn:hover::before {
    left: 100%;
}

.hero-section .btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hero-section .btn-primary:hover {
    background: linear-gradient(135deg, #7289f0 0%, #8257b5 100%);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero-section .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* 统计卡片现代化样式 */
.hero-stats {
    position: relative;
    z-index: 3;
}

.hero-stats .stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.hero-stats .stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.hero-stats .stat-card:hover::before {
    opacity: 1;
}

.hero-stats .stat-card:hover::after {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-stats .stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-content h3 {
    transform: scale(1.1);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.stat-content p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-content p {
    color: white;
}

/* 房源卡片现代化样式 */
.property-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: white;
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
}

.property-card:hover::before {
    opacity: 1;
}

.property-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.property-image {
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 20px 20px 0 0;
}

.property-card:hover .property-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warning-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.property-card .card-body {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
}

.property-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
}

.property-card:hover .card-title {
    color: #667eea;
}

.property-card .card-title a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.property-card .card-title a:hover {
    color: #667eea;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e53e3e;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e53e3e 0%, #f56565 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.property-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(113, 128, 150, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.property-card:hover .property-meta span {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.property-meta i {
    color: #667eea;
}

.property-location {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-location i {
    color: #e53e3e;
}

.property-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-view {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.favorite-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #718096;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.favorite-btn:hover {
    background: #e53e3e;
    border-color: #e53e3e;
    color: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: #e53e3e;
    border-color: #e53e3e;
    color: white;
}

/* 新闻卡片样式 */
.news-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: white;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2d3748;
    line-height: 1.4;
}

.news-card .card-title a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.news-card .card-title a:hover {
    color: #667eea;
}

.news-excerpt {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 0.85rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i {
    color: #667eea;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .hero-section .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-section .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .stat-content h3 {
        font-size: 2rem;
    }
    
    .property-card .card-body {
        padding: 1.5rem;
    }
    
    .property-meta {
        gap: 0.5rem;
    }
    
    .property-meta span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .property-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-view {
        width: 100%;
    }
    
    .favorite-btn {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .news-image {
        height: 150px;
    }
}

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

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

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

/* AOS动画增强 */
[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out;
}

[data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease-out;
}

[data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7289f0 0%, #8257b5 100%);
}

/* 工具提示样式 */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background: var(--primary-gradient);
    border-radius: 8px;
    padding: 8px 12px;
}

/* 表单增强样式 */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 按钮增强样式 */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7289f0 0%, #8257b5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--success-gradient);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #5bb6ff 0%, #00e5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* 徽章样式 */
.badge {
    font-weight: 600;
    padding: 0.5em 0.8em;
    border-radius: 20px;
}

/* 分页样式 */
.pagination .page-link {
    border: none;
    color: #667eea;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--primary-gradient);
    border: none;
}

/* 模态框增强 */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* 警告框样式 */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    color: #0c7b93;
    border-left: 4px solid #4facfe;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    color: #c53030;
    border-left: 4px solid #f5576c;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.1) 100%);
    color: #d69e2e;
    border-left: 4px solid #ffd700;
}

.alert-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #3182ce;
    border-left: 4px solid #667eea;
}
