/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

:root {
    /* 鲜艳主色调系统 */
    --color-primary-50: #fff1f2;
    --color-primary-100: #ffe4e6;
    --color-primary-200: #fecdd3;
    --color-primary-300: #fda4af;
    --color-primary-400: #fb7185;
    --color-primary-500: #f43f5e; /* 主色调 - 鲜艳粉色 */
    --color-primary-600: #e11d48;
    --color-primary-700: #be123c;
    --color-primary-800: #9f1239;
    --color-primary-900: #881337;
    
    /* 鲜艳辅助色系统 */
    --color-accent-cyan: #22d3ee;
    --color-accent-emerald: #10b981;
    --color-accent-amber: #f59e0b;
    --color-accent-rose: #f43f5e;
    --color-accent-indigo: #6366f1;
    --color-accent-purple: #8b5cf6;
    --color-accent-blue: #3b82f6;
    --color-accent-green: #22c55e;
    --color-accent-orange: #f97316;
    
    /* 优化的中性色系统 - 提高对比度 */
    --color-neutral-50: #ffffff;
    --color-neutral-100: #f8fafc;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1e293b;
    --color-neutral-900: #0f172a;
    
    /* 语义化颜色 */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #3b82f6;
    
    /* 尺寸系统 */
    --size-xs: 4px;
    --size-sm: 8px;
    --size-md: 16px;
    --size-lg: 24px;
    --size-xl: 32px;
    --size-2xl: 48px;
    --size-3xl: 64px;
    
    /* 边框系统 */
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;
    
    /* 增强的阴影系统 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 15px rgba(244, 63, 94, 0.5);
    
    /* 布局变量 */
    --sidebar-width: 320px;
    --sidebar-collapsed-width: 40px;
    --content-max-width: 1400px;
    
    /* 背景效果 */
    --bg-gradient: linear-gradient(135deg, var(--color-neutral-50), var(--color-neutral-100));
    --bg-texture: none;
    
    /* 玻璃态效果变量 */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --glass-blur: blur(8px);
}

/* 深色主题增强 */
[data-theme="dark"] {
    /* 主色调调整 */
    --color-primary-50: #881337;
    --color-primary-100: #9f1239;
    --color-primary-200: #be123c;
    --color-primary-300: #e11d48;
    --color-primary-400: #f43f5e;
    --color-primary-500: #fb7185;
    --color-primary-600: #fda4af;
    --color-primary-700: #fecdd3;
    --color-primary-800: #ffe4e6;
    --color-primary-900: #fff1f2;
    
    /* 中性色调整 - 提高对比度 */
    --color-neutral-50: #0f172a;
    --color-neutral-100: #1e293b;
    --color-neutral-200: #334155;
    --color-neutral-300: #475569;
    --color-neutral-400: #64748b;
    --color-neutral-500: #94a3b8;
    --color-neutral-600: #cbd5e1;
    --color-neutral-700: #e2e8f0;
    --color-neutral-800: #f1f5f9;
    --color-neutral-900: #f8fafc;
    
    /* 深色主题特有样式 */
    --bg-gradient: linear-gradient(135deg, #0f172a, #1e293b);
    --bg-texture: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    --shadow-glow: 0 0 15px rgba(244, 63, 94, 0.3);
    
    /* 深色主题玻璃态效果 */
    --glass-bg: rgba(15, 23, 42, 0.25);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    background-color: var(--color-neutral-100);
    background-image: var(--bg-gradient), var(--bg-texture);
    color: var(--color-neutral-800);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.5;
}

/* 动态光线效果 */
.light-beam {
    position: fixed;
    width: 200vw;
    height: 200vh;
    top: -50vh;
    left: -50vw;
    background: radial-gradient(circle at center, rgba(244, 63, 94, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: beamRotate 40s linear infinite;
    pointer-events: none;
}

.light-beam:nth-child(2) {
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    animation: beamRotate 50s linear infinite reverse;
}

.light-beam:nth-child(3) {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    animation: beamRotate 60s linear infinite;
}

@keyframes beamRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 主布局 */
.container {
    display: flex;
    min-height: 100vh;
    max-width: 100vw;
}

/* 侧边栏样式 */
.sidebar {
    width: var(--sidebar-width);
    background: var(--color-neutral-50);
    border-right: 1px solid var(--color-neutral-200);
    padding: var(--size-lg);
    height: 100vh;
    position: fixed;
    z-index: 100;
    overflow: hidden;
    transition: width 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border-top-right-radius: var(--border-radius-xl);
    border-bottom-right-radius: var(--border-radius-xl);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
    padding: var(--size-lg) 0;
    border-top-right-radius: var(--border-radius-full);
    border-bottom-right-radius: var(--border-radius-full);
    box-shadow: var(--shadow-glow);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--size-xl);
    padding-bottom: var(--size-md);
    border-bottom: 1px solid var(--color-neutral-200);
}

.sidebar.collapsed .sidebar-header,
.sidebar.collapsed .search-box,
.sidebar.collapsed .airport-list-container {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-accent-indigo));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-glow);
}

.toggle-btn {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--color-primary-500);
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.toggle-btn:hover {
    background: rgba(244, 63, 94, 0.2);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* 搜索框 - 添加玻璃态效果 */
.search-box {
    position: relative;
    margin-bottom: var(--size-xl);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 52px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    color: var(--color-neutral-800);
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-accent-indigo);
    box-shadow: var(--shadow-glow);
    background: var(--color-neutral-50);
    transform: translateY(-2px);
}

.search-box input::placeholder {
    color: var(--color-neutral-500);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary-500);
    font-size: 20px;
    pointer-events: none;
}

.airport-list-container {
    flex: 1;
    overflow-y: auto;
    padding-right: var(--size-sm);
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-500) var(--color-neutral-100);
}

.airport-list-container::-webkit-scrollbar {
    width: 6px;
}

.airport-list-container::-webkit-scrollbar-track {
    background: var(--color-neutral-100);
    border-radius: var(--border-radius-full);
}

.airport-list-container::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-500);
    border-radius: var(--border-radius-full);
}

.airport-list {
    list-style: none;
}

.airport-group {
    margin-bottom: var(--size-xl);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease forwards;
}

.airport-group:nth-child(1) { animation-delay: 100ms; }
.airport-group:nth-child(2) { animation-delay: 200ms; }
.airport-group:nth-child(3) { animation-delay: 300ms; }
.airport-group:nth-child(4) { animation-delay: 400ms; }
.airport-group:nth-child(5) { animation-delay: 500ms; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.group-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-500);
    margin-bottom: var(--size-md);
    padding-bottom: var(--size-xs);
    border-bottom: 1px solid var(--color-neutral-200);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.airport-item {
    padding: var(--size-md);
    background: var(--color-neutral-100);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--size-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--size-md);
    border: 1px solid var(--color-neutral-200);
}

.airport-item:hover {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.1), rgba(99, 102, 241, 0.1));
    transform: translateX(5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md);
}

.airport-item.active {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.2), rgba(99, 102, 241, 0.15));
    border-left: 3px solid var(--color-accent-indigo);
    box-shadow: var(--shadow-md);
}

.airport-code {
    font-weight: 700;
    color: var(--color-primary-500);
    min-width: 70px;
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
    padding: 4px 8px;
    background: rgba(244, 63, 94, 0.1);
    border-radius: var(--border-radius-sm);
}

.airport-name {
    color: var(--color-neutral-800);
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.airport-country {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary-500);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: var(--border-radius-full);
    min-width: fit-content;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.main-content {
    flex: 1;
    padding: var(--size-xl);
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
    max-width: calc(100vw - var(--sidebar-width));
}

.sidebar.collapsed + .main-content {
    margin-left: var(--sidebar-collapsed-width);
    max-width: calc(100vw - var(--sidebar-collapsed-width));
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--size-xl);
    padding-bottom: var(--size-md);
    border-bottom: 1px solid var(--color-neutral-200);
}

.header-actions {
    display: flex;
    gap: var(--size-md);
    align-items: center;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: var(--size-md);
}

/* 主题切换按钮 - 添加玻璃态效果 */
.theme-toggle {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--color-primary-500);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
    background: rgba(244, 63, 94, 0.1);
}

.mobile-toggle {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--color-primary-500);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
    background: rgba(244, 63, 94, 0.1);
}

.pdf-section {
    background: var(--color-neutral-100);
    border-radius: var(--border-radius-xl);
    padding: var(--size-xl);
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-lg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--size-xl);
}

.section-title {
    font-size: 22px;
    color: var(--color-primary-500);
    display: flex;
    align-items: center;
    gap: var(--size-md);
}

.view-toggle {
    display: flex;
    gap: var(--size-sm);
    background: var(--color-neutral-50);
    border-radius: var(--border-radius-lg);
    padding: var(--size-xs);
    border: 1px solid var(--color-neutral-200);
}

.view-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-md);
    background: transparent;
    border: none; 
    color: var(--color-neutral-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.view-btn.active, .view-btn:hover {
    background: rgba(244, 63, 94, 0.2);
    color: var(--color-primary-500);
    transform: translateY(-2px);
}

.pdf-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--size-lg);
}

.pdf-container.list-view {
    display: flex;
    flex-direction: column;
    gap: var(--size-md);
}

.pdf-card {
    background: linear-gradient(145deg, var(--color-neutral-50), var(--color-neutral-100));
    border-radius: var(--border-radius-lg);
    padding: var(--size-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--color-neutral-200);
    cursor: pointer;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.pdf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-indigo));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pdf-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.pdf-card:hover::before {
    transform: scaleX(1);
}

.pdf-container.list-view .pdf-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: var(--size-md) var(--size-lg);
}

.pdf-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--size-md);
    font-size: 32px;
    color: var(--color-danger);
    transition: all 0.3s ease;
}

.pdf-card:hover .pdf-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.pdf-container.list-view .pdf-icon {
    margin: 0 var(--size-md) 0 0;
    width: 54px;
    height: 54px;
    font-size: 24px;
}

.pdf-info {
    flex: 1;
}

.pdf-name {
    font-weight: 600;
    margin-bottom: var(--size-xs);
    color: var(--color-neutral-800);
    font-size: 17px;
    transition: color 0.3s ease;
}

.pdf-card:hover .pdf-name {
    color: var(--color-primary-500);
}

.pdf-container.list-view .pdf-name {
    margin-bottom: var(--size-xs);
    font-size: 16px;
}

.pdf-size {
    font-size: 14px;
    color: var(--color-neutral-500);
    display: flex;
    align-items: center;
    gap: 4px;
}

.empty-state {
    text-align: center;
    padding: var(--size-3xl) var(--size-md);
    color: var(--color-neutral-500);
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: var(--size-lg);
    color: rgba(244, 63, 94, 0.1);
    transition: transform 0.5s ease;
}

.empty-state:hover .empty-icon {
    transform: scale(1.1) rotate(10deg);
}

.empty-text {
    font-size: 20px;
    margin-bottom: var(--size-sm);
    color: var(--color-neutral-700);
}

.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--size-2xl);
    grid-column: 1 / -1;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(244, 63, 94, 0.1);
    border-top: 5px solid var(--color-accent-indigo);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: var(--shadow-glow);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(180deg, var(--color-neutral-50), var(--color-neutral-100));
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--color-neutral-200);
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.modal-header {
    padding: var(--size-lg);
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.1), rgba(99, 102, 241, 0.1));
    border-bottom: 1px solid var(--color-neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 22px;
    color: var(--color-primary-500);
}

.close-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--color-danger);
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

.modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-neutral-100);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

.modal-footer {
    padding: var(--size-lg);
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.1), rgba(99, 102, 241, 0.1));
    border-top: 1px solid var(--color-neutral-200);
    display: flex;
    justify-content: flex-end;
    gap: var(--size-md);
}

.download-btn {
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-indigo));
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--size-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.4);
}

/* 底部声明区域样式 */
.footer-section {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.05), rgba(99, 102, 241, 0.05));
    border-top: 1px solid var(--color-neutral-200);
    margin-top: var(--size-2xl);
    padding: var(--size-lg);
    border-radius: var(--border-radius-lg);
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
    color: var(--color-neutral-600);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: var(--size-xl);
    margin-bottom: var(--size-md);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--size-sm);
    padding: var(--size-sm) var(--size-md);
    background: var(--color-neutral-50);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-neutral-200);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--color-neutral-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    color: var(--color-primary-500);
    font-size: 16px;
}

.contact-email {
    color: var(--color-primary-600);
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    color: var(--color-accent-indigo);
    text-decoration: underline;
}

.footer-disclaimer {
    color: var(--color-neutral-500);
    font-size: 13px;
    border-top: 1px solid var(--color-neutral-200);
    padding-top: var(--size-md);
    max-width: 800px;
    margin: 0 auto;
}

/* 深色主题适配 */
[data-theme="dark"] .footer-section {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.1), rgba(99, 102, 241, 0.1));
}

[data-theme="dark"] .contact-item {
    background: var(--color-neutral-800);
    border-color: var(--color-neutral-700);
}

[data-theme="dark"] .contact-item:hover {
    background: var(--color-neutral-700);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sidebar {
        width: 280px;
    }
    
    .main-content {
        margin-left: 280px;
        padding: 25px;
    }
    
    .pdf-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
        padding: 20px;
    }
    
    .pdf-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .view-toggle {
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        border-radius: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .sidebar.collapsed {
        width: var(--sidebar-collapsed-width);
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
        max-width: 100vw;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .pdf-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .modal-content {
        width: 95%;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .footer-contacts {
        flex-direction: column;
        align-items: center;
        gap: var(--size-md);
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-disclaimer {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-actions {
        align-self: flex-end;
    }
    
    .pdf-container {
        grid-template-columns: 1fr;
    }
    
    .pdf-section {
        padding: var(--size-md);
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-section {
        padding: var(--size-md);
        margin-top: var(--size-xl);
    }
}

/* 液态玻璃效果 - 添加凸透镜形变效果 */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(255, 255, 255, 0.3) 0%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-effect:hover::before {
    opacity: 1;
}

/* 添加液态玻璃效果到特定元素 */
.search-box input,
.theme-toggle,
.mobile-toggle,
.view-btn,
.airport-item,
.pdf-card {
    position: relative;
    overflow: hidden;
}

.search-box input::after,
.theme-toggle::after,
.mobile-toggle::after,
.view-btn::after,
.airport-item::after,
.pdf-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(255, 255, 255, 0.2) 0%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.search-box input:hover::after,
.theme-toggle:hover::after,
.mobile-toggle:hover::after,
.view-btn:hover::after,
.airport-item:hover::after,
.pdf-card:hover::after {
    opacity: 1;
}

/* 主题切换动画 */
.theme-transition {
    transition: background-color 0.5s ease, color 0.5s ease;
}
