/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局CSS变量定义 */
:root {
    /* 基础字体大小，1rem = 10px */
    font-size: 62.5%;
    /* 16px * 62.5% = 10px */

    /* 定义常用尺寸变量 */
    --font-size-small: 1.2rem;
    /* 12px */
    --font-size-base: 1.4rem;
    /* 14px */
    --font-size-large: 1.6rem;
    /* 16px */
    --font-size-xl: 1.8rem;
    /* 18px */
    --font-size-xxl: 2.4rem;
    /* 24px */
    --font-size-xxxl: 3.2rem;
    /* 32px */

    --spacing-xs: 0.5rem;
    /* 5px */
    --spacing-sm: 1rem;
    /* 10px */
    --spacing-md: 2rem;
    /* 20px */
    --spacing-lg: 3rem;
    /* 30px */
    --spacing-xl: 5rem;
    /* 50px */

    --border-radius-sm: 0.5rem;
    /* 5px */
    --border-radius-md: 1rem;
    /* 10px */
    --border-radius-lg: 2rem;
    /* 20px */

    /* 图片相关变量 */
    --image-display-ratio: 0.625;
    /* 图片实际显示比例 */
    --image-max-width: 100%;
    /* 图片最大宽度 */

    /* 分页相关变量 */
    --pagination-btn-bg: #fff;
    --pagination-btn-border: #e0e0e0;
    --pagination-btn-color: #333;
    --pagination-btn-hover-bg: #f5f5f5;
    --pagination-btn-hover-border: #ccc;
    --pagination-btn-hover-color: #222;
    --pagination-btn-active-bg: #4a89dc;
    --pagination-btn-active-border: #4a89dc;
    --pagination-btn-active-color: #fff;
    --image-max-height: 100%;
    /* 图片最大高度 */
    --image-object-fit: cover;
    /* 图片填充方式 */

    /* 图片比例变量 */
    --aspect-ratio-square: 1 / 1;
    /* 正方形 */
    --aspect-ratio-3-4: 3 / 4;
    /* 竖版3:4 */
    --aspect-ratio-4-3: 4 / 3;
    /* 横版4:3 */
    --aspect-ratio-16-9: 16 / 9;
    /* 宽屏16:9 */
    --aspect-ratio-16-10: 16 / 10;
    /* 宽屏16:10 */
    --aspect-ratio-21-9: 21 / 9;
    /* 超宽屏21:9 */
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: var(--font-size-base);
    /* 14px */
    color: #333;
    line-height: 1.6;
}

/* 图片容器相关样式 */

/* 故障报修表单样式 */
.repair-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.repair-form-intro {
    margin-bottom: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid #4a89dc;
}

.repair-form-intro p {
    margin-bottom: 10px !important;
    line-height: 1.8;
    color: #555;
}

.repair-form {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-right: 15px;
    font-weight: 600;
    color: #333;
    font-size: var(--font-size-base);
    width: 120px;
    flex-shrink: 0;
}

.required {
    color: #e74c3c;
    margin-right: 5px;
}

.form-control {
    width: calc(100% - 135px);
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    transition: border-color 0.3s;
    box-sizing: border-box;
}

/* 垂直布局表单组 */
.form-group-vertical {
    flex-direction: column;
    align-items: flex-start;
}

.form-group-vertical .form-label {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
}

.form-group-vertical .form-control {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-label {
        width: 100%;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .form-control {
        width: 100%;
    }
}

.form-control:focus {
    outline: none;
    border-color: #4a89dc;
    box-shadow: 0 0 0 2px rgba(74, 137, 220, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    margin-right: 8px;
}

.radio-text {
    font-size: var(--font-size-base);
    color: #555;
}

.fault-category {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius-sm);
    width: 100%;
}

.fault-category h4 {
    margin-bottom: 15px;
    font-size: var(--font-size-large);
    color: #333;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background-color: #4a89dc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

/* 报修记录页面头部布局 */
.repair-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.btn-secondary {
    background-color: #95a5a6;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
}

.btn-default {
    background-color: #ecf0f1;
    color: #333;
    border: 1px solid #bdc3c7;
}

.btn-default:hover {
    background-color: #d5dbdb;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .repair-form-container {
        padding: 10px;
    }
    
    .repair-form {
        padding: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* 基础图片容器 - 用于保持图片比例 */
.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-container::before {
    content: '';
    display: block;
    padding-top: calc((100% * var(--aspect-ratio-denominator, 1)) / var(--aspect-ratio-numerator, 1));
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--image-object-fit);
}

/* 图片比例工具类 */
.aspect-square {
    --aspect-ratio: var(--aspect-ratio-square);
    --aspect-ratio-numerator: 1;
    --aspect-ratio-denominator: 1;
}

.aspect-3-4 {
    --aspect-ratio: var(--aspect-ratio-3-4);
    --aspect-ratio-numerator: 3;
    --aspect-ratio-denominator: 4;
}

.aspect-4-3 {
    --aspect-ratio: var(--aspect-ratio-4-3);
    --aspect-ratio-numerator: 4;
    --aspect-ratio-denominator: 3;
}

.aspect-16-9 {
    --aspect-ratio: var(--aspect-ratio-16-9);
    --aspect-ratio-numerator: 16;
    --aspect-ratio-denominator: 9;
}

.aspect-16-10 {
    --aspect-ratio: var(--aspect-ratio-16-10);
    --aspect-ratio-numerator: 16;
    --aspect-ratio-denominator: 10;
}

.aspect-21-9 {
    --aspect-ratio: var(--aspect-ratio-21-9);
    --aspect-ratio-numerator: 21;
    --aspect-ratio-denominator: 9;
}

/* 图片缩放工具类 - 实际显示宽度为定义宽度的62.5% */
/* 使用CSS变量保存原始宽度，然后通过calc()函数计算缩放后的宽度 */
.image-scale {
    /* --image-original-width: 400px; 这行需要在HTML或CSS中手动设置 */
    /* 根据原始宽度和显示比例计算实际显示宽度 */
    width: calc(var(--image-original-width) * var(--image-display-ratio)) !important;
    /* 高度自动按比例缩放 */
    height: auto !important;
    /* 确保图片正确显示 */
    display: block;
    /* 确保盒模型正确 */
    box-sizing: border-box;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    :root {
        font-size: 56.25%;
        /* 16px * 56.25% = 9px */
    }
}

@media screen and (max-width: 480px) {
    :root {
        font-size: 50%;
        /* 16px * 50% = 8px */
    }
}

/* 容器样式 */
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.container:before,
.container:after {
    content: none;
}

/* 顶部导航栏 */
.header-top {
    padding: 20px 0;
}

.header-top .container {
    display: flex;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    /* 占据剩余空间 */
    margin-right: 20px;
    /* 与右侧保持适当间距 */
}

.header-top-right {
    flex: 0 0 auto;
    /* 宽度由内容决定，不伸缩 */
}

.logo {
    --image-original-width: 430px;
}

.search-box {
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 5px 10px;
    border: 1px solid #2774ba;
}

.search-box input {
    border: none;
    outline: none;
    padding: 0px 5px;
    width: 200px;
}

.search-box button {
    background: none;
    border: none;
    color: #2774ba;
    cursor: pointer;
    padding: 0px 5px;
}

.header-top-right {
    display: flex;
    align-items: center;
}

.header-top-right .hotline {
    align-items: center;
    background-image: url('/assets/img/frontend/icon_01.jpg');
    background-repeat: no-repeat;
    background-size: auto 85%;
    padding-left: 75px;
}

.header-top-right .hotline .hotline-title {
    font-size: var(--font-size-large);
    color: #2774ba;
}

.header-top-right .hotline .hotline-number {
    font-size: var(--font-size-xxl);
    color: #2774ba;
    font-weight: bold;
}

.main-nav {
    background-color: #004a8c;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

.nav-list li {
    position: relative;
    white-space: nowrap;
    text-align: center;
}

.nav-list a {
    display: block;
    padding: 15px 55px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: var(--font-size-large);
}

.nav-list a:hover,
.nav-list a.active {
    background-color: #0068bd;
}

/* bootstrap-select组件优化 */
.bootstrap-select {

    /* 优化下拉按钮样式 */
    .btn {
        border-radius: var(--border-radius-md);
        transition: all 0.3s ease;
        border: 1px solid #e5e5e5;
        background-color: #fff;
        color: #333;
    }

    /* 按钮悬停效果 */
    .btn:hover {
        border-color: #0068bd;
        box-shadow: 0 2px 8px rgba(0, 104, 189, 0.15);
    }

    /* 按钮聚焦效果 */
    .btn:focus,
    .btn:active {
        border-color: #0068bd;
        box-shadow: 0 0 0 3px rgba(0, 104, 189, 0.1);
    }

    /* 优化下拉菜单样式 */
    .dropdown-menu {
        border-radius: var(--border-radius-md);
        border: 1px solid #e5e5e5;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        padding: var(--spacing-xs) 0;
    }

    /* 菜单项样式 */
    .dropdown-menu li a {
        padding: var(--spacing-sm) var(--spacing-md);
        transition: all 0.2s ease;
        color: #333;
    }

    /* 菜单项悬停效果 */
    .dropdown-menu li a:hover,
    .dropdown-menu li a:focus {
        background-color: #0068bd;
        color: #fff;
        padding-left: calc(var(--spacing-md) + 5px);
    }

    /* 选中项样式 */
    .dropdown-menu li.selected a {
        background-color: rgba(0, 104, 189, 0.1);
        color: #0068bd;
    }

    /* 多选框样式优化 */
    .dropdown-menu li a.check-mark {
        background-position: right 15px center;
    }
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

/* 为有下拉菜单的导航项添加箭头 - 优化为更现代的箭头 */
.dropdown>a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

/* 鼠标悬停时旋转箭头并增强不透明度 */
.dropdown:hover>a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0068bd;
    width: 190px;
    /* 固定宽度，确保内容显示完整 */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* 增强阴影效果 */
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: var(--font-size-md);
    text-align: center;
}

/* 菜单项悬停效果增强 */
.dropdown-menu a:hover {
    padding: 12px 24px !important;
    background-color: #fff !important;
    color: #0068bd !important;
    box-shadow: inset 4px 0 0 #0068bd;
    /* 添加左侧高亮边框 */
    font-weight: 500;
}

/* 主横幅 */
.banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.banner-bg img {
    width: 100%;
    height: 100%;
}

/* 新增banner内容样式 */
.banner-content-new {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* 上面一行：5个icon */
.banner-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 30px;
}

.banner-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s;
    /* 水滴形状样式 */
    width: 90px;
    height: 90px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    position: relative;
    padding: 10px;
    /* 使用box-shadow创建比白边大5px的背景效果 */
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.5);
}

.banner-icon:hover {
    background-color: rgba(39, 116, 186, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 5px rgba(39, 116, 186, 0.9);
    transform: rotate(45deg);
}

.banner-icon img {
    --image-original-width: 100px;
    object-fit: contain;
    transform: rotate(-45deg);
}

/* 下面一行：左右布局内容 */
.banner-info-container {
    width: 100%;
    background-color: rgba(39, 116, 186, 0.8);
    /* #2774ba半透明 */
    padding: 20px 0;
}

.banner-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    color: white;
    padding: 0;
    box-sizing: border-box;
}

.info-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-right: 30px;
}

.info-left>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.info-logo {
    --image-original-width: 90px;
    object-fit: contain;
    border: 2px solid white;
    border-radius: 50%;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.2);
}

.info-left h3 {
    font-size: var(--font-size-xxl);
    font-weight: bold;
    margin: 0;
}

.info-subtitle {
    font-size: var(--font-size-sm);
    margin: 5px 0 0;
    color: white;
}

.info-arrow {
    width: auto;
    height: 60px;
    object-fit: contain;
    margin-right: 30px;
}

.info-right {
    flex: 1;
    min-width: 0;
}

.info-right p {
    font-size: var(--font-size-large);
    margin: 0;
    line-height: 1.5;
}

/* 功能按钮区 */
.feature-buttons {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.feature-buttons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.feature-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
    flex: 1 1 calc(16.666% - 20px);
    max-width: calc(16.666% - 20px);
}

.feature-button:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.button-icon img {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-button span {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: #2774ba;
}

/* 通用区块标题 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #2774ba;
    border-left: 8px solid #2774ba;
}

.section-header img.section-logo {
    height: 30px;
    margin-right: 10px;
}

.section-header h2 {
    font-size: var(--font-size-xxl);
    font-weight: bold;
    color: #2774ba;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.more-link {
    color: #2774ba;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    text-decoration: underline;
}

/* 公司要闻 */
.company-news {
    padding: 40px 0;
}

.news-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.news-main {
    position: relative;
    border: 1px solid #ddd;
    overflow: hidden;
    width: 100%;
    max-width: 550px;
    height: 400px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#newsCarousel {
    width: 100%;
    height: 100%;
}

#newsCarousel .carousel-inner {
    width: 100%;
    height: 100%;
}

#newsCarousel .item {
    width: 100%;
    height: 100%;
}

.news-main-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 轮播指示器样式 */
.carousel-indicators {
    bottom: 10px;
    z-index: 15;
    width: 60%;
    margin-left: -30%;
    text-align: center;
    list-style: none;
    position: absolute;
}

.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    border-radius: 10px;
}

.carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #fff;
}

.news-info {
    padding: 20px;
    font-size: 18px;
    color: #333;
    width: calc(100% - 300px);
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2774ba;
}

.news-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.news-meta {
    color: #999;
}

.news-list {
    flex: 1;
    min-width: 300px;
    height: 400px;
    /* 与轮播图高度保持一致（550px * 9/16） */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-item {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
    box-sizing: border-box;
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
}

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

.news-title {
    text-decoration: none;
    flex: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.5s ease-in-out;
    font-weight: 500;
    font-size: var(--font-size-large);
    color: #2774ba;
    font-weight: bold;
}

.news-title:hover {
    color: #1a5ca0;
    text-decoration: none;
    transform: translateX(5px);
    background-image: url('/assets/img/frontend/arrow.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 20px;
    padding-left: 22px;
}

.news-time {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.news-item-content {
    color: #666;
    font-size: var(--font-size-small);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 截取两行，更适合当前空间 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
    word-break: break-word;
    flex-shrink: 0;
}

/* 特色服务 */
.special-services {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.services-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: calc(33.333% - 20px);
    max-width: 100%;
    min-height: 480px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 30px 25px;
}

@media (max-width: 992px) and (min-width: 769px) {
    .service-card {
        min-width: calc(50% - 20px);
    }
}

.service-info {
    padding: 20px 10px 10px 10px;
}

.service-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2774ba;
}

.service-info p {
    color: #fff;
    margin-bottom: 5px;
}

.service-link {
    color: #7d332e;
    text-decoration: none;
    font-size: var(--font-size-base);
    text-align: right;
    display: block;
}

.service-link:hover {
    color: #7d332e;
    text-decoration: underline;
}

.service-info.bg {
    background-color: rgba(232, 245, 233, 0.5);
    height: 100%;
}

.service-info.bg h3 {
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
    font-weight: bold;
}

.service-info.bg ul {
    list-style: none;
    margin-bottom: 15px;
}

.server-box {
    padding: 20px;
}

.server-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.server-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.server-left {
    flex: 4;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #2774ba;
    padding: 10px 0;
    border-radius: 5px;
}

.server-left img {
    --image-original-width: 60px;
    margin-bottom: 5px;
}

.server-left p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Main content */
.main-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Inner page banner */
.inner-banner {
    width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* News page specific styles */
.about-content .news-list {
    height: auto;
    max-height: none;
    display: block;
}

.about-content .news-item {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.about-content .news-item:last-child {
    border-bottom: none;
}

/* 保修记录列表样式 */
.about-content .news-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #2774ba;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    margin-right: 15px;
    font-weight: bold;
}

.about-content .news-info {
    display: inline-block;
    vertical-align: middle;
}

.about-content .news-info span {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
    color: #333;
}

.about-content .news-item-header {
    margin-bottom: 10px;
}

.about-content .status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
}

.about-content .status-0 {
    background-color: #f0ad4e;
    color: white;
}

.about-content .status-2 {
    background-color: #5cb85c;
    color: white;
}

.about-content .status-3 {
    background-color: #d9534f;
    color: white;
}

.inner-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Breadcrumb navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2774ba;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

/* About page layout */
.about-layout {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.about-sidebar {
    flex: 0 0 250px;
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
}

.about-category {
    margin-bottom: 30px;
}

.about-category h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.about-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-category ul li {
    margin-bottom: 8px;
}

.about-category ul li a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

.about-category ul li a:hover {
    color: #2774ba;
    background-color: #e8f0fe;
}

.about-category ul li.active a {
    color: #fff;
    background-color: #2774ba;
    font-weight: bold;
}

.about-content {
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.about-content:hover {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-content .content-section {
    background-color: #fff;
    padding: 10px 20px;
}

.about-content .content-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

/* 详情页样式 */
.detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-title {
    margin-bottom: 20px;
    font-size: 28px;
    color: #2c3e50;
    line-height: 1.3;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.article-meta {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: #7f8c8d;
}

.meta-item {
    margin-right: 20px;
    display: inline-block;
}

.meta-item i {
    margin-right: 5px;
    color: #3498db;
}

.article-content {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.article-content h2, .article-content h3, .article-content h4 {
    margin: 25px 0 15px;
    color: #2c3e50;
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.prev-article, .next-article {
    flex: 1;
}

.prev-article {
    margin-right: 20px;
}

.article-nav a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.article-nav a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.related-list {
    list-style: none;
    padding: 0;
}

.related-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.related-list li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: #3498db;
}

.related-list li a {
    color: #34495e;
    text-decoration: none;
    transition: color 0.3s;
}

.related-list li a:hover {
    color: #3498db;
    text-decoration: underline;
}

.about-content .content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

/* Search Results Styles */
.search-title {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.search-results {
    margin-bottom: 30px;
}

.search-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-title {
    margin-bottom: 10px;
}

.result-title a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.result-title a:hover {
    color: #4a89dc;
}

.result-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #999;
}

.result-meta span {
    margin-right: 15px;
}

.result-category {
    color: #4a89dc;
}

.result-time {
    color: #999;
}

.result-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.empty-results {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 16px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--pagination-btn-border);
    color: var(--pagination-btn-color);
    background-color: var(--pagination-btn-bg);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--pagination-btn-hover-bg);
    border-color: var(--pagination-btn-hover-border);
    color: var(--pagination-btn-hover-color);
}

.pagination .active a,
.pagination .active span {
    background-color: var(--pagination-btn-active-bg);
    border-color: var(--pagination-btn-active-border);
    color: var(--pagination-btn-active-color);
}

.pagination .disabled a,
.pagination .disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .disabled a:hover {
    background-color: var(--pagination-btn-bg);
    border-color: var(--pagination-btn-border);
    color: var(--pagination-btn-color);
}

.server-right {
    flex: 6;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
}

.server-right img {
    --image-original-width: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.special-box li {
    color: #333;
    line-height: 1.8;
    background-image: url('/assets/img/frontend/dj_icon.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 15px 15px;
    padding-left: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    /* 确保有足够的高度来显示图标和内容 */
}

.special-box li::after {
    content: attr(data-date);
    display: inline-block;
    background-color: rgba(125, 51, 46, 0.1);
    color: #333;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    font-size: 12px;
}

.inform-box li {
    color: #333;
    line-height: 1.8;
    background-image: url('/assets/img/frontend/gs_icon.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 20px;
    padding-left: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    /* 确保有足够的高度来显示图标和内容 */
}

.inform-box li::after {
    content: attr(data-date);
    display: inline-block;
    background-color: rgba(46, 125, 50, 0.1);
    color: #333;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    font-size: 12px;
}

.inform-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 85px);
    /* 为日期和图标留出空间 */
}

.inform-link:hover {
    color: #333;
    text-decoration: none;
}

.service-contact {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #c8e6c9;
}

.service-contact strong {
    font-size: 20px;
    color: #333;
}

/* 重点工程 */
.key-projects {
    padding: 40px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.projects-grid h3 {
    font-size: var(--font-size-base);
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 200px;
    transition: transform 0.3s;
}

.project-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.project-item:hover .project-img {
    transform: scale(1.05);
}

.project-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    margin: 0;
    text-align: center;
}

/* 企业展示 */
.enterprise-showcase {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.showcase-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

/* 企业风采图片列表 */
.enterprise-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-size: var(--font-size-base);
    color: #333;
    font-weight: 500;
}

.showcase-item:hover {
    transform: translateY(-5px);
}

.showcase-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* 页脚 */
.footer {
    background-color: #004a8c;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-left {
    flex: 2;
    padding-right: 30px;
}

.footer-left img {
    --image-original-width: 250px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 10px;
}

.footer-left p {
    line-height: 1.8;
    color: #e0e0e0;
}

.footer-center {
    flex: 1;
}

.footer-center h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2774ba;
}

.footer-center ul {
    list-style: none;
}

.footer-center li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-center li i {
    margin-right: 10px;
    margin-top: 3px;
    color: #00a65a;
}

.footer-right {
    flex: 1;
    text-align: center;
}

.qrcode {
    width: 120px;
    height: 120px;
    background-color: #fff;
    margin: 0 auto 10px;
    border-radius: 8px;
    background-image: url('https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=https://www.tcwater.com');
    background-size: cover;
    background-position: center;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #2774ba;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #b0b0b0;
    font-size: 12px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2774ba;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0068bd;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0;
    }

    .indicators-list {
        flex-wrap: wrap;
    }

    .indicator-item {
        flex: 1 1 calc(50% - 20px);
        margin-bottom: 20px;
    }

    .feature-buttons-list {
        flex-wrap: wrap;
    }

    .feature-button {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        margin-bottom: 20px;
    }

    .news-content {
        flex-direction: column;
    }

    .services-list {
        flex-direction: column;
    }

    .service-card {
        min-width: 100%;
        margin-bottom: 20px;
    }

    .projects-grid,
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-list {
        flex-direction: column;
    }

    /* 响应式下拉菜单 */
    .dropdown-menu {
        position: static;
        width: 100%;
        background-color: #0068bd;
        box-shadow: none;
        border-radius: 8px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 8px 0;
        margin-top: 8px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    /* 移动端箭头样式优化 */
    .dropdown>a::after {
        float: right;
        margin-top: 8px;
    }

    .dropdown-menu li:not(:last-child) {
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu a {
        padding: 12px 20px !important;
        font-size: 15px;
    }

    /* 移动端菜单项悬停效果 */
    .dropdown-menu a:hover {
        padding: 12px 24px !important;
        background-color: #fff !important;
        color: #0068bd !important;
        box-shadow: inset 4px 0 0 #0068bd;
        font-weight: 500;
    }

    .banner {
        height: 250px;
    }

    .indicator-item {
        flex: 1 1 100%;
    }

    .feature-button {
        flex: 1 1 calc(50% - 10px);
    }

    .news-content {
        flex-direction: column;
    }

    .news-main {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .news-main-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* 移动端新闻列表调整 */
    .news-list {
        height: auto;
        /* 取消固定高度 */
    }

    .news-item {
        height: auto;
        /* 取消固定高度，自适应内容 */
        padding: 15px 0;
    }

    .news-item-content {
        -webkit-line-clamp: 2;
        /* 移动端截取两行 */
    }

    .projects-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

/* 自定义分页样式 */
.custom-pagination {
    text-align: center;
    margin: var(--spacing-lg) 0;
    padding: 0;
}

.custom-pagination .page-btn {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.2rem;
    border: 1px solid var(--pagination-btn-border);
    border-radius: var(--border-radius-sm);
    color: var(--pagination-btn-color);
    text-decoration: none;
    background-color: var(--pagination-btn-bg);
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
    min-width: 36px;
    text-align: center;
}

.custom-pagination .page-btn:hover {
    background-color: var(--pagination-btn-hover-bg);
    border-color: var(--pagination-btn-hover-border);
    color: var(--pagination-btn-hover-color);
}

.custom-pagination .page-btn.active {
    background-color: var(--pagination-btn-active-bg);
    border-color: var(--pagination-btn-active-border);
    color: var(--pagination-btn-active-color);
}

.custom-pagination .page-btn.prev,
.custom-pagination .page-btn.next {
    /* prev/next 按钮使用与普通按钮相同的内边距 */
}

.custom-pagination .page-btn.prev:hover,
.custom-pagination .page-btn.next:hover {
    background-color: var(--pagination-btn-active-bg);
    border-color: var(--pagination-btn-active-border);
    color: var(--pagination-btn-active-color);
}

/* 页码输入框和跳转按钮样式 */
.page-input-container {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.page-input {
    width: 60px;
    padding: 0.8rem 0.5rem;
    border: 1px solid var(--pagination-btn-border);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    text-align: center;
    background-color: var(--pagination-btn-bg);
    color: var(--pagination-btn-color);
}

.page-input:focus {
    outline: none;
    border-color: var(--pagination-btn-active-border);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.page-go-btn {
    padding: 0.8rem 1rem;
    border: 1px solid var(--pagination-btn-border);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    background-color: var(--pagination-btn-bg);
    color: var(--pagination-btn-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-go-btn:hover {
    background-color: var(--pagination-btn-hover-bg);
    border-color: var(--pagination-btn-hover-border);
    color: var(--pagination-btn-hover-color);
}

.page-go-btn:active {
    background-color: var(--pagination-btn-active-bg);
    border-color: var(--pagination-btn-active-border);
    color: var(--pagination-btn-active-color);
}

/* 保修记录列表样式 */
.repair-list {
    width: 100%;
    display: block;
    gap: 15px;
}

.repair-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.repair-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2774ba 0%, #3498db 100%);
}

.repair-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #2774ba;
    transform: translateY(-3px);
}

.repair-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.repair-title {
    flex: 1;
    min-width: 250px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.repair-title h3 {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.repair-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: var(--font-size-base);
    color: #7f8c8d;
}

.repair-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.repair-info span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #bdc3c7;
}

.repair-info .type::before {
    background-color: #2774ba;
}

.repair-info .name::before {
    background-color: #2ecc71;
}

.repair-info .mobile::before {
    background-color: #3498db;
}

.repair-info .createtime::before {
    background-color: #9b59b6;
}

/* 类型标签样式 */
.repair-info .type {
    color: #2774ba;
    font-weight: 600;
}

.repair-info .type[data-type="报装"]::after {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.repair-info .type[data-type="投诉"]::after {
    background-color: #ffebee;
    color: #c62828;
}

.repair-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.status-badge.status-0 {
    background-color: #f0ad4e;
}

.status-badge.status-1 {
    background-color: #3498db;
}

.status-badge.status-2 {
    background-color: #f39c12;
}

.status-badge.status-3 {
    background-color: #27ae60;
}

.status-badge.status-4 {
    background-color: #e74c3c;
}

.repair-time {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    background-color: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.repair-item-content {
    color: #555;
    font-size: var(--font-size-base);
    line-height: 1.8;
    margin-left: 0;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    /* border-left: 4px solid #2774ba; */
    transition: all 0.3s ease;
}

.repair-item:hover .repair-item-content {
    background-color: #f0f4f8;
    border-left-color: #1d5a8a;
}

.repair-item-content p {
    margin: 0 !important;
    line-height: 1.4 !important;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px 25px;
    align-items: start;
}

.repair-item-content p strong {
    text-align: right;
    color: #34495e;
    font-weight: 700;
    white-space: nowrap;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .repair-item {
        padding: 15px;
    }
    
    .repair-item-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .repair-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .repair-item-content p {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .repair-item-content p strong {
        text-align: left;
        background-color: #f0f4f8;
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
    }
    
    .repair-info {
        gap: 15px;
    }
}

.empty-repair {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: var(--font-size-base);
    background-color: #fafafa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

.empty-repair p {
    margin: 0;
    font-size: var(--font-size-large);
}