/* 号卡推荐模块样式 - 紧凑版 */
.scm-rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.scm-rec-location {
    font-size: 12px;
    color: #666;
}

.scm-location-text {
    color: #e74c3c;
    font-weight: bold;
}

.scm-rec-refresh {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.scm-rec-refresh:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.scm-rec-refresh:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.scm-rec-list {
    padding: 6px;
}

.scm-rec-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.scm-rec-card:last-child {
    margin-bottom: 0;
}

.scm-rec-card:hover {
    border-color: #e74c3c;
}

.scm-rec-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.scm-rec-tag {
    padding: 1px 5px;
    color: #fff;
    border-radius: 2px;
    font-size: 9px;
    font-weight: bold;
}

.scm-rec-hot {
    font-size: 10px;
    color: #999;
}

.scm-rec-card-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scm-rec-card-title a {
    color: #333;
    text-decoration: none;
}

.scm-rec-card-title a:hover {
    color: #e74c3c;
}

.scm-rec-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    border-top: 1px dashed #eee;
    gap: 5px;
}

.scm-rec-specs {
    flex: 1;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.scm-rec-spec {
    font-size: 9px;
    color: #666;
    background: #f5f5f5;
    padding: 1px 4px;
    border-radius: 2px;
}

.scm-rec-price {
    font-size: 14px;
    color: #e74c3c;
    font-weight: bold;
    flex-shrink: 0;
}

.scm-rec-price-unit {
    font-size: 10px;
    color: #999;
    font-weight: normal;
    margin-left: 2px;
}

.scm-rec-btn {
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    flex-shrink: 0;
}

.scm-rec-btn:hover {
    background: #c0392b;
}

.scm-rec-empty {
    text-align: center;
    padding: 15px 10px;
    color: #999;
}

.scm-rec-empty p {
    margin-bottom: 8px;
    font-size: 12px;
}

/* 办卡成功播报模块样式 */
.scm-broadcast-box {
    margin-bottom: 20px;
}

.scm-broadcast-container {
    overflow: hidden;
    height: 280px;
    position: relative;
    will-change: transform;
}

.scm-broadcast-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.scm-broadcast-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.scm-broadcast-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.scm-broadcast-content {
    flex: 1;
}

.scm-broadcast-text {
    font-size: 12px;
    color: #333;
    margin-bottom: 3px;
}

.scm-broadcast-phone {
    color: #e74c3c;
    font-weight: bold;
}

.scm-broadcast-action {
    color: #666;
    margin: 0 4px;
}

.scm-broadcast-package {
    color: #27ae60;
    font-weight: bold;
}

.scm-broadcast-meta {
    font-size: 10px;
    color: #999;
}

.scm-broadcast-area {
    margin-right: 6px;
}

/* 导航高亮样式 */
.scm-nav-item {
    position: relative;
}

.scm-nav-item.active > a {
    color: #e74c3c !important;
    font-weight: bold;
}

/* 相关文章板块样式 */
.scm-related-articles {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.scm-related-title h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.scm-related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.scm-related-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.3s ease;
    text-decoration: none;
}

.scm-related-item:hover {
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.1);
}

.scm-related-img {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.scm-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scm-related-item:hover .scm-related-img img {
    transform: scale(1.05);
}

.scm-related-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.scm-related-title-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.scm-related-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .scm-related-list {
        grid-template-columns: 1fr;
    }
    
    .scm-related-articles {
        padding: 16px;
    }
}