/**
 * WebsiteGuide Styles
 * 简单清晰的样式定义
 */

/* 基础样式 - 匹配原来的布局 */
.guidance-section {
    height: var(--nona-guide-height);
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #002671;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.guidance-section .section-header {
    height: 60px;
    min-height: 50px;
    background-color: var(--color-bg-active);
    align-items: center;
    display: flex;
    padding: 0 16px;
}

.guidance-section .section-header .nav-icon {
    margin-right: 8px;
}

.guidance-section .section-header .nav-text {
    font-size: var(--font-size-nav-text);     /* Use centralized nav text font size */
    font-weight: var(--font-weight-nav-text); /* Use centralized nav text font weight */
}

.guidance-section .section-content {
    flex: 1 1 0%;
    overflow-y: auto;
    padding: 16px;
    background-color: #ffffff;
    color: #002671;
    margin: 0;
}

.guidance-section .guidance-text {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: #002671;
}

.guidance-section .guidance-icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    cursor: pointer;
    color: inherit;
}

/* 主题样式 */
.guidance-section.theme-default {
    background-color: #ffffff;
    color: #002671;
    border-color: #e5e7eb;
}

.guidance-section.theme-success {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.guidance-section.theme-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.guidance-section.theme-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.guidance-section.theme-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.guidance-section.theme-processing {
    background-color: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guidance-section {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .guidance-section .section-title {
        font-size: 13px;
    }
}

/* 动画效果 */
.guidance-section.updating {
    opacity: 0.8;
    transform: scale(0.99);
}

.guidance-section.updating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}