/* vehicles-styles.css - 机车车辆档案页面专用样式 */

/* 机车车辆页面专用样式 */
.vehicles-main-container {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
    margin-top: 0;
    background: rgba(10, 10, 26, 0.8); /* 修改为半透明背景 */
}

/* 头部占位符 */
.header-placeholder {
    height: 80px;
    visibility: hidden;
}

/* 页面标题区域 - 添加圆角 */
.vehicles-header {
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    border-radius: 15px; /* 添加圆角 */
    margin: 0 20px; /* 添加边距 */
}

.vehicles-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
    font-weight: 800;
}

.vehicles-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================== 统计卡片区域 - 修改宽度与详情卡片对齐 ===================== */
.vehicle-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1400px; /* 修改为与详情卡片相同宽度 */
    margin: 30px auto;
    padding: 0 20px; /* 添加内边距与详情卡片对齐 */
    position: relative;
    z-index: 2;
}

.vehicle-stat-card {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.vehicle-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
}

.vehicle-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.4);
}

.vehicle-stat-card.green {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border-color: rgba(46, 204, 113, 0.2);
}

.vehicle-stat-card.green::before {
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.vehicle-stat-card.blue {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
    border-color: rgba(52, 152, 219, 0.2);
}

.vehicle-stat-card.blue::before {
    background: linear-gradient(to right, #3498db, #2980b9);
}

.vehicle-stat-card.purple {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
    border-color: rgba(155, 89, 182, 0.2);
}

.vehicle-stat-card.purple::before {
    background: linear-gradient(to right, #9b59b6, #8e44ad);
}

.vehicle-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vehicle-stat-card.green .vehicle-stat-icon {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    -webkit-background-clip: text;
}

.vehicle-stat-card.blue .vehicle-stat-icon {
    background: linear-gradient(to right, #3498db, #2980b9);
    -webkit-background-clip: text;
}

.vehicle-stat-card.purple .vehicle-stat-icon {
    background: linear-gradient(to right, #9b59b6, #8e44ad);
    -webkit-background-clip: text;
}

.vehicle-stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vehicle-stat-card.green .vehicle-stat-value {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    -webkit-background-clip: text;
}

.vehicle-stat-card.blue .vehicle-stat-value {
    background: linear-gradient(to right, #3498db, #2980b9);
    -webkit-background-clip: text;
}

.vehicle-stat-card.purple .vehicle-stat-value {
    background: linear-gradient(to right, #9b59b6, #8e44ad);
    -webkit-background-clip: text;
}

.vehicle-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.vehicle-stat-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

/* 筛选导航区域 */
.vehicle-filters-section {
    max-width: 1400px; /* 修改为与详情卡片相同宽度 */
    margin: 30px auto;
    padding: 0 20px; /* 添加内边距与详情卡片对齐 */
    position: relative;
    z-index: 2;
}

/* 分类导航 */
.categories-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.category-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn.active {
    background: linear-gradient(to right, #e74c3c, #f39c12);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.category-btn.active::before {
    display: none;
}

.category-btn .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: normal;
    position: relative;
    z-index: 1;
}

/* 多级筛选区域 */
.vehicle-filter-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.filter-select {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.filter-select option {
    background: #1a1a3a;
    color: white;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    padding: 12px 30px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* 筛选按钮组 */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-filter, .manufacturer-filter {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(52, 152, 219, 0.2);
}

.filter-btn.active {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
}

.clear-filters {
    margin-left: auto;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.clear-filters:hover {
    background: rgba(231, 76, 60, 0.2);
    color: white;
}

/* ===================== 车辆网格 ===================== */
.vehicles-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 每行固定3个 */
    gap: 30px; /* 增加间距 */
    margin-bottom: 40px;
}

/* 卡片设计 */
.vehicle-card {
    background: linear-gradient(135deg, rgba(26, 26, 58, 0.8), rgba(10, 10, 26, 0.9));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideUp 0.8s ease forwards;
    height: 570px; /* 减小卡片高度，因为去掉了标题 */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.4);
}

/* 图片区域 */
.vehicle-image-container {
    width: 100%;
    height: 200px; /* 固定图片高度 */
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.vehicle-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    z-index: 1;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.1);
}

.no-image-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1a1a3a, #0a0a1a);
    color: rgba(255, 255, 255, 0.1);
    font-size: 4rem;
}

/* 顶部标签区域 */
.vehicle-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
}

.category-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 60px;
    text-align: center;
}

/* 内容区域 */
.vehicle-content {
    padding: 15px 20px 20px; /* 调整内边距：顶部减少为15px，左右20px，底部20px */
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===================== 型号编号区域 - 去掉标题，只显示型号和编号 ===================== */
.vehicle-model-number-area {
    margin-bottom: 12px; /* 减少底部间距 */
    text-align: center;
    padding-bottom: 8px; /* 减少底部内边距 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 保留底部分隔线 */
}

.vehicle-model-number {
    font-size: 1.2rem; /* 稍微减小字体大小 */
    margin: 0; /* 去掉所有外边距 */
    color: white;
    font-weight: 700;
    line-height: 1.2; /* 减小行高 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多2行 */
    -webkit-box-orient: vertical;
    min-height: 29px; /* 确保有最小高度 */
}

/* ============== 技术参数网格 - 优化为紧凑的两行布局 ============== */
.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 保持2列 */
    gap: 10px; /* 减小间隙 */
    margin-bottom: 12px; /* 减小底部边距 */
    height: auto; /* 自动高度 */
}

/* 优化技术参数项 - 单行紧凑布局 */
.spec-item-compact {
    display: flex;
    flex-direction: row; /* 改为水平排列 */
    align-items: center; /* 垂直居中 */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 10px; /* 减小内边距 */
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    min-height: 36px; /* 固定最小高度 */
    gap: 8px; /* 图标与文本间距 */
    overflow: hidden; /* 防止内容溢出 */
}

.spec-item-compact:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

/* 优化图标样式 */
.spec-icon {
    font-size: 0.85rem; /* 减小图标大小 */
    color: #e74c3c;
    margin-bottom: 0; /* 移除底部边距 */
    flex-shrink: 0; /* 防止图标被压缩 */
    width: 16px; /* 固定宽度 */
    text-align: center; /* 图标居中 */
}

/* 优化标签和值容器 - 改为水平排列 */
.spec-info-container {
    display: flex;
    flex-direction: row; /* 水平排列 */
    align-items: center;
    flex: 1; /* 占据剩余空间 */
    gap: 4px; /* 标签和值之间的间距 */
    min-width: 0; /* 允许容器收缩 */
    overflow: hidden; /* 防止内容溢出 */
}

/* 优化标签样式 */
.spec-label-compact {
    font-size: 0.85rem; /* 减小字体 */
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0; /* 移除底部边距 */
    font-weight: 400;
    white-space: nowrap; /* 不换行 */
    flex-shrink: 0; /* 防止标签被压缩 */
    min-width: 36px; /* 标签最小宽度 */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 优化值样式 */
.spec-value-compact {
    font-size: 0.8rem; /* 减小字体 */
    color: white;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* 不换行 */
    flex: 1; /* 占据剩余空间 */
    min-width: 0; /* 允许容器收缩 */
    text-align: left; /* 左对齐 */
}

/* 特殊处理：当值太长时 */
.spec-value-compact.long-value {
    font-size: 0.8rem; /* 更小的字体 */
}

/* 特殊处理：第二行的参数项 */
.spec-item-compact.full-width {
    grid-column: span 2; /* 占满两列 */
    justify-content: space-between; /* 两端对齐 */
}

/* 配属信息 */
.vehicle-depot-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px; /* 减小内边距 */
    background: rgba(52, 152, 219, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(52, 152, 219, 0.15);
    margin-bottom: 12px; /* 减小底部间距 */
    margin-top: 2px; /* 减少顶部间距 */
}

.depot-icon {
    font-size: 1rem;
    color: #3498db;
    flex-shrink: 0;
}

.depot-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 统计信息条 */
.vehicle-stats-bar {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 10px 15px; /* 减小内边距 */
    margin-bottom: 12px; /* 减小底部间距 */
    margin-top: 2px; /* 减少顶部间距 */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-count-bar {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    margin-bottom: 3px;
}

.stat-label-bar {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 操作按钮区域 */
.vehicle-actions-compact {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px; /* 减少顶部间距 */
}

.btn-view-details-compact {
    flex: 1;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.2), rgba(243, 156, 18, 0.2));
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-details-compact:hover {
    background: linear-gradient(to right, rgba(231, 76, 60, 0.3), rgba(243, 156, 18, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.btn-station-link-compact {
    width: 50px;
    padding: 12px;
    background: linear-gradient(to right, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.2));
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-station-link-compact:hover {
    background: linear-gradient(to right, rgba(52, 152, 219, 0.3), rgba(41, 128, 185, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

/* 空状态 */
.vehicle-empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(26, 26, 58, 0.8), rgba(10, 10, 26, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.vehicle-empty-state i {
    font-size: 4rem;
    color: rgba(231, 76, 60, 0.3);
    margin-bottom: 20px;
}

.vehicle-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e74c3c;
}

.vehicle-empty-state p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

/* 热门车辆侧边栏 - 减小与上方内容的间隙 */
.popular-vehicles-sidebar {
    background: linear-gradient(135deg, rgba(26, 26, 58, 0.8), rgba(10, 10, 26, 0.9));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 20px auto; /* 减小上边距为20px */
    max-width: 1400px; /* 添加最大宽度 */
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-vehicles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.popular-vehicle-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.popular-vehicle-item:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: translateX(5px);
    border-color: rgba(231, 76, 60, 0.2);
}

.popular-vehicle-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.popular-vehicle-info {
    flex: 1;
}

.popular-vehicle-name {
    font-size: 1rem;
    color: white;
    margin-bottom: 4px;
    font-weight: 600;
}

.popular-vehicle-model {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
}

.popular-vehicle-collects {
    font-size: 0.8rem;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 分页样式 */
.vehicle-pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    position: relative;
    z-index: 2;
    max-width: 1400px; /* 添加最大宽度 */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* 添加内边距 */
}

.vehicle-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vehicle-pagination a, .vehicle-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(26, 26, 58, 0.8), rgba(10, 10, 26, 0.9));
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 50px;
    height: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.vehicle-pagination a:hover {
    background: linear-gradient(to right, rgba(231, 76, 60, 0.2), rgba(243, 156, 18, 0.2));
    transform: translateY(-2px);
    border-color: rgba(231, 76, 60, 0.3);
}

.vehicle-pagination .current {
    background: linear-gradient(to right, #e74c3c, #f39c12);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.vehicle-pagination .disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.vehicle-pagination .ellipsis {
    background: transparent;
    border: none;
    min-width: auto;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (min-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(3, 1fr); /* 大屏幕上保持3列 */
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr); /* 中等屏幕2列 */
    }
    
    .vehicle-card {
        height: 440px; /* 中等屏幕上的卡片高度 */
    }
    
    .vehicle-image-container {
        height: 180px;
    }
    
    /* 技术参数在中等屏幕下优化 */
    .vehicle-specs-grid {
        gap: 8px;
    }
    
    .spec-item-compact {
        padding: 7px 9px;
        min-height: 34px;
    }
    
    .spec-info-container {
        gap: 3px;
    }
    
    .spec-label-compact {
        font-size: 0.65rem;
        min-width: 32px;
    }
    
    .spec-value-compact {
        font-size: 0.8rem;
    }
    
    /* 调整统计卡片在中等屏幕上的布局 */
    .vehicle-stats-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        padding: 0 15px;
    }
    
    .vehicle-model-number {
        font-size: 1.1rem;
        min-height: 27px;
    }
}

@media (max-width: 767px) {
    .vehicles-title {
        font-size: 2rem;
    }
    
    .vehicles-subtitle {
        font-size: 1.1rem;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr; /* 移动端1列 */
        gap: 25px;
        padding: 15px;
    }
    
    .vehicle-card {
        height: 420px; /* 移动端卡片高度 */
        max-width: 400px;
        margin: 0 auto;
    }
    
    .vehicle-image-container {
        height: 170px;
    }
    
    .categories-nav {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .vehicle-stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .vehicle-stat-card {
        padding: 20px 15px;
    }
    
    .vehicle-stat-value {
        font-size: 1.8rem;
    }
    
    .header-placeholder {
        height: 70px;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .clear-filters {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    /* 移动端技术参数优化 */
    .vehicle-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .spec-item-compact {
        padding: 6px 8px;
        min-height: 32px;
        gap: 6px;
    }
    
    .spec-icon {
        font-size: 0.8rem;
        width: 14px;
    }
    
    .spec-info-container {
        gap: 2px;
    }
    
    .spec-label-compact {
        font-size: 0.6rem;
        min-width: 28px;
    }
    
    .spec-value-compact {
        font-size: 0.75rem;
    }
    
    .vehicle-stats-bar {
        padding: 8px 10px;
        margin-bottom: 10px;
    }
    
    .popular-vehicles-list {
        grid-template-columns: 1fr;
    }
    
    .popular-vehicles-sidebar {
        margin: 20px 15px; /* 减小移动端边距 */
        padding: 20px;
    }
    
    .vehicle-pagination-container {
        padding: 0 15px;
    }
    
    .vehicle-model-number {
        font-size: 1.1rem;
        min-height: 26px;
        line-height: 1.1;
    }
    
    .vehicle-model-number-area {
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    
    .vehicle-content {
        padding: 12px 15px 15px;
    }
}

@media (max-width: 480px) {
    .vehicles-title {
        font-size: 1.8rem;
    }
    
    .vehicles-subtitle {
        font-size: 1rem;
    }
    
    .vehicles-header {
        padding: 70px 15px 30px;
        margin: 0 15px; /* 移动端调整边距 */
        border-radius: 12px; /* 移动端圆角 */
    }
    
    .vehicle-card {
        height: 410px;
    }
    
    .vehicle-image-container {
        height: 160px;
    }
    
    .vehicle-stats-cards {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .header-placeholder {
        height: 65px;
    }
    
    .vehicle-model-number {
        font-size: 1.05rem;
        min-height: 25px;
    }
    
    /* 小屏幕技术参数进一步优化 */
    .vehicle-specs-grid {
        gap: 6px;
    }
    
    .spec-item-compact {
        padding: 5px 7px;
        min-height: 30px;
        gap: 5px;
    }
    
    .spec-icon {
        font-size: 0.75rem;
        width: 12px;
    }
    
    .spec-info-container {
        gap: 1px;
    }
    
    .spec-label-compact {
        font-size: 0.55rem;
        min-width: 24px;
    }
    
    .spec-value-compact {
        font-size: 0.7rem;
    }
    
    .vehicle-stats-bar {
        padding: 8px;
    }
    
    .stat-count-bar {
        font-size: 1rem;
    }
    
    .vehicle-actions-compact {
        flex-direction: row;
    }
    
    .btn-view-details-compact {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .btn-station-link-compact {
        width: 45px;
        padding: 10px;
    }
    
    .vehicle-depot-compact {
        padding: 8px 10px;
        margin-bottom: 10px;
    }
}

/* 全局修复 */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow-x: hidden;
}

.vehicles-main-container .main-content {
    padding: 0 !important;
    margin: 0 !important;
}