/* 朋友圈文案防折叠工具样式 */
.unfold-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 方案选择 */
.method-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.method-card {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.method-card:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.method-card.active {
    border-color: #07c160;
    background: #f0f9ff;
}

.method-icon {
    font-size: 28px;
    color: #07c160;
    margin-bottom: 8px;
}

.method-name {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.method-desc {
    font-size: 13px;
    color: #718096;
}

/* 文本区域 */
.text-area-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.text-area-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.char-count {
    font-size: 13px;
    color: #718096;
}

.text-input, .text-output {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s;
}

.text-input:focus, .text-output:focus {
    outline: none;
    border-color: #07c160;
}

.text-output {
    background: #f7fafc;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-action {
    flex: 1;
    min-width: 150px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #07c160 0%, #06ae56 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
}

/* 预览区域 */
.preview-box {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.preview-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-content {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    min-height: 100px;
    font-size: 15px;
    line-height: 1.6;
    color: #2d3748;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 使用说明 */
.usage-tips {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.usage-tips h4 {
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.usage-tips ul {
    margin: 0;
    padding-left: 20px;
}

.usage-tips li {
    font-size: 14px;
    color: #78350f;
    margin-bottom: 5px;
}

/* 响应式 */
@media (max-width: 768px) {
    .method-selector {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
}