/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #F8F9FA 0%, #F0F0F0 100%);
    min-height: 100vh;
}




/* ---------------新导航    左侧导航样式 --------------------*/
.sidebar {
    width: 260px;
    background-color: #fff;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 1030;
	box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #EEF4FF;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.sidebar-header .logo img {
    width: 50px;
    height: 50px;
}

.sidebar-header .logo h1 {
    font-size: 1.4rem;
    margin: 0;
    color: #666;
}

.sidebar-close {
    display: none;
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

.sidebar-user {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #EEF4FF;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #EEF4FF;
}

.sidebar-user i {
    font-size: 2rem;
    color: #666;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-user-name {
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.8rem;
    color: #666;
}

.nav-menu-vertical {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    flex: 1;
}

.nav-menu-vertical li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.9rem 1.5rem;
    color: #666;
    text-decoration: none;
    border-left: 4px solid transparent;
}

.nav-menu-vertical li a:hover {
    background-color: #EEF4FF;
    color: #0D6EFD;
}

.nav-menu-vertical li a.active {
    background-color: #EEF4FF;
    color: #0D6EFD;
    border-left-color: #3b82f6;
}

/* 移动端遮罩 */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1020;
}

/* 右侧主内容 */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #f8fafc;
}

/* 移动端顶部条 */
.mobile-top-bar {
    display: none;
    background-color: white;
    padding: 0.8rem 1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1025;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #666;
    cursor: pointer;
}

/* 隐藏原有顶部导航 */
.navbar {
    display: none !important;
}

.user-info {
    display: none !important;
}


/* 移动端响应式 */
@media (max-width: 768px) {
    
	.sidebar-header .logo img {
		width: 50px;
		height: 50px;
	}
	
	.sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        height: 100vh;
        z-index: 1050;
        width: 260px;
        transition: left 0.3s ease;
    }
    .sidebar.open {
        left: 0;
    }
    .sidebar-close {
        display: block;
    }
    .sidebar-overlay.active {
        display: block;
    }
    .mobile-top-bar {
        display: flex;
    }
	.mobile-logo img{
		width:50px;
		height:50px;
	}
	.mobile-logo-title{
		font-size:22px;
	}
    .main-content {
        padding: 1.5rem 1rem;
    }
}


.duiqilist{
	margin-left:10px;
	text-align:left;
}

.fa-home{width:20px;}
.fa-box{width:20px;}
.fa-comments{width:20px;}
.fa-tasks{width:20px;}
.fa-star{width:20px;}
.fa-newspaper{width:20px;}
.fa-users{width:20px;}
.fa-heart{width:20px;}
.fa-building{width:20px;}
.fa-info-circle{width:20px;}




.fa-user{
	width:10px !important;
	height:10px !important;
}


.logout-btn{
	margin-right:0px !important;
	
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username {
    color: #666;
    font-weight: 500;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}







#app {
    display: flex;
    min-height: 100vh;
}

.main-content {
    padding: 2rem;
    width: 100% !important;
   
    margin: 0 auto;
}




/* 主内容区样式 */

.main-content {
    
    margin: 20px auto;
    padding: 0 20px;
}

.welcome-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
}

.welcome-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 32px;
}

.welcome-section p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}



.content-section {
	
    display: none;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}


.contact-admin-module .permission-table-module{
	top:-30px !important;
	
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #0D6EFD;
    padding-bottom: 10px;
}

.btn-primary {
    background: #0D6EFD;
    border-radius: 6px;
    border: 0px solid #e1e5e9;
    color: #ffffff;
}





/* 数据分析模块样式 */
.analytics-module {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
	min-height: 330px; 
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.analytics-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.analytics-header h4 i {
    color: #1890ff;
    margin-right: 8px;
}

.date-range-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.date-range-picker input[type="date"] {
    width: 150px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.date-range-picker button {
    padding: 5px 12px;
    font-size: 13px;
}

.date-range-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    transition: all 0.3s;
}

.date-range-item:hover {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.date-range-item:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.date-icon {
    position: absolute;
    left: 12px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.date-input {
    padding: 8px 12px 8px 36px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    width: 160px;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
}

.date-input:focus {
    outline: none;
}

.date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    opacity: 0.6;
}

.date-input::-webkit-calendar-picker-indicator:hover {
    background: #f0f0f0;
    opacity: 1;
}

.date-separator {
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

.btn-refresh {
    padding: 8px 20px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.quick-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.quick-btn {
    padding: 6px 14px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.quick-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.quick-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .date-range-picker {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    
    .date-range-item {
        width: 100%;
    }
    
    .date-input {
        width: 100%;
    }
    
    .date-separator {
        display: none;
    }
    
    .quick-buttons {
        margin-left: 0;
        justify-content: center;
    }
    
    .btn-refresh {
        justify-content: center;
    }
}

.chart-card {
    background: #fafbfc;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
}

.chart-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #555;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.chart-title i {
    margin-right: 8px;
    color: #1890ff;
}

.chart-note {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

.chart-container {
    width: 100%;
    min-height: 350px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .analytics-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .date-range-picker {
        width: 100%;
    }
    .date-range-picker input[type="date"] {
        flex: 1;
    }
}


/* VIP蒙层样式 */
.analytics-module {
    position: relative;
}

.vip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.vip-overlay-content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.vip-lock-icon {
    font-size: 64px;
    color: #ffc107;
    margin-bottom: 20px;
}

.vip-lock-icon i {
    background: #fff3e0;
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vip-overlay-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.vip-overlay-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.vip-benefits {
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.vip-benefits-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.vip-benefits-list li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.vip-benefits-list li i {
    color: #52c41a;
    margin-right: 10px;
    width: 20px;
}







/* 产品管理样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    border: 1px solid #eee;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    cursor: default;
}

.product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 5px;
    cursor: default;
}

/* 悬停提示效果 */
.product-name:hover::after,
.product-desc:hover::after {
    content: attr(title);
    position: absolute;
    left: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: normal;
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
}

.product-category {
    display: inline-block;
    background: #e8f4fd;
    color: #1890ff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}

.product-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.product-dates {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.product-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.status-published {
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-size: 12px;
    padding: 4px 8px;
}

.status-draft {
    background: #fff3cd;
    color: #856404;
    font-size: 12px;
    padding: 4px 8px;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
    font-size: 12px;
    padding: 4px 8px;
}

.product-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 按钮样式 */
.btn-view {
    background: #28a745;
    color: white;
}

.btn-view:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-preview {
    background: #17a2b8;
    color: white;
}

.btn-preview:hover {
    background: #138496;
    transform: translateY(-1px);
}

.btn-edit {
    background: #1890ff;
    color: white;
}

.btn-edit:hover {
    background: #096dd9;
    transform: translateY(-1px);
}

.btn-toggle {
    background: #52c41a;
    color: white;
}

.btn-toggle:hover {
    background: #389e0d;
    transform: translateY(-1px);
}

.btn-delete {
    background: #ff4d4f;
    color: white;
}

.btn-delete:hover {
    background: #d9363e;
    transform: translateY(-1px);
}

/* 产品工具栏 */
.products-toolbar {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.products-toolbar .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.products-toolbar .stats {
    color: #666;
    font-size: 14px;
}

.products-container {
    margin-top: 20px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading i {
    margin-right: 10px;
    font-size: 20px;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-data i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-data h4 {
    margin-bottom: 10px;
    color: #333;
}

.no-data p {
    margin-bottom: 20px;
}

/* 未授权提示 */
.unauthorized {
    text-align: center;
    padding: 100px 20px;
}

.unauthorized h2 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.unauthorized p {
    color: #666;
    margin-bottom: 30px;
}

.login-link {
    display: inline-block;
    background: #0D6EFD;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.login-link:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* 按钮禁用状态 */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

button:disabled:hover {
    transform: none !important;
}

/* 错误消息样式 */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    color: #dc3545;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-content {
        margin: 20px auto;
    }
    
    .welcome-section,
    .content-section {
        padding: 20px;
    }
    
    .products-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .wenzixiansi {
        display: none;
    }
}

@media (max-width: 850px) {
    .wenzixiansi {
        display: none;
    }
}



/* 咨询记录页面样式 */

.stats-info .stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.stats-info .stat-card:hover {
    transform: translateY(-2px);
}

.stats-info .stat-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.stats-info .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}



/* 咨询表格样式 */
.consultations-container table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.consultations-container table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    padding: 16px 12px;
    white-space: nowrap;
}

.consultations-container table td {
     vertical-align: middle;
    padding: 16px 12px;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.consultations-container table tbody tr:hover {
    background-color: #f8f9fa;
}

.consultations-container table tbody tr:last-child td {
    border-bottom: none;
}
/* 状态标签 */
.status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.status-unreplied {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-replied {
   background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* 操作按钮 */
.btn-mark {
    padding: 4px 12px;
    font-size: 12px;
    min-width: 60px;
}

/* 内容截断 */
.content-truncate {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: block;
    line-height: 1.5;
}
.content-truncate:hover {
    color: #0d6efd;
}

.content-truncate:hover::after {
    content: attr(data-full-content);
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
}

/* 模态框样式 */
.modal-content {
    border-radius: 12px;
}

.modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

/* 分页样式 */
.pagination .page-link {
    border-radius: 4px;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: #007bff;
    border-color: #007bff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .stats-info .col-md-3 {
        margin-bottom: 15px;
    }
    
    .consultations-container table {
        font-size: 14px;
    }
    
    .consultations-container table th,
    .consultations-container table td {
        padding: 8px;
    }
    
    .content-truncate {
        max-width: 150px;
    }
}

/* 联系方式显示优化 */
.contact-info .badge {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #dee2e6;
}
/* 回复内容显示优化 */
.reply-content {
    max-width: 200px;
    line-height: 1.5;
    word-break: break-word;
}

.reply-content small {
    font-size: 11px;
    opacity: 0.7;
}

.consultations-container code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    color: #495057;
    border: 1px solid #dee2e6;
}
/* 表格列宽调整 */
.consultations-container table th:nth-child(1) { width: 15%; } /* 产品名称 */
.consultations-container table th:nth-child(2) { width: 20%; } /* 咨询内容 */
.consultations-container table th:nth-child(3) { width: 12%; } /* 联系方式 */
.consultations-container table th:nth-child(4) { width: 12%; } /* 咨询时间 */
.consultations-container table th:nth-child(5) { width: 10%; } /* IP地址 */
.consultations-container table th:nth-child(6) { width: 8%; }  /* 状态 */
.consultations-container table th:nth-child(7) { width: 15%; } /* 回复备注 */
.consultations-container table th:nth-child(8) { width: 8%; }  /* 操作 */

/* 响应式调整 */
@media (max-width: 768px) {
    .consultations-container table {
        font-size: 13px;
    }
    
    .consultations-container table th,
    .consultations-container table td {
        padding: 12px 8px;
    }
    
    .content-truncate {
        max-width: 150px;
    }
    
    .status-badge {
        min-width: 50px;
        padding: 3px 6px;
        font-size: 11px;
    }
    
    
}



/* 咨询页面优化样式 */

/* 1. 回复按钮样式优化 */
.btn-mark {
    background-color: #0d6efd !important;	
    border-color: #0d6efd !important;
    color: white !important;
    font-weight: 500;
    border-radius: 6px;
    padding: 6px 12px;
    transition: all 0.3s ease;
	
}

.btn-mark:hover {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

.btn-mark:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-mark i {
    margin-right: 4px;
}

/* 2. 分页样式优化 */
.pagination-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#paginationContainer {
    flex-wrap: nowrap !important;
}

.pagination {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 0;
    align-items: center;
}

.pagination .page-item {
    margin: 0 !important;
    display: inline-block;
}

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 40px;
}

.pagination .page-item .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #0d6efd;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    background-color: #f8f9fa;
    color: #6c757d;
    transform: none;
    border-color: #dee2e6;
}

/* 分页信息样式 */
.pagination-info {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    background-color: white;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination-info {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .pagination {
        order: 2;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .pagination .page-item .page-link {
        padding: 6px 10px;
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}


/* 咨询列表表格优化 */
#consultationsList .consultation-row td {
    vertical-align: middle;
    padding: 12px 8px;
}

#consultationsList .status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

#consultationsList .status-replied {
    background-color: #d1e7dd;
    color: #0f5132;
}

#consultationsList .status-unreplied {
    background-color: #f8d7da;
    color: #721c24;
}

#consultationsList .ip-address {
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

#consultationsList .contact-badge {
    background-color: #e7f1ff;
    color: #0d6efd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#consultationsList .reply-content {
    max-width: 150px;
    word-break: break-word;
}

#consultationsList .reply-time {
    color: #6c757d;
    font-size: 11px;
    display: block;
    margin-top: 4px;
}

/* 页面刷新保持导航状态 */
.nav-menu a.active {
    background-color: #0d6efd !important;
    color: white !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
  
    
    #consultationsList .btn-mark i {
        margin-right: 0;
    }
    
    .pagination-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-info {
        order: -1;
        margin-bottom: 10px;
        text-align: center;
    }
	
	.btn-sm{
		height:30px;
	}
	.textxians{
		color:#ffffff  !important;
	}
}


/* 重新设计模态框样式 */
#replyModal .modal-dialog {
    max-width: 450px;
    margin: 1.75rem auto;
}

#replyModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#replyModal .modal-header {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border-bottom: none;
    padding: 20px 24px;
    position: relative;
}

#replyModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

#replyModal .modal-header .modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#replyModal .modal-header .modal-title i {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

#replyModal .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.2s ease;
    background-size: 14px;
    margin: 0;
    padding: 10px;
}

#replyModal .modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

#replyModal .modal-body {
    padding: 24px;
    background-color: #f8fafc;
}

#replyModal .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#replyModal .form-label i {
    color: #4361ee;
    font-size: 16px;
}

#replyModal .form-select,
#replyModal .form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    font-size: 14px;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

#replyModal .form-select {
    height: 48px;
    cursor: pointer;
	width:200px;
}

#replyModal .form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
	width:96%;
}

#replyModal .form-select:focus,
#replyModal .form-control:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    outline: none;
}

#replyModal .char-count {
    font-size: 12px;
    color: #718096;
    text-align: right;
    margin-top: 6px;
    font-weight: 500;
}

#replyModal .char-count span {
    font-weight: 600;
}

#replyModal .char-count span.text-danger {
    color: #e53e3e !important;
}

#replyModal .modal-footer-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
	
}

#replyModal .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#replyModal .btn-outline-secondary {
    background-color: white;
    color: #64748b;
    border: 2px solid #cbd5e0;
}

#replyModal .btn-outline-secondary:hover {
    background-color: #f7fafc;
    border-color: #a0aec0;
    color: #4a5568;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

#replyModal .btn-primary {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

#replyModal .btn-primary:hover {
    background: linear-gradient(135deg, #3a56d4, #324bc1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.4);
}

#replyModal .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
}

#replyModal .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 模态框背景 */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* 表单字段间距 */
.form-group {
    margin-bottom: 20px;
}

.shangbianju1{
	margin-top:20px !important;
}
/* 状态选择器选项样式 */
#replyModal .form-select option {
    padding: 10px;
    font-size: 14px;
}

#replyModal .form-select option[value="0"] {
    color: #e53e3e;
}

#replyModal .form-select option[value="1"] {
    color: #38a169;
}

/* 工具提示 */
.form-text-tip {
    font-size: 12px;
    color: #718096;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-text-tip i {
    color: #a0aec0;
    font-size: 12px;
}



/* 个人设置页面样式 */
#settings{
    max-width: 1000px;
    margin: 0 auto;
}

/*企业设置页面样式 */
 #enterprise{
    max-width: 1000px;
    margin: 0 auto;
}

.settings-module {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.module-header {
    background: linear-gradient(135deg, #0D6EFD, #3a56d4);
    color: white;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.module-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-header h4 i {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.module-content {
    padding: 0px;
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
	 min-height: 50px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.info-item .info-label {
    min-width: 80px; /* 根据需要调整 */
    color: #6c757d;
    font-size: 14px;
}

.info-item .info-value {
    font-weight: 500;
    color: #212529;
}
.info-item.full-width {
    flex: 1 0 100%;
}

.info-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    min-width: 80px;
}

.info-value {
    flex: 1;
    color: #4a5568;
    font-size: 14px;
    word-break: break-word;
}



/* 积分模块样式 */
.points-module {
    margin-bottom: 20px;
}

.points-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;

    border-radius: 10px;
    color: #0D6EFD;
}

.points-display {
    text-align: center;
}

.points-number {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.points-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.points-actions {
    display: flex;
    gap: 2px;
}

.points-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #0D6EFD;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.points-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 积分规则弹框样式 */
.points-rules-container {
    padding: 10px;
}
.gonzh{
	width:100px;
	height:100px;
}
.rules-section {
    margin-bottom: 30px;
}

.rules-title {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid;
}

.rules-title.earn {
    color: #28a745;
    border-bottom-color: #28a745;
}

.rules-title.spend {
    color: #dc3545;
    border-bottom-color: #dc3545;
}

.rules-table {
    width: 100%;
}

.rules-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.rules-table td {
    padding: 12px 10px;
}

.rules-table td:first-child {
    width: 180px;
    font-weight: 500;
    color: #333;
}

.rules-table td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.badge-bg {
    background: #e8f5e9;
    color: #28a745;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-bg.secondary {
    background: #e3f2fd;
    color: #2196f3;
}

.badge-bg.spend {
    background: #ffebee;
    color: #dc3545;
}

.badge-bg.primary {
    background: #fff3e0;
    color: #ff9800;
}

.rule-note {
    color: #999;
    font-size: 12px;
    width: 100%;
    margin-top: 5px;
}

/* 积分记录样式 */
.points-record-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.points-record-des {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.points-record-point {
    width: 80px;
    font-weight: 600;
    text-align: left;
    margin-right: 20px;
	
}

.points-record-point.positive {
    color: #28a745;
}

.points-record-point.negative {
    color: #dc3545;
}

.points-record-time {
    width: 150px;
    color: #999;
    font-size: 13px;
}




/* VIP相关样式 */
.btn-action.btn-vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-action.btn-vip:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    color: #fff;
}

.btn-vip i {
    margin-right: 5px;
    color: #fff;
}

/* VIP弹框样式 */
.vip-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vip-option-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.vip-option-card:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.vip-option-card.contact-card:hover {
    border-color: #28a745;
}

.vip-option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: #ffd700;
}

.vip-option-content {
    flex: 1;
}

.vip-option-content h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.vip-price {
    font-size: 20px;
    font-weight: 700;
    color: #dc3545;
    margin: 5px 0;
}

.vip-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.vip-benefits span {
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #28a745;
}

.vip-benefits span i {
    margin-right: 3px;
    font-size: 10px;
}



/* 模块隐藏时的样式 */
.settings-module[style*="display: none"] {
    display: none !important;
}

/* 申请中状态的模块显示控制 */
.enterprise-pending-status + .settings-module {
    display: none;
}

/* 企业编号按钮样式 */
.enterprise-number-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0D6EFD 0%, #1c45b7 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

.enterprise-number-btn:hover {
    background: linear-gradient(135deg, #1c45b7 0%, #0D6EFD 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.enterprise-number-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

/* 申请中状态样式 */
.enterprise-pending-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #856404;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ffe69c;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

.enterprise-pending-status i {
    font-size: 14px;
    margin-right: 6px;
}

/* 状态容器样式 */
#enterpriseNumber {
    min-height: 40px;
    display: flex;
    align-items: center;
}

#enterpriseNumber.status-pending {
    padding: 0;
}



/* 企业认证弹框样式 */
.cert-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-option-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.cert-option-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cert-option-card.contact-card:hover {
    border-color: #28a745;
}

.cert-option-card.cancel-card:hover {
    border-color: #dc3545;
}

.cert-option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: #007bff;
}

.cert-option-content {
    flex: 1;
}

.cert-option-content h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.cert-price {
    font-size: 20px;
    font-weight: 700;
    color: #dc3545;
    margin: 5px 0;
}

.cert-desc {
    margin-top: 5px;
}

.cert-desc p {
    margin: 0;
    font-size: 14px;
}

.contact-qrcode {
    text-align: left;
    border-top: 1px solid #e9ecef;
    margin-top: 15px;
    padding-top: 15px;
}

.contact-qrcode img {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* 模态框样式优化 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px 15px 0 0;
    padding: 20px;
}

.modal-header .modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.modal-footer2 {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

/* VIP到期时间样式 */
#vipExpireRow {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e9ecef;
}

#vipExpireTime {
    font-weight: 500;
    color: #28a745;
}




/* 账号状态标签 */
.status-normal {
     color: #03B615 !important;
    font-weight: 500;
}

.status-banned {
    color: #D9001B  !important;
    font-weight: 500;
}


/* 操作按钮 */
.btn-action {
    background: #0D6EFD;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-action:hover {
    background: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
}

.btn-action:active {
    transform: translateY(0);
}

/* 即将上线样式 */
.coming-soon {
    text-align: center;
    padding: 60px 20px !important;
    color: #718096;
}

.coming-soon i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.coming-soon p {
    font-size: 16px;
    margin: 0;
}

/* 模态框样式优化 */
#editNicknameModal .modal-content,
#editPhoneModal .modal-content,
#changePasswordModal .modal-content,
#changeEmailModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#editNicknameModal .modal-header,
#editPhoneModal .modal-header,
#changePasswordModal .modal-header,
#changeEmailModal .modal-header {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border-bottom: none;
    padding: 20px 24px;
}

#editNicknameModal .modal-title,
#editPhoneModal .modal-title,
#changePasswordModal .modal-title,
#changeEmailModal .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

#editNicknameModal .modal-body,
#editPhoneModal .modal-body,
#changePasswordModal .modal-body,
#changeEmailModal .modal-body {
    padding: 24px;
}

#changeEmailModal h6 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .btn-action {
        align-self: flex-end;
		flex: none;
    }
	
	
}




/* 模态框全局样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal.show {
    display: block !important;
    opacity: 1 !important;
}
.modal.fade {
    transition: opacity 0.15s linear;
}

.modal.fade:not(.show) {
    opacity: 0;
}
/* 模态框背景 */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* 确保模态框内容可见 */
.modal.show .modal-content {
    opacity: 1;
    visibility: visible;
}

.modal.show .btn {
    pointer-events: auto !important;
    cursor: pointer !important;
}



.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
    max-width: 500px;
    margin: 1.75rem auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
	height:50px;
}

.modal-header .btn-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg+xml") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.modal-header .btn-close:hover {
    opacity: 0.75;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
	margin-bottom:-30px;
	margin-right:-26px;
}
.modal-footer1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
	margin-bottom:0px;
	margin-right:0px;
	gap:20px;
}
.modal-footer2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
	
	gap:20px;
}

/* 设置页面模态框特定样式 */
#editNicknameModal .modal-dialog,
#editPhoneModal .modal-dialog,
#changePasswordModal .modal-dialog,
#changeEmailModal .modal-dialog {
    max-width: 450px;
}

#editNicknameModal .modal-content,
#editPhoneModal .modal-content,
#changePasswordModal .modal-content,
#changeEmailModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 模态框头部样式 */
#editNicknameModal .modal-header,
#editPhoneModal .modal-header,
#changePasswordModal .modal-header,
#changeEmailModal .modal-header {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border-bottom: none;
    padding: 24px;
    position: relative;
}

#editNicknameModal .modal-header::after,
#editPhoneModal .modal-header::after,
#changePasswordModal .modal-header::after,
#changeEmailModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

#editNicknameModal .modal-title,
#editPhoneModal .modal-title,
#changePasswordModal .modal-title,
#changeEmailModal .modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#editNicknameModal .modal-title i,
#editPhoneModal  .modal-title i,
#changePasswordModal .modal-title i,
#changeEmailModal .modal-title i {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* 模态框关闭按钮 */
#editNicknameModal .modal-header .btn-close,
#editPhoneModal .modal-header .btn-close,
#changePasswordModal .modal-header .btn-close,
#changeEmailModal .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.2s ease;
    background-size: 14px;
    margin: 0;
    padding: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#editNicknameModal .modal-header .btn-close:hover,
#editPhoneModal .modal-header .btn-close:hover,
#changePasswordModal .modal-header .btn-close:hover,
#changeEmailModal .modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* 模态框内容区域 */
#editNicknameModal .modal-body,
#editPhoneModal .modal-body,
#changePasswordModal .modal-body,
#changeEmailModal .modal-body {
    padding: 24px;
    background-color: #f8fafc;
}

/* 表单样式 */
#editNicknameModal .form-label,
#editPhoneModal .form-label,
#changePasswordModal .form-label,
#changeEmailModal .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#editNicknameModal .form-label i,
#editPhoneModal .form-label i,
#changePasswordModal .form-label i,
#changeEmailModal .form-label i {
    color: #4361ee;
    font-size: 16px;
}

/* 表单控件样式 */
#editNicknameModal .form-control,
#editPhoneModal  .form-control,
#changePasswordModal .form-control,
#changeEmailModal .form-control,

#editNicknameModal .form-select,
#editPhoneModal  .form-select,
#changePasswordModal .form-select,
#changeEmailModal .form-select {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    font-size: 14px;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    width: 100%;
    box-sizing: border-box;
}

#editNicknameModal .form-control:focus,
#editPhoneModal   .form-control:focus,
#changePasswordModal .form-control:focus,
#changeEmailModal .form-control:focus,

#editNicknameModal .form-select:focus,
#editPhoneModal  .form-select:focus,
#changePasswordModal .form-select:focus,
#changeEmailModal .form-select:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    outline: none;
}

/* 邮箱模态框特定样式 */
#changeEmailModal h6 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

#changeEmailModal h6 i {
    color: #4361ee;
    font-size: 16px;
}

/* 输入组样式 */
#changeEmailModal .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

#changeEmailModal .input-group .form-control {
    flex: 1;
    min-width: 0;
}

#changeEmailModal .input-group .btn {
    white-space: nowrap;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}

/* 按钮样式 */
#editNicknameModal .btn,
#editPhoneModal .btn,
#changePasswordModal .btn,
#changeEmailModal .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

#editNicknameModal .btn-secondary,
#editPhoneModal.btn-secondary,
#changePasswordModal .btn-secondary,
#changeEmailModal .btn-secondary {
    background-color: #6c757d;
    color: white;
}

#editNicknameModal .btn-secondary:hover,
#editPhoneModal .btn-secondary:hover,
#changePasswordModal .btn-secondary:hover,
#changeEmailModal .btn-secondary:hover {
    background-color: #5a6268;
}

#editNicknameModal .btn-primary,
#editPhoneModal .btn-primary,
#changePasswordModal .btn-primary,
#changeEmailModal .btn-primary {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
}

#editNicknameModal .btn-primary:hover,
#editPhoneModal.btn-primary:hover,
#changePasswordModal .btn-primary:hover,
#changeEmailModal .btn-primary:hover {
    background: linear-gradient(135deg, #3a56d4, #324bc1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

/* 模态框底部 */
#editNicknameModal .modal-footer,
#editPhoneModal .modal-footer,
#changePasswordModal .modal-footer,
#changeEmailModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px 24px;
    border-top: 1px solid #e9ecef;

}

/* 表单帮助文本 */
#editNicknameModal .form-text,
#editPhoneModal  .form-text,
#changePasswordModal .form-text,
#changeEmailModal .form-text,
#changeEmailModal .text-muted {
    font-size: 12px;
    color: #6c757d;
    margin-top: 6px;
    display: block;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    #editNicknameModal .modal-dialog,
	#editPhoneModal .modal-dialog,
    #changePasswordModal .modal-dialog,
    #changeEmailModal .modal-dialog {
        max-width: calc(100% - 2rem);
        margin: 1rem auto;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    #changeEmailModal .input-group {
        flex-direction: column;
    }
    
    #changeEmailModal .input-group .btn {
        width: 100%;
    }
}








/* 企业信息相关样式 */

/* 状态标签 */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-unverified {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.status-verified {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-reviewing {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 成功按钮 */
.btn-success {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* 图片提示 */
.image-hint {
    margin-top: 4px;
}

.image-hint small {
    font-size: 11px;
}

/* 文件上传样式 */
.form-control[type="file"] {
    padding: 6px 12px;
    cursor: pointer;
}

.form-control[type="file"]::-webkit-file-upload-button {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 12px;
    margin-right: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background: #e9ecef;
}

/* 按钮组 */
.justify-content-end {
    justify-content: flex-end;
}

/* 图片预览容器 */
#licensePreviewModal .modal-body img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#licensePreviewModal .modal-body img:hover {
    transform: scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .info-item.justify-content-end {
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    
}


/* 文件上传样式 */
.file-upload-wrapper {
    margin-bottom: 10px;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.file-upload-btn:hover {
    background: linear-gradient(135deg, #3a56d4, #324bc1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
}

.file-upload-btn:active {
    transform: translateY(0);
}

.file-upload-btn i {
    font-size: 16px;
}


/* 文件信息显示 */
.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 10px;
    max-width: 400px;
}

.file-info #fileName {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #2d3748;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #e53e3e;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.btn-remove-file:hover {
    color: #c53030;
}

/* 图片预览容器 */
.image-preview-container {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-title i {
    color: #4361ee;
}

.image-preview-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.image-preview {
    max-width: 300px;
    max-height: 200px;
    display: block;
    transition: transform 0.3s ease;
}

.image-preview:hover {
    transform: scale(1.02);
}

.image-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    padding: 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-preview-wrapper:hover .image-preview-overlay {
    opacity: 1;
}

.btn-remove-preview {
    background: rgba(229, 62, 62, 0.9);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-remove-preview:hover {
    background: rgb(229, 62, 62);
    transform: translateY(-2px);
}

/* 拖拽上传区域 */
.file-drop-area {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
}

.file-drop-area.drag-over {
    border-color: #4361ee;
    background-color: rgba(67, 97, 238, 0.05);
    border-style: solid;
}

.file-drop-area .upload-icon {
    font-size: 48px;
    color: #a0aec0;
    margin-bottom: 15px;
}

.file-drop-area .upload-text {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 8px;
}

.file-drop-area .upload-hint {
    font-size: 12px;
    color: #718096;
}

/* 文件上传进度条 */
.upload-progress {
    margin-top: 15px;
    max-width: 400px;
    display: none;
}

.progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4361ee, #3a56d4);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #718096;
    text-align: center;
    margin-top: 5px;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .file-upload-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .image-preview {
        max-width: 250px;
        max-height: 150px;
    }
    
    .file-info {
        max-width: 100%;
    }
}




/* ==================== 账号等级权限模块样式 ==================== */
.permission-table-module {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.permission-table-module h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.permission-table-module  {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 14px;
}

.permission-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}

.permission-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    padding: 15px 12px;
}

.permission-table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.permission-table tbody tr:hover {
    background-color: #f8f9ff;
}

.permission-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.permission-table tbody tr:nth-child(even):hover {
    background-color: #f0f4ff;
}

.permission-table tbody tr:last-child td {
    border-bottom: none;
}

.permission-table .text-success {
    color: #28a745 !important;
    font-weight: 500;
}

.permission-table .text-danger {
    color: #dc3545 !important;
    font-weight: 500;
}

.permission-table .fa-check, .permission-table .fa-times {
    font-size: 16px;
    margin-right: 5px;
}

.permission-table strong {
    color: #2c3e50;
}

.table-footer {
    margin-top: 0px;
    padding-top: 15px;
    border-top: 1px dashed #dee2e6;
    font-size: 13px;
}
.green{
	color:#039D12;
}

.red{
	color:#D9001B;
	
}

/* 简洁版样式 */
.promotion-intro-simple {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
	margin-top: 10px;
}

.promotion-intro-simple h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.intro-text-simple {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 2px !important;
	margin-top:10px !important;
}

.guide-image-simple {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.image-header-simple h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0;
}

.full-width-guide-image-simple {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    object-fit: contain;
    display: block;
}



.winxin{
	width:180px;
	height:180px;
	margin-top:-30px;
}

.winxin1{
	width:240px;
	height:240px;
	border-radius:12px;
	background: #F8F9FA;
}



/* ==================== 用户等级相关样式 ==================== */
/* 用户等级徽章 */
.vip-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b4513;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.vip-badge i {
    font-size: 10px;
}

.normal-badge {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    display: inline-block;
}

/* 权限不足提示样式 */
.permission-denied-container {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ffc107;
    max-width: 600px;
    margin: 30px auto;
}

.permission-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ffc107;
}

.permission-title {
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: 600;
}

.permission-message {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.permission-solution {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4a6bff;
}

.permission-benefits {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.permission-benefits h5 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.permission-benefits ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.permission-benefits li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    align-items: center;
}

.permission-benefits li:last-child {
    border-bottom: none;
}

.permission-benefits li i {
    margin-right: 10px;
    width: 20px;
}

/* VIP功能列表样式 */
.vip-features-list {
    margin: 15px 0;
}

.vip-feature-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.vip-feature-item:last-child {
    border-bottom: none;
}

.vip-feature-item i {
    margin-right: 10px;
    font-size: 16px;
}

.vip-feature-item span {
    color: #495057;
    font-size: 14px;
}

.contact-methods {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.contact-methods h6 {
    color: #495057;
    margin-bottom: 10px;
}

.contact-methods p {
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-methods code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.upgrade-tips {
    font-size: 12px;
    color: #6c757d;
}

/* 产品统计中的等级提示 */
.product-stats-info {
    display: inline-block;
    margin-left: 15px;
    font-size: 14px;
    color: #6c757d;
}

.product-stats-info .level-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin: 0 5px;
}

.product-stats-info .level-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b4513;
}

.product-stats-info .level-normal {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    color: white;
}




/* 文章管理工具栏 */
.articles-toolbar {
    display: flex;
    
    margin-bottom: 15px;
}

.articles-toolbar .btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
}


/* 表格样式 */
#articlesTable .table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#articlesTable .table-light th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #495057;
    padding: 12px 16px;
}

#articlesTable tbody tr {
    transition: background 0.2s ease;
}

#articlesTable tbody tr:hover {
    background: #f8f9fa;
}

#articlesTable td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f6;
}

/* 文章标题链接样式 */
.article-title-link {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.article-title-link:hover {
    color: #40a9ff;
    text-decoration: underline;
}

/* 发布人昵称样式 */
.publisher-name-cell {
    color: #666;
    font-size: 14px;
}

/* 时间样式 */
.publish-time-cell {
    color: #999;
    font-size: 13px;
}

/* 删除按钮样式 */
.btn-delete-article {
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.btn-delete-article:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* 无数据样式 */
#noArticles {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#noArticles i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

#noArticles h4 {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

#noArticles p {
    color: #999;
    font-size: 14px;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination {
    margin: 0;
}

.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    color: #1890ff;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: #e6f7ff;
    border-color: #1890ff;
}

.pagination .active .page-link {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
}

.pagination .disabled .page-link {
    color: #ccc;
    background: #f8f9fa;
}

/* ==================== 文章列表样式（移动端横向滚动） ==================== */

/* 表格容器 - 支持横向滚动 */
.articles-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.articles-container table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 14px;
}

.articles-container table th,
.articles-container table td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* 表格列宽设置 */
.articles-container table th:nth-child(1) { width: 45%; } /* 文章标题 */
.articles-container table th:nth-child(2) { width: 20%; } /* 发布人昵称 */
.articles-container table th:nth-child(3) { width: 25%; } /* 发布时间 */
.articles-container table th:nth-child(4) { width: 10%; } /* 操作 */

/* 文章标题链接样式 */
.article-title-link {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    word-break: break-word;
}

.article-title-link:hover {
    color: #40a9ff;
    text-decoration: underline;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .articles-container {
        position: relative;
    }
    
    .articles-container::before {
        content: "← 左右滑动查看更多 →";
        display: block;
        text-align: center;
        font-size: 12px;
        color: #6c757d;
        padding: 8px 0;
        background: #f8f9fa;
        margin-bottom: 10px;
        border-radius: 6px;
    }
    
    .articles-container table {
        font-size: 12px;
        min-width: 700px;
    }
    
    .articles-container table th,
    .articles-container table td {
        padding: 10px 12px;
    }
    
    .articles-container table th:nth-child(1) { width: 45%; }
    .articles-container table th:nth-child(2) { width: 20%; }
    .articles-container table th:nth-child(3) { width: 25%; }
    .articles-container table th:nth-child(4) { width: 10%; }
    
    .btn-delete-article {
        padding: 4px 8px;
        font-size: 11px;
    }
}











/* 成员管理工具栏 */
.members-toolbar {
    display: flex;
    
    margin-bottom: 15px;
}

.members-toolbar .btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
}

#inviteLink {
    font-size: 14px;
    background-color: #f8f9fa;
}

#inviteLink:focus {
    outline: none;
    box-shadow: none;
}

/* 权限按钮样式 */
.permission-btn {
    padding: 4px 8px;
    font-size: 12px;
}

.permission-btn i {
    font-size: 14px;
}

/* 权限模态框样式 */
.product-checkbox, .menu-checkbox {
    cursor: pointer;
}

#productPermissionList {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

#menuPermissionList {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* 禁用复选框的样式 */
.menu-checkbox:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.menu-checkbox:disabled + label {
    cursor: not-allowed;
    opacity: 0.8;
}

/* 提示文字样式 */
.text-muted {
    color: #6c757d !important;
    font-size: 0.875em;
}







/* ==================== 需求管理表格样式 ==================== */

/* 表格容器 - 支持横向滚动 */
.demands-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 表格基础样式 */
.demands-container table {
    width: 100%;
    min-width: 800px; /* 设置最小宽度，防止被压缩 */
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 14px;
}

.demands-container table th,
.demands-container table td {
    padding: 12px 16px;
    vertical-align: middle;
    white-space: nowrap; /* 防止文字换行 */
}

/* 允许内容列换行 */
.demands-container table td.reply-content-cell {
    white-space: normal;
    word-break: break-word;
    max-width: 250px;
    min-width: 150px;
}

/* 发布的需求表格列宽设置 */
#publishedDemandsTable th:nth-child(1) { width: 30%; } /* 需求标题 */
#publishedDemandsTable th:nth-child(2) { width: 10%; } /* 需求状态 */
#publishedDemandsTable th:nth-child(3) { width: 15%; } /* 发布人昵称 */
#publishedDemandsTable th:nth-child(4) { width: 15%; } /* 发布时间 */
#publishedDemandsTable th:nth-child(5) { width: 10%; } /* 操作 */

/* 回复的需求表格列宽设置 */
#repliedDemandsTable th:nth-child(1) { width: 20%; } /* 需求标题 */
#repliedDemandsTable th:nth-child(2) { width: 8%; }  /* 需求状态 */
#repliedDemandsTable th:nth-child(3) { width: 10%; } /* 回复人昵称 */
#repliedDemandsTable th:nth-child(4) { width: 20%; } /* 回复内容 */
#repliedDemandsTable th:nth-child(5) { width: 12%; } /* 回复关联的产品 */
#repliedDemandsTable th:nth-child(6) { width: 12%; } /* 回复时间 */
#repliedDemandsTable th:nth-child(7) { width: 8%; }  /* 操作 */

/* 需求标题链接样式 */
.demand-title-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demand-title-link:hover {
    text-decoration: underline;
}

/* 回复内容单元格样式 */
.reply-content-cell {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.4;
}

/* 状态徽章样式 */
.demands-container .badge {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

/* 操作按钮样式 */
.btn-mark-demand,
.btn-delete-reply {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-mark-demand {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.btn-mark-demand:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-delete-reply {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.btn-delete-reply:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff !important;
}

/* Tab切换样式 */
.demand-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.demand-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 10px 20px;
    font-weight: 500;
    background: transparent;
}

.demand-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    background: transparent;
}

.demand-tabs .nav-link:hover:not(.active) {
    color: #0d6efd;
    background: transparent;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.pagination-info {
    color: #6c757d;
    font-size: 14px;
}

.pagination {
    margin: 0;
    gap: 5px;
}

.pagination .page-link {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #e9ecef;
}

/* 无数据提示样式 */
.demands-container .no-data {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.demands-container .no-data i {
    font-size: 48px;
    color: #adb5bd;
    margin-bottom: 16px;
}

.demands-container .no-data h4 {
    font-size: 18px;
    color: #495057;
    margin-bottom: 8px;
}

.demands-container .no-data p {
    color: #6c757d;
    font-size: 14px;
}

/* 加载状态样式 */
.demands-container .loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.demands-container .loading i {
    font-size: 32px;
    margin-bottom: 12px;
}

/* ==================== 移动端响应式样式 ==================== */
@media (max-width: 768px) {
    /* 表格容器滚动提示 */
    .demands-container {
        position: relative;
    }
    
    .demands-container::before {
        content: "← 左右滑动查看更多 →";
        display: block;
        text-align: center;
        font-size: 12px;
        color: #6c757d;
        padding: 8px 0;
        background: #f8f9fa;
        margin-bottom: 10px;
        border-radius: 6px;
    }
    
    .demands-container table {
        font-size: 12px;
        min-width: 700px;
    }
    
    .demands-container table th,
    .demands-container table td {
        padding: 10px 12px;
    }
    
    /* 调整列宽比例 */
    #publishedDemandsTable th:nth-child(1) { width: 35%; } /* 需求标题 */
    #publishedDemandsTable th:nth-child(2) { width: 12%; } /* 需求状态 */
    #publishedDemandsTable th:nth-child(3) { width: 18%; } /* 发布人昵称 */
    #publishedDemandsTable th:nth-child(4) { width: 20%; } /* 发布时间 */
    #publishedDemandsTable th:nth-child(5) { width: 15%; } /* 操作 */
    
    #repliedDemandsTable th:nth-child(1) { width: 25%; } /* 需求标题 */
    #repliedDemandsTable th:nth-child(2) { width: 10%; } /* 需求状态 */
    #repliedDemandsTable th:nth-child(3) { width: 12%; } /* 回复人昵称 */
    #repliedDemandsTable th:nth-child(4) { width: 25%; } /* 回复内容 */
    #repliedDemandsTable th:nth-child(5) { width: 13%; } /* 关联产品 */
    #repliedDemandsTable th:nth-child(6) { width: 15%; } /* 回复时间 */
    #repliedDemandsTable th:nth-child(7) { width: 10%; } /* 操作 */
    
    /* 需求标题链接移动端样式 */
    .demand-title-link {
        font-size: 13px;
        max-width: 180px;
    }
    
    /* 回复内容单元格移动端样式 */
    .reply-content-cell {
        max-width: 180px;
        font-size: 12px;
    }
    
    /* 操作按钮移动端样式 */
    .btn-mark-demand,
    .btn-delete-reply {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    /* 状态徽章移动端样式 */
    .demands-container .badge {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    /* 分页移动端样式 */
    .pagination-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pagination-info {
        font-size: 12px;
    }
    
    .pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    /* Tab移动端样式 */
    .demand-tabs .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 小屏手机（宽度小于480px） */
@media (max-width: 480px) {
    .demands-container table {
        min-width: 650px;
    }
    
    .demands-container table th,
    .demands-container table td {
        padding: 8px 10px;
    }
    
    .demand-title-link {
        max-width: 150px;
        font-size: 12px;
    }
    
    .reply-content-cell {
        max-width: 150px;
        font-size: 11px;
    }
    
    .demand-tabs .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* 确保滚动条在触摸设备上更易滚动 */
@media (hover: none) and (pointer: coarse) {
    .demands-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}



/* 导出按钮样式 */
.demands-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.btn-export-excel {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-export-excel:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.btn-export-excel i {
    margin-right: 6px;
}

/* 移动端导出按钮样式 */
@media (max-width: 768px) {
    .demands-toolbar {
        margin-bottom: 12px;
    }
    
    .btn-export-excel {
        padding: 5px 12px;
        font-size: 12px;
    }
}




/* 收到的需求表格列宽设置 */
#receivedDemandsTable th:nth-child(1) { width: 30%; } /* 需求标题 */
#receivedDemandsTable th:nth-child(2) { width: 10%; } /* 需求状态 */
#receivedDemandsTable th:nth-child(3) { width: 20%; } /* 关联产品 */
#receivedDemandsTable th:nth-child(4) { width: 15%; } /* 发布人昵称 */
#receivedDemandsTable th:nth-child(5) { width: 25%; } /* 发布时间 */

/* 移动端响应式 */
@media (max-width: 768px) {
    #receivedDemandsTable th:nth-child(1) { width: 35%; }
    #receivedDemandsTable th:nth-child(2) { width: 12%; }
    #receivedDemandsTable th:nth-child(3) { width: 25%; }
    #receivedDemandsTable th:nth-child(4) { width: 15%; }
    #receivedDemandsTable th:nth-child(5) { width: 13%; }
}











/* ==================== 我的收藏样式 ==================== */

/* 收藏列表网格布局 */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 收藏卡片 */
.favorite-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.favorite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 卡片头部 */
.favorite-card-header {
    display: flex;
    padding: 16px;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* 产品Logo */
.favorite-product-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f8f9fa;
}

/* 产品信息区域 */
.favorite-product-info {
    flex: 1;
    min-width: 0;
}

.favorite-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-product-desc {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

/* 卡片底部 */
.favorite-card-footer {
    padding: 12px 16px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.favorite-time {
    font-size: 12px;
    color: #6c757d;
}

.favorite-time i {
    margin-right: 4px;
}

.favorite-actions {
    display: flex;
    gap: 8px;
}

.btn-view-product,
.btn-unfavorite {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-view-product i,
.btn-unfavorite i {
    margin-right: 4px;
}

.btn-unfavorite:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* 无收藏提示 */
#noFavorites {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

#noFavorites i {
    font-size: 64px;
    color: #dc3545;
    margin-bottom: 20px;
}

#noFavorites h4 {
    font-size: 20px;
    color: #495057;
    margin-bottom: 12px;
}

#noFavorites p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}

/* 加载状态 */
.favorites-container .loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.favorites-container .loading i {
    font-size: 32px;
    margin-bottom: 12px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .favorite-card-header {
        padding: 12px;
    }
    
    .favorite-product-logo {
        width: 50px;
        height: 50px;
    }
    
    .favorite-product-name {
        font-size: 14px;
    }
    
    .favorite-product-desc {
        font-size: 12px;
    }
    
    .favorite-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .favorite-time {
        text-align: center;
        font-size: 11px;
    }
    
    .favorite-actions {
        justify-content: center;
    }
    
    .btn-view-product,
    .btn-unfavorite {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .favorite-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .favorite-product-logo {
        width: 70px;
        height: 70px;
    }
    
    .favorite-product-info {
        text-align: center;
    }
    
    .favorite-product-name {
        white-space: normal;
    }
}









/* ==================== 产品评论样式 ==================== */

/* 表格容器 - 支持横向滚动 */
.reviews-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.reviews-container table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 14px;
}

.reviews-container table th,
.reviews-container table td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* 允许内容列换行 */
.reviews-container table td.review-content-cell {
    white-space: normal;
    word-break: break-word;
    max-width: 250px;
    min-width: 150px;
}

/* 表格列宽设置 */
.reviews-container table th:nth-child(1) { width: 15%; } /* 产品名称 */
.reviews-container table th:nth-child(2) { width: 8%; } /* 评分 */
.reviews-container table th:nth-child(3) { width: 35%; } /* 评论内容 */
.reviews-container table th:nth-child(4) { width: 12%; } /* 评论人昵称 */
.reviews-container table th:nth-child(5) { width: 18%; } /* 评论时间 */
.reviews-container table th:nth-child(6) { width: 12%; } /* 操作 */

/* 评分星星样式 */
.rating-stars {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    margin-right: 5px;
}

.rating-value {
    font-size: 12px;
    color: #6c757d;
}

.rating-stars i {
    margin-right: 1px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .reviews-container {
        position: relative;
    }
    
    .reviews-container::before {
        content: "← 左右滑动查看更多 →";
        display: block;
        text-align: center;
        font-size: 12px;
        color: #6c757d;
        padding: 8px 0;
        background: #f8f9fa;
        margin-bottom: 10px;
        border-radius: 6px;
    }
    
    .reviews-container table {
        font-size: 12px;
        min-width: 700px;
    }
    
    .reviews-container table th,
    .reviews-container table td {
        padding: 10px 12px;
    }
    
    .reviews-container table th:nth-child(1) { width: 18%; }
    .reviews-container table th:nth-child(2) { width: 8%; }
    .reviews-container table th:nth-child(3) { width: 35%; }
    .reviews-container table th:nth-child(4) { width: 15%; }
    .reviews-container table th:nth-child(5) { width: 20%; }
    .reviews-container table th:nth-child(6) { width: 14%; }
    
    .rating-stars {
        font-size: 10px;
    }
    
    .btn-delete-review {
        padding: 4px 8px;
        font-size: 11px;
    }
}

.xiazaisqs{
	border:none !important;
}



/* 企业主页模块样式 */
.bianji1{display: flex; justify-content: space-between; align-items: center;}
.btn-edit{
	background:#fff;
	color:#2B5EE2;
}
.btn-edit:hover{
	background:#fff;
	color:#2B5EE2;
}
.homepage-module .homepage-link {
    color: #4361ee;
    text-decoration: none;
}

.homepage-module .homepage-link:hover {
    text-decoration: underline;
}

.homepage-logo-display img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 4px;
}

.homepage-banner-display img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    object-fit: cover;
}

.homepage-description-display {
    padding: 12px;
    background-color: #f8fafc;
    border-radius: 8px;
    line-height: 1.6;
}

.homepage-description-display img {
    max-width: 100%;
    height: auto;
}

/* 企业简介富文本编辑器样式 - 确保只有一个工具栏 */
#homepageEditorContainer {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* 确保编辑器容器不包含额外的工具栏 */
#homepageEditorContainer .ql-toolbar {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 8px 12px;
	display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

#homepageEditorContainer .ql-toolbar .ql-formats {
    margin-right: 8px;
}
#homepageEditorContainer .ql-container {
    min-height: 440px !important;
    font-size: 14px;
    border: none;
}

#homepageEditorContainer .ql-editor {
    min-height: 400px;
    padding: 16px;
}
/* 字体大小下拉菜单样式 */
#homepageEditorContainer .ql-picker.ql-size .ql-picker-label::before,
#homepageEditorContainer .ql-picker.ql-size .ql-picker-item::before {
    content: '标准';
}

#homepageEditorContainer .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,
#homepageEditorContainer .ql-picker.ql-size .ql-picker-item[data-value="small"]::before {
    content: '小号';
}

#homepageEditorContainer .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,
#homepageEditorContainer .ql-picker.ql-size .ql-picker-item[data-value="large"]::before {
    content: '大号';
}

#homepageEditorContainer .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,
#homepageEditorContainer .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before {
    content: '超大';
}

/* 隐藏可能重复的工具栏 */
#homepageEditorContainer .ql-toolbar:first-child:not(:only-child) {
    display: block;
}

#homepageEditorContainer .ql-toolbar ~ .ql-toolbar {
    display: none;
}

/* 确保编辑器容器有足够空间 */
.homepage-module .info-item.full-width {
    width: 100%;
}

/* 编辑模式下富文本编辑器的样式优化 */
#homepageEditMode .info-row .info-item {
    margin-bottom: 20px;
}

#homepageEditMode .info-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

