/* ============ 人民币大写转换：仅保留工具专属样式（布局/卡片/按钮/空状态等公共样式由 common.css 提供） ============ */

/* 左右两栏按 1:3 分配（公共 .section-row 默认为 1:1；移动端由 common.css 的 !important 规则折叠为单列） */
.rmb-layout {
    grid-template-columns: 1fr 3fr;
}

/* ---------- 输入区 ---------- */
.smart-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.smart-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.smart-input::placeholder {
    color: #9ca3af;
}

.input-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* 常用金额快捷档位 */
.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.quick-label {
    font-size: 13px;
    color: #6b7280;
}

.quick-amount {
    padding: 5px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-amount:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
    background: #f5f3ff;
}

/* 输入千分位实时提示 */
.input-preview {
    font-size: 13px;
    color: #8b5cf6;
    font-weight: 600;
    margin-top: 6px;
}

/* ---------- 结果区 ---------- */
.result-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
}

.item-label {
    font-size: 14px;
    color: #6b7280;
    min-width: 120px;
}

.item-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.result-highlight {
    font-size: 22px;
    color: #8b5cf6;
    font-weight: 700;
    padding: 16px;
    background: #f3e8ff;
    border-radius: 8px;
    text-align: center;
    word-break: break-all;
}

/* ---------- 空状态 ---------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #9ca3af;
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-text {
    font-size: 14px;
    color: #888;
}

.empty-hint {
    font-size: 14px;
    margin: 0;
}
