/* 品牌声调与知识库页面样式 */

/* 主要内容区域布局 */
.brand-profile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 auto;
    max-width: 1600px;
    padding: 20px;
}

/* 左侧：输入与管理 */
.brand-input-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-header {
    margin-bottom: 5px;
}

.section-header h3 {
    color: #495057;
    font-size: 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i {
    color: #667eea;
}

.section-header p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* 文本输入区域 */
.text-input-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#brand-text-input {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

#brand-text-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 文件上传区域 */
.file-upload-area {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.file-upload-area h4 {
    color: #495057;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-upload-area h4 i {
    color: #667eea;
}

.upload-zone {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.upload-zone:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.upload-zone i {
    font-size: 30px;
    color: #667eea;
    margin-bottom: 10px;
}

.upload-zone p {
    margin: 5px 0;
    color: #495057;
}

.upload-note {
    font-size: 12px;
    color: #6c757d;
}

.uploaded-files-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

.file-name i {
    color: #667eea;
}

.file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background: #f8d7da;
}

/* 分析按钮区域 */
.analyze-section {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
}

.analyze-note {
    margin-top: 10px;
    font-size: 13px;
    color: #6c757d;
}

/* 右侧：结果展示 */
.brand-result-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

/* 空档案提示 */
.empty-profile-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 30px 0;
}

.empty-icon {
    font-size: 50px;
    color: #ced4da;
    margin-bottom: 20px;
}

.empty-profile-message h4 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 20px;
}

.empty-profile-message p {
    color: #6c757d;
    font-size: 16px;
}

/* 品牌档案结果 */
.brand-profile-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

/* 卡片样式 */
.profile-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-header h4 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-content {
    padding: 20px;
}

/* 标签云样式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* 语气标签 */
.tone-tag {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.tone-tag:hover {
    background: #bbdefb;
}

/* 关键词标签 */
.keyword-tag {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.keyword-tag:hover {
    background: #c8e6c9;
}

/* 关键词标签大小变化 */
.keyword-tag.size-1 { font-size: 12px; }
.keyword-tag.size-2 { font-size: 14px; }
.keyword-tag.size-3 { font-size: 16px; }
.keyword-tag.size-4 { font-size: 18px; }
.keyword-tag.size-5 { font-size: 20px; }

/* 句式结构信息 */
.sentence-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item strong {
    color: #495057;
    font-size: 14px;
}

.info-item span {
    color: #212529;
    font-size: 16px;
}

.patterns-list ul {
    margin: 0;
    padding-left: 20px;
}

.patterns-list li {
    margin-bottom: 5px;
    color: #212529;
}

/* 目标受众和核心信息 */
#target-audience, #core-message {
    color: #212529;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

/* 底部操作按钮 */
.brand-actions {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .brand-profile-container {
        grid-template-columns: 1fr;
    }
    
    .brand-input-section, .brand-result-section {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .brand-profile-container {
        padding: 10px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .card-header h4 {
        font-size: 14px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
} 