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

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    animation: fadeIn 0.6s ease-in-out;
    opacity: 1;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

/* 顶部导航栏 */
.header {
    background-color: #A6192E; /* SFU红色 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    height: 68px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* 删除空间元素 */
.header-wrapper::after {
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    min-width: 0; /* 防止溢出 */
}

/* 创建新的左侧容器包含logo和导航按钮 */
.left-section {
    display: flex;
    align-items: center;
    flex: 2;
    min-width: 0; /* 防止溢出 */
}

.logo-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    min-width: 32px; /* 确保固定宽度 */
}

.logo-img {
    width: 100%;
    height: auto;
    filter: brightness(1.2);
}

/* 确保logo文本始终在一行显示 */
.logo-text {
    font-size: 24px;
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-buttons {
    display: flex;
    gap: 28px; /* 增加导航按钮间距，之前是18px */
    margin-left: 50px; /* 增加Logo与导航按钮之间的距离 */
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* 增加图标与文字间距，之前是8px */
    background-color: #1F2937;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 10px 22px; /* 增加按钮左右内边距，之前是18px */
    height: 44px; /* 统一按钮高度 */
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 48px; /* 确保最小触控区域 */
    min-height: 48px; /* 确保最小触控区域 */
    text-decoration: none;
}

.nav-button:hover, .nav-button:focus, .nav-button:active {
    background-color: #2D3748; /* 背景颜色加深 */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.nav-button i {
    font-size: 16px;
}

.hamburger-menu {
    display: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 8px;
    min-width: 48px; /* 确保最小触控区域 */
    min-height: 48px; /* 确保最小触控区域 */
    text-align: center; /* 居中图标 */
    z-index: 100; /* 确保始终可点击 */
}

/* 增强交互反馈 */
.hamburger-menu.active {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.15); /* 添加轻微背景色变化作为替代反馈 */
    border-radius: 4px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #A6192E;
    padding: 1.2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease-in-out;
}

.mobile-nav-button {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 8px;
    background-color: #1F2937 !important;
    display: flex !important;
    align-items: center;
    padding: 8px 16px !important;
    gap: 10px;
    border-radius: 8px;
    text-decoration: none;
}

.mobile-nav-button:hover {
    background-color: #2D3748 !important;
    transform: translateY(-2px);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 30px; /* 增加通知按钮与头像之间的间距 */
    margin-left: auto; /* 将用户区域推到最右侧 */
}

.notifications {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 48px; /* 确保最小触控区域 */
    min-height: 48px; /* 确保最小触控区域 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.notifications:hover {
    transform: scale(1.15);
}

.notifications.clicked {
    transform: scale(0.85);
    opacity: 0.8;
}

.notification-icon {
    width: 24px;
    height: 24px;
    filter: brightness(1.2);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FFFFFF;
    color: #A6192E;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.user-avatar {
    width: 42px; /* 增加尺寸 */
    height: 42px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer; /* 确保鼠标指针显示为可点击状态 */
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    min-width: 42px; /* 确保固定宽度 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.user-avatar:hover {
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-avatar:active {
    transform: scale(0.95);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 欢迎横幅 */
.welcome-banner {
    position: relative;
    height: 450px; /* 增加高度 */
    overflow: hidden;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: none; /* 隐藏额外的内容区域 */
}

.banner-title {
    font-size: 80px;
    color: #FFFFFF;
    display: none;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)); /* 减轻遮罩效果 */
    box-shadow: none; /* 移除阴影 */
}

.banner-overlay-text {
    position: absolute;
    bottom: 40px; /* 文字位置靠近底部但不贴底 */
    left: 5%; /* 左对齐 */
    transform: none; /* 移除居中变换 */
    color: #FFFFFF;
    font-size: 54px; /* 保持文字大小 */
    text-align: left; /* 左对齐文本 */
    font-weight: 700; /* 加粗文字 */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* 增强文字阴影确保可读性 */
    letter-spacing: 0.5px;
    padding: 0; /* 移除内边距 */
    background: none; /* 取消背景蒙版 */
    width: auto; /* 宽度自适应文字内容 */
    display: inline-block; /* 宽度适应内容 */
    max-width: 90%; /* 最大宽度限制 */
}

/* 功能卡片区域 */
.features-section {
    padding: 30px 32px; /* 统一页面内边距 */
    margin-bottom: 60px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px; /* 增加卡片间距 */
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 35px 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* 增加内部元素间距 */
    height: 100%;
}

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px; /* 增大图标区域 */
    height: 80px;
    background-color: rgba(255, 235, 235, 0.8);
    border-radius: 50%;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(166, 25, 46, 0.1);
}

.feature-card:hover .icon-circle {
    background-color: rgba(255, 220, 220, 0.9);
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(166, 25, 46, 0.15);
}

.icon-circle i {
    font-size: 28px; /* 增大图标 */
    color: #A6192E;
}

.feature-title {
    font-size: 22px; /* 增大标题 */
    font-weight: 700; /* 加粗标题 */
    margin-bottom: 5px;
    color: #000000; /* 统一标题颜色 */
}

.feature-desc {
    font-size: 16px;
    color: #666666; /* 统一描述文字颜色 */
    line-height: 1.6;
}

/* 底部区块 */
.footer {
    background-color: #F5F5F5;
    padding: 60px 32px 30px;
    border-top: 1px solid #E5E7EB;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.footer-logo {
    width: 100%;
    height: auto;
}

.footer-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.footer-desc {
    font-size: 15px;
    color: #555;
    max-width: 350px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700; /* 加粗标题 */
    margin-bottom: 20px; /* 增加间距 */
    color: #333;
}

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

.footer-list li {
    margin-bottom: 12px; /* 增加间距 */
}

.footer-list a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.footer-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* 加粗下划线 */
    bottom: 0;
    left: 0;
    background-color: #A6192E;
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: #A6192E;
}

.footer-list a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #E0E0E0;
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #666;
}

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

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 24px; /* 保持统一的内边距 */
    }
    
    .banner-overlay-text {
        font-size: 42px;
        bottom: 35px; /* 调整位置 */
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .features-section {
        padding: 25px 24px; /* 保持统一的内边距 */
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* 改为纵向布局以便菜单能正确展开 */
        padding: 0;
        position: relative; /* 为移动菜单提供定位上下文 */
    }
    
    .header-wrapper {
        justify-content: space-between;
        padding: 0 24px; /* 将内边距移到wrapper */
        height: 64px; /* 将高度移到wrapper */
        width: 100%;
    }
    
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 确保移动菜单正确显示 */
    .mobile-menu {
        width: 100%;
        padding: 16px;
    }
    
    .mobile-nav-button {
        height: 48px; /* 确保足够的点击区域 */
    }
    
    .left-section {
        flex: initial;
    }
    
    .logo-container {
        gap: 16px; /* 移动端下调整间距 */
    }
    
    .nav-buttons {
        display: none;
    }
    
    .user-section {
        margin-top: 0;
        width: auto;
        justify-content: flex-end;
        gap: 16px; /* 移动端下调整间距 */
        margin-left: 0; /* 移动端下取消margin-left:auto */
    }
    
    /* 在移动端适配用户下拉菜单 */
    .user-dropdown {
        position: absolute;
        top: calc(100% + 8px); /* 减少顶部间距 */
        right: 20px; /* 确保在屏幕内 */
        width: 240px; /* 移动端下增加菜单宽度 */
        box-shadow: 0 8px 24px rgba(0,0,0,0.2); /* 增强阴影 */
    }
    
    .user-dropdown a {
        height: 56px; /* 移动端下增加点击区域高度 */
        padding: 14px 16px; /* 增加内边距 */
    }
    
    /* 在移动端中禁用空间元素 */
    .header-wrapper::after {
        display: none;
    }
    
    .welcome-banner {
        height: 350px;
        margin-bottom: 32px; /* 统一垂直间距 */
    }

    .banner-overlay-text {
        font-size: 36px;
        bottom: 30px; /* 调整位置 */
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* 底部改为两列布局 */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 32px;
        text-align: left; /* 确保文字左对齐 */
    }
    
    .footer-info {
        grid-column: span 2;
        text-align: left;
        margin-bottom: 24px;
    }

    .footer-desc {
        text-align: left;
        margin-bottom: 16px;
    }

    .footer-heading {
        font-size: 17px;
        margin-bottom: 16px;
        text-align: left;
    }
    
    .footer-list {
        text-align: left;
        padding-left: 0; /* 移除可能的默认内边距 */
    }
    
    .footer-list a {
        font-size: 14px;
        display: block; /* 确保链接占据整行 */
        text-align: left;
    }
    
    .features-section {
        padding: 20px 24px; /* 保持统一的内边距 */
    }

    .search-filter-container {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .issue-table-container {
        padding: 24px;
        width: calc(100% - 8px);
        min-width: 300px;
        max-width: 1100px;
    }
    
    .issues-table-wrapper {
        width: 100% !important;
        overflow-x: visible;
    }

    .search-container {
        width: 100%;
    }

    .logo-text {
        font-size: 20px; /* 在移动设备上稍微减小字体 */
    }
    
    .left-section {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 单列显示 */
        gap: 20px;
    }
    
    .welcome-banner {
        height: 300px;
    }
    
    .features-section {
        padding: 20px 24px; /* 保持统一的内边距 */
        margin-bottom: 32px; /* 统一垂直间距 */
    }
    
    /* 底部保持两列布局 */
    .footer-top {
        grid-template-columns: 1fr 1fr; /* 确保在小屏幕上依然保持两列 */
        gap: 16px; /* 减小列间距 */
    }
    
    .footer-info {
        grid-column: span 2; /* 让描述占据两列 */
    }
    
    .footer-desc {
        max-width: 100%; /* 在小屏幕上允许描述占据全宽 */
    }
    
    .banner-overlay-text {
        font-size: 32px;
        bottom: 25px; /* 调整位置 */
    }
}

/* Search Issue 专用样式 */
.search-issue-table-container {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 
                0 10px 25px rgba(0, 0, 0, 0.08), 
                0 5px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(230, 230, 230, 0.8);
    padding: 32px;
    margin: 0 auto;
    width: calc(100% - 8px);
    max-width: 1100px;
}

.search-issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.search-issue-title {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
}

.search-filter-group {
    display: flex;
    gap: 16px;
}

.search-type-filter, 
.search-status-filter {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background-color: white;
    font-size: 16px;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    color: #333333;
}

.search-type-filter:hover,
.search-status-filter:hover {
    border-color: #A6192E;
    box-shadow: 0 2px 4px rgba(166, 25, 46, 0.1);
}

.search-type-filter:focus,
.search-status-filter:focus {
    border-color: #A6192E;
    box-shadow: 0 0 0 3px rgba(166, 25, 46, 0.1);
    outline: none;
}

.search-issues-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 12px;
}

.search-issues-table thead th {
    padding: 16px 24px;
    font-weight: 600;
    color: #1F2937;
    font-size: 14px;
    white-space: nowrap;
    background-color: #F8F9FA;
    position: sticky;
    top: 0;
    z-index: 1;
}

.search-issues-table tbody tr {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.search-issues-table tbody tr:hover {
    background-color: #F5F7FA;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.search-issues-table th, 
.search-issues-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
}

.search-status-badge {
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-status-badge.status-inprogress {
    background-color: #e361f2;
    color: #ffffff;
    border: 1px solid #e361f2;
}

.search-status-badge.status-open {
    background-color: hsl(199, 92%, 65%);
    color: #ffffff;
    border: 1px solid hsl(199, 92%, 65%);
}

.search-assigned-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-assigned-cell {
    min-width: 150px;
}

@media (max-width: 768px) {
    .search-filter-container {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .search-filter-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .search-type-filter, 
    .search-status-filter {
        width: 100%;
        min-width: unset;
    }
    
    .search-issues-table thead {
        display: none;
    }
    
    .search-issues-table tbody tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 16px;
    }
    
    .search-issues-table td {
        display: flex;
        padding: 12px 16px;
        border-bottom: 1px solid #F5F5F5;
        align-items: center;
    }
    
    .search-issues-table td:before {
        content: attr(data-label);
        width: 100px;
        min-width: 100px;
        font-weight: 600;
        color: #424242;
        margin-right: 12px;
    }
    
    .search-issues-table td[data-label="Date"] {
        display: none;
    }
    
    .search-issues-table tr.expanded td[data-label="Date"] {
        display: flex;
    }
    
    .search-issues-table td[data-label="Actions"] {
        padding: 12px;
        border-bottom: none;
        background: #FFFFFF;
        display: flex;
        justify-content: center;
    }
    
    .search-issues-table td[data-label="Actions"]:before {
        display: none;
    }
    
    .expand-button {
        width: 100%;
        margin: 8px 0;
        padding: 12px;
        background: #EBF5FF;
        border: 1px solid #BAE3FF;
        border-radius: 8px;
        font-size: 14px;
        color: #0066CC;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .search-assigned-cell {
        width: 100% !important;
    }
    
    .search-assigned-user {
        max-width: calc(100% - 110px);
    }
}

/* 返回顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(128, 0, 32, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#backToTop i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

#backToTop:hover {
    background-color: rgba(128, 0, 32, 1);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    #backToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    #backToTop {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    #backToTop i {
        font-size: 18px;
    }
}

/* 问题报告页面特定样式 */
.main-content {
    padding: 40px 0 80px; /* 增加底部内边距 */
    max-width: 100%;
    margin: 0 auto;
    min-height: calc(100vh - 68px - 200px);
    background-color: #FFFFFF; /* 修改为白色背景 */
}

.form-container-wrapper {
    margin: 0 auto;
    padding: 0 32px;
    max-width: 1600px;
    width: 100%;
    display: flex;
    justify-content: center; /* 修改为居中对齐 */
    box-sizing: border-box;
    margin-bottom: 40px;
}

@media (max-width: 1400px) {
    .form-container-wrapper {
        padding: 0 40px; /* 增加左右内边距 */
    }
}

@media (max-width: 768px) {
    .form-container-wrapper {
        padding: 0 30px; /* 增加左右内边距 */
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .form-container-wrapper {
        padding: 0 20px; /* 增加左右内边距 */
        margin-bottom: 24px;
    }
}

.issue-form-container {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 48px; /* 增加内边距 */
    margin: 0 auto;
    width: calc(100% - 8px); /* 减少一点宽度，避免可能的溢出 */
    max-width: 1100px; /* 修改为更适中的宽度，与issue-table-container保持一致 */
    min-width: 300px; /* 确保最小宽度 */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08), 
                0 10px 25px rgba(0, 0, 0, 0.06), 
                0 5px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(230, 230, 230, 0.8);
    box-sizing: border-box;
}

.issue-form-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #333333;
}

.form-group {
    margin-bottom: 40px; /* 增加组件间距 */
}

.form-label {
    display: block;
    font-size: 24px; /* 增大标签字号 */
    margin-bottom: 20px;
    font-weight: 500;
    color: #333333;
}

.issue-type-buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-bottom: 30px;
    margin-top: 6px;
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.issue-type-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    border: 1px solid #E0E0E0;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    flex: 1;
    text-align: center;
    color: #333333;
}

.issue-type-button i {
    font-size: 20px; /* 增大图标大小 */
}

.issue-type-button.selected {
    background-color: #1F2937;
    color: #FFFFFF;
    border-color: #1F2937;
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .form-container-wrapper {
        padding: 0 32px;
    }
    
    .issue-form-container {
        padding: 40px;
    }
    
    .issue-type-button {
        min-width: 220px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 24px 0 60px;
    }
    
    .form-container-wrapper {
        padding: 0 20px;
        margin-bottom: 32px;
    }
    
    .issue-form-container {
        padding: 32px;
        width: calc(100% - 8px);
        min-width: 300px;
        max-width: 1100px;
    }
    
    .issue-type-buttons {
        padding: 16px;
        gap: 12px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .issue-type-button {
        padding: 12px 8px;
        font-size: 14px;
        flex: 1;
        min-width: 0;
        gap: 8px;
    }
    
    .issue-type-button i {
        font-size: 16px;
    }
    
    .form-label {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 16px 0 40px;
    }
    
    .form-container-wrapper {
        padding: 0 16px;
        margin-bottom: 24px;
    }
    
    .issue-form-container {
        padding: 24px;
        width: calc(100% - 8px);
        min-width: 300px;
        max-width: 1100px;
    }
    
    .issue-type-buttons {
        padding: 12px;
        gap: 8px;
    }
    
    .issue-type-button {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .issue-type-button i {
        font-size: 14px;
    }
    
    .form-label {
        font-size: 18px;
    }
}

/* 问题列表特定样式 */
.issue-table-container {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 
                0 10px 25px rgba(0, 0, 0, 0.08), 
                0 5px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(230, 230, 230, 0.8);
    padding: 32px;
    margin: 0 auto; /* 添加auto边距使其居中 */
    margin-bottom: 40px;
    width: calc(100% - 8px); /* 减少一点宽度，避免可能的溢出 */
    max-width: 1100px; /* 修改为更适中的宽度 */
    box-sizing: border-box;
    min-width: 300px; /* 确保最小宽度 */
}

.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.issue-title {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
}

/* 搜索区域基础样式 */
.search-filter-container {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    margin-top: 0;
    width: 100%;
}

.search-container {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.search-input {
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.status-filter {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background-color: white;
    font-size: 16px;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    color: #333333;
}

.status-filter:hover {
    border-color: #A6192E;
    box-shadow: 0 2px 4px rgba(166, 25, 46, 0.1);
}

.status-filter:focus {
    border-color: #A6192E;
    box-shadow: 0 0 0 3px rgba(166, 25, 46, 0.1);
    outline: none;
}

/* Status 下拉选项样式 */
.status-filter option {
    padding: 12px 16px;
    font-size: 16px;
    background-color: white;
    color: #333333;
}

.status-filter option:checked {
    background-color: #F8BBD0;
    color: #A6192E;
}

/* 搜索按钮样式 */
.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    color: #A6192E;
    transform: translateY(-50%) scale(1.1);
}

.search-message {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #d32f2f;
    display: none;
    z-index: 50; /* 提高z-index确保显示在其他元素上方 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 输入框焦点和悬停效果 */
.search-input:focus {
    border-color: #3F51B5;
    box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.1);
    outline: none;
}

/* 增强表格的视觉层级感和减少拥挤感 */
.issues-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 12px; /* 减少与搜索栏的距离 */
    border-radius: 10px;
    overflow: hidden;
}

.issues-table thead {
    background-color: #F8F9FA;
    border-bottom: 2px solid #E0E0E0;
}

.issues-table thead th {
    padding: 16px 24px;
    font-weight: 600;
    color: #1F2937;
    font-size: 14px;
    white-space: nowrap;
    background-color: #F8F9FA;
    position: sticky;
    top: 0;
    z-index: 1;
}

.issues-table tbody tr {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.issues-table tbody tr:hover {
    background-color: #F5F7FA;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.issues-table th, .issues-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .search-filter-container {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .issue-table-container {
        padding: 24px;
        width: calc(100% - 8px);
        min-width: 300px;
        max-width: 1100px;
    }
    
    .issues-table-wrapper {
        width: 100% !important;
        overflow-x: visible;
    }

    .search-container {
        width: 100%;
    }

    .status-filter {
        width: 100%;
        min-width: unset;
        font-size: 15px;
        padding: 12px 16px;
        height: auto;
        min-height: 48px;
        background-color: #FFFFFF;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        color: #333333;
        background-position: right 16px center;
        margin-bottom: 8px;
        text-align: left;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        overflow: visible;
        text-overflow: ellipsis;
        display: block;
        position: relative;
        z-index: 1;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    .status-filter option {
        font-size: 15px;
        padding: 12px 16px;
        background-color: #FFFFFF;
        color: #333333;
        text-align: left;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        height: auto;
        min-height: 40px;
        position: relative;
        z-index: 2;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* 修复下拉菜单在移动端的显示 */
    .status-filter:focus {
        border-color: #A6192E;
        box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1);
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* 修复下拉箭头在移动端的位置 */
    .status-filter {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
        -webkit-background-size: 16px;
        background-size: 16px;
    }

    /* 确保下拉选项在移动端正确显示 */
    select.status-filter {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: #FFFFFF;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        padding: 12px 16px;
        width: 100%;
        font-size: 15px;
        line-height: 1.5;
        color: #333333;
        position: relative;
        z-index: 1;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    select.status-filter option {
        padding: 12px 16px;
        font-size: 15px;
        line-height: 1.5;
        background-color: #FFFFFF;
        color: #333333;
        white-space: normal;
        word-wrap: break-word;
        height: auto;
        min-height: 40px;
        position: relative;
        z-index: 2;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Safari 特定修复 */
    @supports (-webkit-touch-callout: none) {
        .status-filter {
            padding-right: 40px;
            background-position: right 16px center;
            -webkit-appearance: none;
            appearance: none;
        }

        .status-filter option {
            padding: 12px 16px;
            font-size: 15px;
            line-height: 1.5;
            background-color: #FFFFFF;
            color: #333333;
            white-space: normal;
            word-wrap: break-word;
            height: auto;
            min-height: 40px;
        }
    }

    .issues-table {
        border-spacing: 0;
        margin: 0;
    }
    
    .issues-table thead {
        display: none;
    }
    
    .issues-table tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .issues-table tbody tr {
        display: flex;
        flex-direction: column;
        background: #FFFFFF;
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border: 1px solid #E0E0E0;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .issues-table tbody tr:hover {
        background-color: #FFFFFF; /* 移除悬停时的背景色变化 */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: none; /* 移除悬停时的上移效果 */
    }

    .issues-table td {
        display: flex;
        padding: 12px 16px;
        border-bottom: 1px solid #F5F5F5;
        align-items: center;
    }

    .issues-table td:before {
        content: attr(data-label);
        width: 100px;
        min-width: 100px;
        font-weight: 600;
        color: #424242;
        margin-right: 12px;
    }

    .issues-table td[data-label="Actions"] {
        padding: 12px;
        border-bottom: none;
        background: #FFFFFF;
        display: flex;
        justify-content: center;
    }

    .issues-table td[data-label="Actions"]:before {
        display: none;
    }

    .issues-table td[data-label="Created"],
    .issues-table td[data-label="Updated"] {
        display: none;
    }

    .expand-button {
        width: 100%;
        margin: 8px 0;
        padding: 12px;
        background: #EBF5FF;
        border: 1px solid #BAE3FF;
        border-radius: 8px;
        font-size: 14px;
        color: #0066CC;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .expand-button:hover {
        background: #EBF5FF; /* 移除悬停时的背景色变化 */
        border-color: #BAE3FF;
    }

    .issues-table tr.expanded td[data-label="Created"],
    .issues-table tr.expanded td[data-label="Updated"] {
        display: flex;
        padding: 12px 16px;
        border-bottom: 1px solid #F5F5F5;
        background: #FFFFFF; /* 确保展开后的背景色保持为白色 */
    }
}

/* 桌面端特定样式 */
@media (min-width: 769px) {
    .issues-table {
        border-radius: 16px;
        overflow: hidden;
    }

    .issues-table thead {
        background-color: #F8F9FA;
    }

    .issues-table thead tr {
        background-color: #F8F9FA;
    }

    .issues-table thead th:first-child {
        border-top-left-radius: 16px;
    }

    .issues-table thead th:last-child {
        border-top-right-radius: 16px;
    }

    .issues-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 16px;
    }

    .issues-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 16px;
    }

    .issues-table tbody tr {
        margin: 0;
        border: none;
        box-shadow: none;
        transition: all 0.2s ease;
        border-bottom: 1px solid #E0E0E0;
    }

    .issues-table tbody tr:last-child {
        border-bottom: none;
    }

    .issues-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        background-color: #F5F7FA;
    }

    .issues-table th:not(:last-child),
    .issues-table td:not(:last-child) {
        border-right: 1px solid #F0F0F0;
    }

    .issues-table td[data-label="Created"],
    .issues-table td[data-label="Updated"] {
        color: #1F2937;
        font-size: 14px;
        display: table-cell !important;
        white-space: nowrap;
    }

    .issues-table th:nth-child(1),
    .issues-table td:nth-child(1) {
        width: 100px;
    }

    .issues-table th:nth-child(2),
    .issues-table td:nth-child(2) {
        width: 35%;
    }

    .issues-table th:nth-child(3),
    .issues-table td:nth-child(3),
    .issues-table th:nth-child(4),
    .issues-table td:nth-child(4) {
        width: 130px;
    }

    .issues-table th:nth-child(5),
    .issues-table td:nth-child(5),
    .issues-table th:nth-child(6),
    .issues-table td:nth-child(6) {
        width: 20% !important; /* 增加列宽 */
        min-width: 200px; /* 保证最小显示空间 */
        padding-right: 25px !important; /* 增加右侧间距 */
    }

    .issues-table th:last-child,
    .issues-table td:last-child {
        display: none;
    }

    /* 确保用户信息完整显示 */
    .assigned-user {
        display: flex !important;
        align-items: center;
        gap: 12px;
        max-width: 100%;
        overflow: visible;
    }

    .user-avatar-small {
        flex-shrink: 0; /* 防止头像压缩 */
    }
}

/* 表格单元格样式 */
.table-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Status和Priority样式标准化 */
.status-badge, .priority-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 28px;
}

.status-badge:hover, .priority-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Priority 颜色标准化 */
.priority-high {
    background-color: rgb(255, 59, 48);
    color: #FFFFFF;
}

.priority-medium {
    background-color: rgb(255, 100, 0);
    color: #FFFFFF;
}

.priority-low {
    background-color: rgb(255, 204, 0);
    color: #FFFFFF;
}

/* Status 颜色标准化 */
.status-inprogress {
    background-color: rgb(175, 82, 222);
    color: #FFFFFF;
}

.status-open {
    background-color: rgb(0, 122, 255);
    color: #FFFFFF;
}

.status-resolved {
    background-color: rgb(52, 199, 89);
    color: #FFFFFF;
}

/* 添加选中状态的视觉反馈 */
.status-filter:focus option:checked {
    background: linear-gradient(0deg, #F8BBD0 0%, #F8BBD0 100%);
    color: #A6192E;
    font-weight: 500;
}

/* 确保下拉菜单在正确位置展开 */
.status-filter:focus-within {
    position: relative;
}

.status-filter select:focus + .select-options {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 返回按钮样式 */
.back-button {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #1F2937;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
}

.back-button i {
    font-size: 16px;
}

.back-button:hover {
    background-color: #2D3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 移动端返回按钮样式 */
@media (max-width: 768px) {
    .back-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .back-button i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .issue-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .back-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .back-button i {
        font-size: 13px;
    }
}

/* 桌面端和移动端显示控制 */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* 移动端下拉选择样式 */
.issue-type-select {
    width: 100%;
    position: relative;
}

.select-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-wrapper:hover {
    border-color: #A6192E;
    box-shadow: 0 2px 8px rgba(166, 25, 46, 0.1);
}

.selected-type {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333333;
}

.selected-type i {
    font-size: 16px;
    color: #333333;
}

.fa-chevron-down {
    font-size: 14px;
    color: #666666;
    transition: transform 0.3s ease;
}

.select-wrapper.active .fa-chevron-down {
    transform: rotate(180deg);
}

.type-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
    z-index: 100;
}

.type-options.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.type-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.type-option:hover {
    background-color: #F8F9FA;
}

.type-option.selected {
    background-color: #F8F9FA;
    color: #A6192E;
}

.type-option i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .select-wrapper {
        padding: 14px;
    }
    
    .type-option {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .select-wrapper {
        padding: 12px;
    }
    
    .type-option {
        padding: 12px;
    }
    
    .selected-type i,
    .type-option i {
        font-size: 14px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 添加表格容器的样式 */
.issues-table-wrapper {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .issues-table-wrapper {
        width: 100% !important; /* 强制宽度100% */
        overflow-x: visible; /* 移动端不需要水平滚动 */
    }
    
    /* 确保移动端表格行能完整显示 */
    .issues-table tbody tr {
        width: 100%;
    }
}

/* 表单元素焦点状态样式 */
.description-textarea:focus {
    outline: none !important;
    border-color: #A6192E !important;
    box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1) !important;
    -webkit-box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1) !important;
    -moz-box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1) !important;
}

textarea:focus {
    outline: none !important;
    border-color: #A6192E !important;
    box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1) !important;
    -webkit-box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1) !important;
    -moz-box-shadow: 0 0 0 2px rgba(166, 25, 46, 0.1) !important;
}

/* 防止浏览器覆盖 */
textarea:focus-visible {
    outline-color: #A6192E !important;
    border-color: #A6192E !important;
}

/* Assigned To列样式 */
.assigned-user {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assigned-user span {
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 30px);
}

/* 确保responder-avatar正确显示 */
.responder-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.responder-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.responder-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.responder-details h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.response-date {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 类型徽章样式修改 - 取消背景色 */
.type-badge {
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 28px;
    background-color: transparent !important;
}

.type-technical {
    color: #0277BD;
}

.type-academic {
    color: #7B1FA2;
}

.type-administrative {
    color: #FFA000;
}

/* 桌面端特定样式增强 */
@media (min-width: 769px) {
    .issues-table {
        table-layout: fixed;
    }
    
    /* 设置各列宽度 */
    .issues-table th:nth-child(1),
    .issues-table td:nth-child(1) {
        width: 10%;
    }
    
    .issues-table th:nth-child(2),
    .issues-table td:nth-child(2) {
        width: 30%;
    }
    
    .issues-table th:nth-child(3),
    .issues-table td:nth-child(3),
    .issues-table th:nth-child(4),
    .issues-table td:nth-child(4) {
        width: 12%;
    }
    
    .issues-table th:nth-child(5),
    .issues-table td:nth-child(5) {
        width: 15%;
        white-space: nowrap;
    }
    
    .issues-table th:nth-child(6),
    .issues-table td:nth-child(6) {
        width: 20% !important; /* 增加列宽 */
        min-width: 200px; /* 保证最小显示空间 */
        padding-right: 25px !important; /* 增加右侧间距 */
    }
    
    .issues-table thead th:last-child {
        text-align: left;
        padding-left: 20px;
    }
    
    /* 确保Date在一行显示 */
    .issues-table td[data-label="Date"] {
        white-space: nowrap;
    }
}

/* 移动端样式增强 */
@media (max-width: 768px) {
    .assigned-user {
        gap: 6px;
        flex: 1;
        justify-content: flex-start;
    }
    
    .user-avatar-small {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
    
    .assigned-user span {
        font-size: 13px;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 40px);
    }
    
    td[data-label="Assigned To"] {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        padding-right: 16px;
    }
    
    td[data-label="Assigned To"]:before {
        flex-shrink: 0 !important;
        margin-right: 12px !important;
        width: 100px !important;
        min-width: 100px !important;
    }
    
    /* 强制覆盖其他样式 */
    .issues-table td[data-label="Assigned To"] .assigned-user {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        max-width: calc(100% - 110px) !important;
    }
    
    /* 确保Date在一行显示 */
    .issues-table td[data-label="Date"] {
        white-space: nowrap;
    }
}

/* 保持my-issue原有布局 */
#my-issues .issues-table th:nth-child(6),
#my-issues .issues-table td:nth-child(6) {
    width: auto !important;
    min-width: unset;
    padding-right: 0 !important;
}

/* 修复search-issue的Assigned To列 */
#search-issues .issues-table th:nth-child(6),
#search-issues .issues-table td:nth-child(6) {
    width: 20% !important;
    min-width: 220px;
    padding-right: 30px !important;
}

#search-issues .assigned-user {
    display: flex !important;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    min-width: 200px;
}

#search-issues .user-avatar-small {
    flex-shrink: 0;
    width: 28px !important;
    height: 28px !important;
}

/* 统一状态筛选器样式 */
#search-issues .status-filter {
    background-image: url("data:image/svg+xml,...");
    background-size: 16px;
    padding-right: 40px !important;
}

#search-issues .status-filter option {
    font-size: 15px;
    padding: 12px 24px;
    white-space: nowrap;
    background-color: white;
}

/* 移动端优化 */
@media (max-width: 768px) {
    #search-issues .status-filter {
        background-size: 14px;
        padding-right: 35px !important;
        
        option {
            font-size: 14px;
            padding: 10px 16px;
            white-space: normal;
        }
    }
    
    #search-issues .assigned-user span {
        max-width: calc(100% - 38px) !important;
    }
}

/* 保护my-issue样式 */
#my-issues .issues-table th:nth-child(6),
#my-issues .issues-table td:nth-child(6) {
    width: auto !important;
    min-width: unset;
    padding-right: 0 !important;
}

/* Search Issue专用表格样式 */
.search-issues-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.search-issues-table thead th:nth-child(6),
.search-issues-table tbody td:nth-child(6) {
  width: 220px !important;
  min-width: 220px;
  padding-right: 30px !important;
}

.search-issues-table .assigned-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.search-issues-table .user-avatar-small {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.search-issues-table .assigned-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* 状态筛选器专用样式 */
.search-status-filter {
  background-image: url("data:image/svg+xml,...");
  background-size: 18px;
  padding-right: 45px !important;
}

.search-status-filter option {
  font-size: 15px;
  padding: 12px 24px;
  white-space: nowrap;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .search-issues-table .assigned-user-cell {
    min-width: auto;
    flex-wrap: wrap;
  }
  
  .search-status-filter {
    background-size: 16px;
    padding-right: 40px !important;
    
    option {
      white-space: normal;
      line-height: 1.4;
    }
  }
}

/* 修复搜索页面表格显示问题 */
#search-issues .search-issues-table thead th.assigned-header {
  display: table-cell !important;
  width: 220px !important;
  min-width: 220px !important;
  opacity: 1 !important;
}

#search-issues .search-issues-table td.assigned-user-cell {
  display: flex !important;
  align-items: center;
  width: 220px !important;
  min-width: 220px !important;
  padding: 12px 24px !important;
}

#search-issues .search-issues-table .user-avatar-small {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

#search-issues .search-issues-table .assigned-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  #search-issues .search-issues-table td.assigned-user-cell {
    width: 100% !important;
    min-width: unset !important;
    padding: 8px 16px !important;
  }
  
  #search-issues .search-issues-table .assigned-name {
    max-width: calc(100% - 40px);
  }
}

/* 统一筛选器样式 */
#search-issues .type-filter,
#search-issues .search-status-filter {
  border: 2px solid #E5E7EB !important;
  border-radius: 8px;
  padding: 10px 40px 10px 16px;
  font-size: 15px;
  color: #1F2937;
  background-color: #FFFFFF;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  transition: all 0.3s ease;
  width: 180px;
  margin-left: 15px;
}

#search-issues .type-filter:hover,
#search-issues .search-status-filter:hover {
  border-color: #A6192E !important;
  box-shadow: 0 0 0 3px rgba(166,25,46,0.1);
}

#search-issues .type-filter:focus,
#search-issues .search-status-filter:focus {
  outline: none;
  border-color: #A6192E !important;
  box-shadow: 0 0 0 3px rgba(166,25,46,0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
  #search-issues .type-filter,
  #search-issues .search-status-filter {
    width: 100% !important;
    margin: 10px 0;
    padding: 12px 40px 12px 20px;
  }
  
  #search-issues .filter-group {
    flex-direction: column;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  #search-issues .type-filter,
  #search-issues .search-status-filter {
    background-position: right 12px center;
    background-size: 14px;
  }
}

/* 修复type列样式 */
#search-issues .type-badge {
  display: inline-block !important;
  text-align: left !important;
  color: #000000 !important;
  background-color: transparent !important;
  padding: 0 !important;
  min-width: auto !important;
  justify-content: flex-start !important;
}

#search-issues td[data-label="Type"] {
  text-align: left !important;
  vertical-align: middle !important;
  padding-left: 20px !important;
}

/* 移除原有颜色样式 */
#search-issues .type-technical,
#search-issues .type-academic,
#search-issues .type-administrative {
  color: #000000 !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
  #search-issues td[data-label="Type"]:before {
    text-align: left !important;
  }
  
  #search-issues .type-badge {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* 修复status列对齐 */
#search-issues td[data-label="Status"] {
  text-align: left !important;
  padding-left: 24px !important;
}

#search-issues .status-badge {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
  #search-issues td[data-label="Status"]:before {
    text-align: left !important;
  }
  
  #search-issues td[data-label="Status"] {
    padding-left: 16px !important;
  }
}

/* 修复状态容器显示问题 */
#search-issues .status-badge {
    min-width: 100px !important;
    padding: 8px 12px !important;
    justify-content: center !important;
}

#search-issues .status-inprogress {
    width: 110px !important;
    background-color: #FEF3C7 !important;
    color: #B45309 !important;
}

#search-issues .status-open {
    width: 80px !important;
    background-color: #E0F2FE !important;
    color: #0C4A6E !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #search-issues td[data-label="Status"] {
        padding-left: 16px !important;
    }
    
    #search-issues .status-badge {
        min-width: 80px !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
    
    #search-issues .status-inprogress {
        width: 90px !important;
    }
    
    #search-issues .status-open {
        width: 65px !important;
    }
}

/* 修复状态列容器显示问题 */
#search-issues td[data-label="Status"] {
    padding: 12px 8px !important;
    min-width: 120px !important;
}

#search-issues .status-badge {
    display: inline-flex !important;
    min-width: 100% !important;
    padding: 8px 16px !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
}

/* 状态标签具体样式 */
#search-issues .status-inprogress {
    background-color: #FEF3C7 !important;
    color: #B45309 !important;
    border-radius: 20px !important;
    margin-left: 4px !important;
}

#search-issues .status-open {
    background-color: #E0F2FE !important;
    color: #0C4A6E !important;
    border-radius: 20px !important;
    margin-left: 4px !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #search-issues td[data-label="Status"] {
        min-width: 100% !important;
        padding-left: 16px !important;
    }
    
    #search-issues .status-badge {
        padding: 6px 12px !important;
        font-size: 14px !important;
        margin-left: 0 !important;
    }
    
    #search-issues td[data-label="Status"]:before {
        left: 16px !important;
        width: calc(100% - 32px) !important;
    }
}

/* 修复状态标签宽度溢出问题 */
#search-issues .status-badge {
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    padding: 8px 12px !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#search-issues .status-inprogress {
    width: auto !important;
    min-width: 110px !important;
    max-width: 120px !important;
}

#search-issues .status-open {
    width: auto !important;
    min-width: 80px !important;
    max-width: 90px !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #search-issues .status-badge {
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 6px 8px !important;
    }
    
    #search-issues .status-inprogress {
        min-width: 90px !important;
        max-width: 100% !important;
    }
    
    #search-issues .status-open {
        min-width: 70px !important;
        max-width: 100% !important;
    }
    
    #search-issues td[data-label="Status"] {
        min-width: 100px !important;
    }
}

/* 统一状态列基础样式 */
#search-issues .status-badge,
#my-issues .status-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    min-width: 100px !important;
    max-width: 120px !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* 统一进行中状态 */
#search-issues .status-inprogress,
#my-issues .status-inprogress {
    background-color: #FEF3C7 !important;
    color: #B45309 !important;
    border: 1px solid #FCD34D !important;
}

/* 统一开放状态 */
#search-issues .status-open,
#my-issues .status-open {
    background-color: #E0F2FE !important;
    color: #0C4A6E !important;
    border: 1px solid #7DD3FC !important;
}

/* 统一移动端样式 */
@media (max-width: 768px) {
    #search-issues td[data-label="Status"],
    #my-issues td[data-label="Status"] {
        padding-left: 16px !important;
        min-width: 100px !important;
    }
    
    #search-issues .status-badge,
    #my-issues .status-badge {
        padding: 6px 12px !important;
        font-size: 13px !important;
        min-width: 80px !important;
        max-width: 100% !important;
    }
}

/* 调整状态列宽度 */
#search-issues .issues-table th:nth-child(4),
#search-issues .issues-table td:nth-child(4) { /* Status列 */
    width: 120px;
    min-width: 120px;
    text-align: center;
}

/* 调整Status徽章样式 */
.search-status-badge {
    min-width: 110px;
    width: 110px;
    text-align: center;
    justify-content: center;
    padding: 8px 12px;
    margin: 0 auto; /* 居中显示 */
}

/* 隐藏"In Progress"文本，使用"Progress"替代 */
.search-status-badge.search-status-inprogress {
    font-size: 0;
}

.search-status-badge.search-status-inprogress::before {
    content: "Progress";
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

/* 精确匹配颜色值 */
#search-issues .status-inprogress {
    background-color: #FFEDB3 !important;  /* 匹配my-issue黄色 */
    color: #8E4B10 !important;
    border: 1px solid #FFD700 !important;
}

#search-issues .status-open {
    background-color: #B3E5FC !important;  /* 匹配my-issue蓝色 */
    color: #01579B !important;
    border: 1px solid #4FC3F7 !important;
}

/* 保持统一的基础样式 */
#search-issues .status-badge {
    padding: 8px 16px !important;
    border-radius: 18px !important;
    font-size: 14px !important;
    width: 110px !important;  /* 比my-issue宽10px */
    text-align: center !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #search-issues .issues-table th:nth-child(4),
    #search-issues .issues-table td:nth-child(4) {
        width: 120px !important;
        min-width: 120px !important;
    }
    
    #search-issues .status-badge {
        width: 100% !important;
        padding: 6px 12px !important;
    }
}

/* 统一状态标签颜色 */
#search-issues .status-inprogress,
#my-issues .status-inprogress {
    background-color: #e361f2 !important;  /* 精确匹配黄色 */
    color: #ffffff !important;
    border: 1px solid #e361f2!important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

#search-issues .status-open,
#my-issues .status-open {
    background-color: hsl(199, 92%, 65%) !important;  /* 精确匹配蓝色 */
    color: #ffffff !important;
    border: 1px solid hsl(199, 92%, 65%) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* 添加通用样式保证一致性 */
#search-issues .status-badge,
#my-issues .status-badge {
    padding: 8px 16px !important;
    border-radius: 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    width: 110px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

/* 确保移动端样式同步 */
@media (max-width: 768px) {
    #search-issues .status-badge,
    #my-issues .status-badge {
        width: 100% !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
    
    #search-issues .status-inprogress,
    #my-issues .status-inprogress {
        background-color: #e361f2 !important;
    }
    
    #search-issues .status-open,
    #my-issues .status-open {
        background-color: hsl(199, 92%, 65%) !important;
    }
}

/* 修复重复和冲突的代码 */

/* 1. 统一状态徽章样式 */
.status-badge {
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    min-width: 100px;
    text-align: center;
    transition: all 0.2s ease;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* 状态颜色统一定义 */
.status-inprogress {
    background-color: #e361f2 !important;
    color: #ffffff !important;
    border: 1px solid #e361f2 !important;
}

.status-open {
    background-color: hsl(199, 92%, 65%) !important;
    color: #ffffff !important;
    border: 1px solid hsl(199, 92%, 65%) !important;
}

.status-resolved {
    background-color: #52C41A !important;
    color: #ffffff !important;
    border: 1px solid #52C41A !important;
}

/* 2. 合并重复的媒体查询 */
@media (max-width: 768px) {
    /* 统一移动端表格样式 */
    .issues-table td[data-label="Status"],
    .issues-table td[data-label="Type"] {
        padding-left: 16px !important;
        min-width: 100px !important;
    }
    
    .status-badge {
        padding: 6px 12px !important;
        font-size: 13px !important;
        min-width: 80px !important;
        max-width: 100% !important;
    }
    
    /* 统一筛选器样式 */
    .type-filter, 
    .search-status-filter {
        width: 100% !important;
        margin: 10px 0;
        background-position: right 12px center;
    }
}

/* 3. 优化选择器优先级 */
/* 移除ID选择器依赖 */
.search-issues-table .status-badge,
.my-issues-table .status-badge {
    width: 110px !important;
}

/* 4. 修复移动端布局冲突 */
@media (max-width: 480px) {
    .assigned-user span {
        max-width: calc(100% - 30px) !important;
    }
    
    .status-badge {
        min-width: 70px !important;
        padding: 4px 8px !important;
    }
}

/* 5. 删除重复的动画定义 */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 6. 统一筛选器下拉样式 */
select.status-filter {
    background-image: url("data:image/svg+xml,...");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
}

/* 7. 优化表格列宽定义 */
.issues-table th:nth-child(4),
.issues-table td:nth-child(4) {
    width: 140px;
    min-width: 140px;
}

/* 8. 删除重复的悬停效果 */
.issues-table tbody tr:hover {
    background-color: #F5F7FA;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* 修改后 */
@media (max-width: 768px) {
    .issues-table tbody tr {
        background-color: #FFFFFF !important; /* 强制保持白色背景 */
    }
    
    .issues-table tbody tr.expanded {
        background-color: #FFFFFF !important; /* 展开状态也保持白色 */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 保留阴影但不变色 */
    }
    
    .expand-button:hover {
        background: #EBF5FF !important; /* 按钮悬停保持原色 */
    }
}

/* 分离search-issue表格样式 */
.search-issues-table {
    --status-badge-width: 120px;
    --assigned-column-width: 220px;
    --type-badge-color: #6B7280;
}

/* 表格基础样式 */
.search-issues-table.issues-table {
    border-spacing: 0 10px;
    margin-top: 20px;
}

/* 表头样式 */
.search-issues-table thead th {
    background: #F8FAFC;
    border-bottom: 2px solid #E5E7EB;
    padding: 18px 24px;
    font-weight: 600;
    color: #1F2937;
}

/* 表格行样式 */
.search-issues-table tbody tr {
    background: #FFFFFF;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

/* 悬停效果 */
.search-issues-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

/* 特定列宽调整 */
.search-issues-table th:nth-child(3),
.search-issues-table td:nth-child(3) { /* Type列 */
    width: 15%;
    min-width: 140px;
}

.search-issues-table th:nth-child(4),
.search-issues-table td:nth-child(4) { /* Status列 */
    width: var(--status-badge-width);
    padding-left: 30px !important;
}

.search-issues-table th:nth-child(6),
.search-issues-table td:nth-child(6) { /* Assigned To列 */
    width: var(--assigned-column-width);
    min-width: var(--assigned-column-width);
}

/* 类型徽章特殊样式 */
.search-issues-table .type-badge {
    background: transparent !important;
    border: none !important;
    color: #1F2937 !important;
    font-weight: 500 !important;
    padding: 0 !important;
    min-width: auto !important;
    display: inline !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-issues-table.issues-table {
        margin-top: 15px;
    }
    
    .search-issues-table tbody tr {
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .search-issues-table td[data-label="Assigned To"] {
        min-width: 100% !important;
        padding: 12px 16px !important;
    }
    
    .search-issues-table .assigned-user {
        gap: 8px;
    }
    
    .search-issues-table .user-avatar-small {
        width: 28px;
        height: 28px;
    }
}

/* 状态徽章特殊样式 */
.search-issues-table .status-badge {
    width: var(--status-badge-width) !important;
    font-size: 15px !important;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}

/* 保留my-issue原有样式 */
.my-issues-table.issues-table {
    /* 原有my-issue样式保持不变 */
}

/* 修改前 */
.my-issues-table .status-filter {
    /* 原有样式 */
}

/* 修改后 */
.my-issues-table .status-filter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* 增加移动端适配 */
@media (max-width: 768px) {
    .my-issues-table .status-filter {
        background-size: 14px !important;
        background-position: right 12px center !important;
        padding-right: 35px !important;
    }
}

/* 移除所有通用选择器 */
/* 确保只保留专用选择器 */

/* my-issue状态筛选器 */
.my-issues-table .status-filter {
    /* 箭头图标 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 16px) center !important;
    background-size: 16px 16px !important;
    
    /* 布局调整 */
    padding-right: 48px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    /* 交互优化 */
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .my-issues-table .status-filter {
        background-size: 14px 14px !important;
        background-position: calc(100% - 12px) center !important;
        padding-right: 40px !important;
    }
}

/* Firefox兼容性修复 */
@-moz-document url-prefix() {
    .my-issues-table .status-filter {
        padding-right: 48px !important;
        background-position: calc(100% - 14px) center !important;
    }
}

/* My Issue专用样式 */
#my-issues .issues-table {
  /* 特殊样式 */
}

/* 修改前 */
.search-issues-table .type-badge {
    background: rgba(107, 114, 128, 0.1);
    color: var(--type-badge-color);
    border: 1px solid rgba(107, 114, 128, 0.2);
    font-weight: 600;
}

/* 修改后 */
.search-issues-table .type-badge {
    background: transparent !important;
    border: none !important;
    color: #1F2937 !important;
    font-weight: 500;
    padding: 0 !important;
    min-width: auto !important;
    display: inline !important;
}

/* 移除移动端特殊样式 */
@media (max-width: 768px) {
    .search-issues-table td[data-label="Type"]:before {
        display: none !important;
    }
    
    .search-issues-table .type-badge {
        font-size: 14px !important;
    }
}

/* 修复移动端表格布局 */
@media (max-width: 768px) {
    /* 统一表格单元格布局 */
    .search-issues-table td[data-label="Type"] {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        padding: 12px 16px !important;
    }

    /* 移除type列伪元素 */
    .search-issues-table td[data-label="Type"]:before {
        content: none !important;
    }

    /* 调整type文字样式 */
    .search-issues-table .type-badge {
        font-size: 14px !important;
        color: #1F2937 !important;
        width: 100% !important;
        text-align: right;
        padding-right: 8px !important;
    }

    /* 修复列对齐 */
    .search-issues-table td {
        flex-wrap: nowrap !important;
        min-height: 48px;
    }

    /* 调整状态列间距 */
    .search-issues-table td[data-label="Status"] {
        padding-left: 16px !important;
    }

    /* 统一行阴影 */
    .search-issues-table tbody tr {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin-bottom: 12px;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .search-issues-table .type-badge {
        font-size: 13px !important;
        text-align: left;
        padding-right: 0 !important;
    }
    
    .search-issues-table td {
        padding: 10px 12px !important;
    }
    
    .search-issues-table .user-avatar-small {
        width: 24px !important;
        height: 24px !important;
    }
}

/* 新增通用样式 */
.type-cell {
    vertical-align: middle !important;
    padding-left: 24px !important;
}

.type-text {
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    position: relative;
    padding-left: 24px;
}

.type-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: none; /* 默认隐藏色块 */
}

/* 类型颜色定义 */
.type-technical::before { background-color: #0277BD; }
.type-academic::before { background-color: #7B1FA2; }
.type-administrative::before { background-color: #FFA000; }

/* 桌面端优化 */
@media (min-width: 769px) {
    .type-cell {
        min-width: 140px;
    }
    .type-text {
        padding-left: 28px;
        font-size: 15px;
    }
    .type-text::before {
        width: 18px;
        height: 18px;
    }
}

/* 移动端修复 */
@media (max-width: 768px) {
    .type-text::before {
        display: block !important; /* 移动端显示色块 */
        position: static;
        transform: none;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .type-cell {
        display: flex !important;
        align-items: center;
        padding: 12px 16px !important;
    }
    
    .type-text {
        display: flex;
        align-items: center;
        padding-left: 0 !important;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .type-text {
        font-size: 13px;
    }
    .type-text::before {
        width: 14px;
        height: 14px;
        margin-right: 8px;
    }
}

@media (min-width: 769px) {
    .type-cell {
        padding-left: 16px !important; /* 移除色块后的对齐修正 */
    }
    
    .type-text {
        padding-left: 0 !important;
        font-weight: 500;
        color: #1F2937;
    }
}

/* 移除所有色块相关样式 */
.type-text::before {
    content: none !important;
}

/* 调整移动端布局 */
@media (max-width: 768px) {
    .type-cell {
        display: block !important;
        padding: 12px 16px !important;
        text-align: left !important;
    }
    
    /* 移除flex残留样式 */
    .type-text {
        display: block !important;
        padding-left: 0 !important;
    }
    
    /* 修复文字截断 */
    .type-text {
        white-space: normal;
        word-break: break-word;
    }
}

/* 桌面端优化 */
@media (min-width: 769px) {
    .type-cell {
        padding-left: 16px !important;
        text-align: left !important;
    }
    
    .type-text {
        font-weight: 500;
        color: #1F2937;
    }
}

/* Search Issue 专用样式 */
.search-issue-table-container {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    margin: 0 auto;
    width: calc(100% - 8px);
    max-width: 1100px;
}

.search-issues-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-issues-table thead {
        display: none;
    }
    
    .search-issues-table tbody tr {
        display: flex;
        flex-direction: column;
        background: #FFFFFF;
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 16px;
    }
    
    .search-issues-table td {
        display: flex;
        padding: 12px 16px;
        border-bottom: 1px solid #F5F5F5;
        align-items: center;
    }
    
    .search-issues-table td:before {
        content: attr(data-label);
        width: 100px;
        min-width: 100px;
        font-weight: 600;
        color: #424242;
        margin-right: 12px;
    }
    
    .search-status-badge {
        min-width: 80px !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
    
    .search-type-cell {
        padding-left: 16px !important;
    }
    
    .search-assigned-cell {
        width: 100% !important;
        padding: 8px 16px !important;
    }
}

/* 状态徽章专用样式 */
.search-status-badge {
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 类型单元格样式 */
.search-type-cell {
    padding-left: 24px;
    vertical-align: middle;
}

.search-type-text {
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
}

/* 保留原有my-issue样式 */
#my-issues .issues-table {
    /* 原有样式保持不变 */
}

/* 创建专用类，避免冲突 */
.search-status-badge {
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-status-inprogress {
    background-color: #e361f2;
    color: #ffffff;
    border: 1px solid #e361f2;
}

.search-status-open {
    background-color: hsl(199, 92%, 65%);
    color: #ffffff;
    border: 1px solid hsl(199, 92%, 65%);
}

@media (max-width: 768px) {
    /* 合并冲突的移动端样式为一个统一的定义 */
    .search-issues-table td[data-label="Status"],
    #search-issues td[data-label="Status"] {
        padding-left: 16px;
        min-width: 100px;
    }
    
    .search-status-badge {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 80px;
        max-width: 100%;
    }
    
    /* 移除重复的媒体查询定义 */
    /* ...注释或删除重复代码... */
}

/* 不推荐 */
#search-issues .status-badge {
    width: 110px !important;
    color: #ffffff !important;
}

/* 推荐 */
#search-issues .search-status-badge {
    width: 110px;
    color: #ffffff;
}

/* 确保标题列文字在一行显示 */
.search-issues-table td[data-label="Title"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* 添加表格分列线 */
.search-issues-table th:not(:last-child),
.search-issues-table td:not(:last-child) {
    border-right: 1px solid #F0F0F0;
}

/* 桌面端视图优化 */
@media (min-width: 769px) {
    .search-issues-table {
        border-radius: 16px;
        overflow: hidden;
    }
    
    .search-issues-table thead {
        background-color: #F8F9FA;
    }
    
    .search-issues-table tbody tr {
        border-bottom: 1px solid #E0E0E0;
    }
    
    .search-issues-table tbody tr:last-child {
        border-bottom: none;
    }
    
    /* 确保Assigned To列有足够空间 */
    .search-issues-table th:nth-child(6), 
    .search-issues-table td:nth-child(6) {
        min-width: 180px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-issues-table td[data-label="Title"] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 110px);
    }
    
    .search-issues-table th:not(:last-child),
    .search-issues-table td:not(:last-child) {
        border-right: none;
    }
    
    /* 移动端不显示分列线，改用底部边框 */
    .search-issues-table td {
        border-bottom: 1px solid #F5F5F5;
    }
    
    .search-issues-table td:last-child {
        border-bottom: none;
    }
}

/* 修改Title列文字显示，允许自动换行 */
.search-issues-table td[data-label="Title"] {
    white-space: normal; /* 允许文字换行 */
    word-wrap: break-word; /* 长词自动换行 */
    max-width: none; /* 移除最大宽度限制 */
    width: 35%; /* 设置合适的宽度占比 */
}

/* 桌面端优化 */
@media (min-width: 769px) {
    .search-issues-table th:nth-child(2),
    .search-issues-table td:nth-child(2) { /* Title列 */
        width: 35%;
        padding-right: 20px; /* 右侧内边距确保文字不会太靠近边缘 */
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-issues-table td[data-label="Title"] {
        white-space: normal;
        word-wrap: break-word;
        width: 100%;
        padding: 16px;
    }
}

/* 调整Status列宽度，参考my-issue */
.search-issues-table th:nth-child(4),
.search-issues-table td:nth-child(4) { /* Status列 */
    width: 120px; /* 与my-issue保持一致的宽度 */
    min-width: 120px;
    text-align: center; /* 居中对齐 */
}

/* 调整Status徽章样式，与my-issue保持一致 */
.search-status-badge {
    min-width: 110px;
    width: 110px;
    text-align: center;
    justify-content: center;
    padding: 8px 12px;
    margin: 0 auto; /* 居中显示 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-issues-table td[data-label="Status"] {
        justify-content: space-between; /* 标签和内容分开对齐 */
        padding: 16px;
    }
    
    .search-status-badge {
        min-width: 90px;
        width: auto;
        margin: 0;
    }
}

/* 调整表格分列线，与my-issue保持一致 */
.search-issues-table th:not(:last-child),
.search-issues-table td:not(:last-child) {
    border-right: 1px solid #F0F0F0;
}

.search-issues-table tbody tr {
    border-bottom: 1px solid #E0E0E0;
}

.search-issues-table tbody tr:last-child {
    border-bottom: none;
}

/* 移动端不显示分列线 */
@media (max-width: 768px) {
    .search-issues-table th:not(:last-child),
    .search-issues-table td:not(:last-child) {
        border-right: none;
    }
    
    .search-issues-table tbody tr {
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        margin-bottom: 16px;
    }
}

/* 修复Title列和Status列的样式问题 */

/* Title列允许完整显示 */
.search-issues-table th:nth-child(2),
.search-issues-table td[data-label="Title"] {
    white-space: normal;
    word-wrap: break-word;
    width: 35%;
    padding-right: 20px;
}

/* 调整Status列宽度与样式 */
.search-issues-table th:nth-child(4),
.search-issues-table td[data-label="Status"] {
    width: 120px;
    min-width: 120px;
    text-align: center;
}

/* Status徽章样式与my-issue保持一致 */
.search-status-badge {
    min-width: 110px;
    width: 110px;
    text-align: center;
    justify-content: center;
    padding: 8px 12px;
    margin: 0 auto; /* 居中显示 */
}

/* 调整表格分列线 */
.search-issues-table th:not(:last-child),
.search-issues-table td:not(:last-child) {
    border-right: 1px solid #F0F0F0;
}

.search-issues-table tbody tr {
    border-bottom: 1px solid #E0E0E0;
}

.search-issues-table tbody tr:last-child {
    border-bottom: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-issues-table td[data-label="Title"] {
        white-space: normal;
        word-wrap: break-word;
        width: 100%;
        padding: 16px;
    }
    
    .search-issues-table td[data-label="Status"] {
        justify-content: space-between;
        padding: 16px;
    }
    
    .search-status-badge {
        min-width: 90px;
        width: auto;
        margin: 0;
    }
    
    .search-issues-table th:not(:last-child),
    .search-issues-table td:not(:last-child) {
        border-right: none;
    }
    
    .search-issues-table tbody tr {
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        margin-bottom: 16px;
    }

}

/* 修复Date列文字显示问题 */
.search-issues-table th:nth-child(5),
.search-issues-table td:nth-child(5) { /* Date列 */
    width: 120px;
    min-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 16px;
    padding-right: 16px;
}

/* 表格整体格式优化，参考my-issue */
.search-issues-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
}

/* 表头样式 */
.search-issues-table thead {
    background-color: #F8F9FA;
    border-bottom: 2px solid #E0E0E0;
}

.search-issues-table thead th {
    padding: 16px 20px;
    font-weight: 600;
    color: #1F2937;
    font-size: 14px;
    white-space: nowrap;
}

/* 表格行样式 */
.search-issues-table tbody tr {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    transition: all 0.2s ease;
}

.search-issues-table tbody tr:last-child {
    border-bottom: none;
}

/* 悬停效果 */
.search-issues-table tbody tr:hover {
    background-color: #F5F7FA;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

/* 单元格分隔线 */
.search-issues-table th:not(:last-child),
.search-issues-table td:not(:last-child) {
    border-right: 1px solid #F0F0F0;
}

/* 单元格基础样式 */
.search-issues-table th, 
.search-issues-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 调整Status列在移动端的显示 */
    .search-issues-table td[data-label="Status"] {
        justify-content: space-between;
        padding: 16px;
    }
    
    .search-status-badge {
        min-width: 90px;
        width: auto;
        margin: 0;
    }
    
    /* 调整Date列在移动端的显示 */
    .search-issues-table td[data-label="Date"] {
        white-space: nowrap;
        display: none; /* 默认隐藏，点击展开按钮后显示 */
    }
    
    .search-issues-table tr.expanded td[data-label="Date"] {
        display: flex;
    }
    
    /* 移动端不显示分列线 */
    .search-issues-table th:not(:last-child),
    .search-issues-table td:not(:last-child) {
        border-right: none;
    }
    
    /* 移动端表格行样式 */
    .search-issues-table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        margin-bottom: 16px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    /* 移动端表格单元格样式 */
    .search-issues-table td {
        display: flex;
        padding: 12px 16px;
        border-bottom: 1px solid #F5F5F5;
        align-items: center;
    }
    
    .search-issues-table td:last-child {
        border-bottom: none;
    }
    
    /* 确保label在移动端正确显示 */
    .search-issues-table td:before {
        content: attr(data-label);
        width: 100px;
        min-width: 100px;
        font-weight: 600;
        color: #424242;
        margin-right: 12px;
    }
}

/* 修正前 */
@media (max-width: 768px) {
    .search-assigned-user {
        max-width: calc(100% - 110px);
    }
}

/* 修正后 */
@media (max-width: 768px) {
    .search-assigned-user {
        max-width: calc(100% - 40px); /* 更合理的间距 */
        flex-wrap: nowrap; /* 防止换行 */
    }
}

/* 统一列宽定义 */
.search-issues-table {
    --status-column: 120px;
    --assigned-column: 200px;
}

.search-issues-table th:nth-child(4),
.search-issues-table td:nth-child(4) {
    width: var(--status-column);
    min-width: var(--status-column);
}

.search-issues-table th:nth-child(6),
.search-issues-table td:nth-child(6) {
    width: var(--assigned-column);
    min-width: var(--assigned-column);
}

/* 修正媒体查询顺序 */
/* 移动端样式应放在桌面端之后 */
@media (min-width: 769px) {
    /* 桌面端样式 */
}

@media (max-width: 768px) {
    /* 移动端样式 */
}

/* 添加命名空间避免冲突 */
.search-issue .status-badge { /* 原.search-status-badge */
    /* 样式 */
}

.my-issue .status-badge {
    /* 独立样式 */
}

/* ================== Search Issue 专用样式 ================== */
.search-issue-table-container {
    background-color: #F9FAFB;
    padding: 24px;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.search-container {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #FFFFFF;
    font-size: 16px;
}

.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
}

.search-filter-group {
    display: flex;
    gap: 16px;
}

.search-type-filter, .search-status-filter {
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #FFFFFF;
    min-width: 150px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.search-issues-table-wrapper {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
}

/* 表格列宽设置 */
.search-issues-table th:nth-child(1),
.search-issues-table td:nth-child(1) { width: 8%; }

.search-issues-table th:nth-child(2),
.search-issues-table td:nth-child(2) { width: 25%; }

.search-issues-table th:nth-child(3),
.search-issues-table td:nth-child(3) { width: 15%; }

.search-issues-table th:nth-child(4),
.search-issues-table td:nth-child(4) { width: 12%; }

.search-issues-table th:nth-child(5),
.search-issues-table td:nth-child(5) { width: 15%; }

.search-issues-table th:nth-child(6),
.search-issues-table td:nth-child(6) { width: 25%; }

/* 状态徽章 */
.search-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
}

.search-status-inprogress { background-color: #e361f2; color: #FFFFFF; }
.search-status-open { background-color: #60caf7; color: #FFFFFF; }

/* 响应式调整 */
@media (max-width: 768px) {
    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filter-group {
        flex-direction: column;
    }
    
    .search-issues-table thead { display: none; }
    
    .search-issues-table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #E5E7EB;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    
    .search-issues-table td {
        display: flex;
        padding: 12px 16px;
        border-bottom: 1px solid #F3F4F6;
        align-items: center;
    }
    
    .search-issues-table td:before {
        content: attr(data-label);
        font-weight: 600;
        width: 120px;
        min-width: 120px;
    }
}

/* 搜索按钮样式 */
.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    color: #A6192E;
    transform: translateY(-50%) scale(1.1);
}

/* 同步搜索栏悬浮交互到my-issue页面 */
#my-issues .search-container {
    background-color: #F8F9FA;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    position: relative;
}

#my-issues .search-container:hover {/* 添加此属性与search-issue保持一致 */
    transform: translateY(-1px);  /* 减少位移幅度避免抖动 */
    background-color: #2D3748;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);  /* 添加阴影保持视觉层次 */
}

#my-issues .search-container:hover .search-button {
    color: #FFFFFF;
    transform: translateY(-50%) scale(1);
}

#my-issues .search-container:hover .search-input::placeholder {
    color: rgba(255,255,255,0.8);
}

#my-issues .search-container:hover .search-input {
    color: #FFFFFF;
    background-color: transparent;
}

#my-issues .search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background-color: transparent;
    color: #374151;
}

#my-issues .search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 修改现有的search-message样式 */
.search-message {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #d32f2f;
    display: none;
    z-index: 50; /* 提高z-index确保显示在其他元素上方 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 添加移动端错误消息样式 */
@media (max-width: 768px) {
    .search-message {
        position: fixed; /* 改为固定定位 */
        top: auto; /* 取消顶部定位 */
        bottom: 20px; /* 放置在屏幕底部 */
        left: 50%; /* 水平居中 */
        transform: translateX(-50%); /* 水平居中 */
        width: 90%; /* 宽度适应移动端 */
        max-width: 400px; /* 最大宽度限制 */
        padding: 12px 16px; /* 增加内边距 */
        font-size: 15px; /* 增大字体 */
        border-radius: 8px; /* 增大圆角 */
        background-color: rgba(248, 249, 250, 0.95); /* 稍微透明 */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 增强阴影 */
        z-index: 1000; /* 确保显示在最上层 */
        text-align: center; /* 文本居中 */
    }
    
    /* 为错误消息添加动画 */
    .search-message[style*="display: block"] {
        animation: slideUpMessage 0.3s ease-out;
    }
    
    @keyframes slideUpMessage {
        from { 
            opacity: 0;
            transform: translate(-50%, 20px);
        }
        to { 
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }
}

/* 修复my-issue页面的错误消息样式 */
#my-issues .search-message {
    position: absolute;
    top: calc(100% + 5px);
    z-index: 50;
}

/* 移动端下my-issue页面错误消息样式保持一致 */
@media (max-width: 768px) {
    #my-issues .search-message {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
        background-color: rgba(248, 249, 250, 0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        text-align: center;
    }
    
    /* 为my-issue错误消息添加动画 */
    #my-issues .search-message[style*="display: block"] {
        animation: slideUpMessage 0.3s ease-out;
    }
}

/* 统一移动导航按钮样式 */
.mobile-menu .mobile-nav-button {
    background-color: #1F2937 !important;
    display: flex !important;
    align-items: center;
    padding: 8px 16px !important;
    gap: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu .mobile-nav-button:last-child {
    margin-bottom: 0;
}

.mobile-menu .mobile-nav-button i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.mobile-menu .mobile-nav-button span {
    font-size: 15px;
    font-weight: 500;
}

/* 强制统一移动导航按钮样式 */
.mobile-menu {
    padding: 12px 16px !important;
    gap: 8px !important;
}

.mobile-nav-button {
    background: #1F2937 !important;
    padding: 10px 16px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
}

.mobile-nav-button i {
    font-size: 18px !important;
    width: 24px !important;
    text-align: center !important;
}

.mobile-nav-button span {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* 修复最后一个按钮的间距 */
.mobile-nav-button:last-child {
    margin-bottom: 0 !important;
}
