/* ========== 共享组件样式 ========== */

/* 卡片组件 */
.card {
    background: #151520;
    border: 1px solid #2a2a3e;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #f472b6;
    box-shadow: 0 4px 20px rgba(244, 114, 182, 0.1);
}

/* 表单组件 */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: #0a0a0f;
    border: 1px solid #2a2a3e;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f472b6;
    box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.2);
}

.form-input::placeholder {
    color: #64748b;
}

/* 下拉选择 */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'FontAwesome';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.75rem;
    pointer-events: none;
}

/* 标签/徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-primary {
    background: rgba(244, 114, 182, 0.2);
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.3);
}

.badge-secondary {
    background: rgba(42, 42, 62, 0.5);
    color: #94a3b8;
    border: 1px solid #2a2a3e;
}

/* 卖点展示 */
.selling-point-item {
    background: rgba(244, 114, 182, 0.05);
    border: 1px solid rgba(244, 114, 182, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.selling-point-label {
    font-size: 0.625rem;
    color: #f472b6;
    margin-bottom: 0.25rem;
}

.selling-point-value {
    font-size: 0.75rem;
    color: #e2e8f0;
    line-height: 1.4;
}

/* 上传区域 */
.upload-zone {
    border: 2px dashed #2a2a3e;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: #f472b6;
    background: rgba(244, 114, 182, 0.05);
}

/* 结果编辑器 */
.result-editor {
    background: #151520;
    border: 1px solid #2a2a3e;
    border-radius: 0.75rem;
    min-height: 200px;
    padding: 1rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* 工具栏 */
.toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #1a1a2e;
    border-radius: 0.5rem;
}

.toolbar-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: rgba(244, 114, 182, 0.1);
    color: #f472b6;
}
