/* ============================================================
   ai_import_guide.css - AI 导入词库引导页
   ============================================================ */

.guide-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: guide-step;
}

.guide-steps li {
    position: relative;
    padding: 14px 14px 14px 52px;
    background: var(--bg-input);
    border: 1px solid rgba(46, 125, 50, 0.16);
    border-radius: var(--radius-sm);
    counter-increment: guide-step;
}

.guide-steps li::before {
    content: counter(guide-step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-button-bg);
    color: var(--primary-button-text);
    font-size: 13px;
    font-weight: 700;
}

.guide-steps li strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 15px;
}

.guide-steps li span {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.ai-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.prompt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px;
    margin-bottom: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 999px;
}

.prompt-tab {
    flex: 1;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-hint);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.prompt-tab.active {
    background: var(--primary-button-bg);
    color: var(--primary-button-text);
}

.prompt-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.prompt-meta span {
    font-size: 13px;
    color: var(--text-hint);
}

.prompt-callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-pending);
    border: 1px solid rgba(255, 152, 0, 0.45);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.prompt-callout-label {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--color-warning);
    color: #000;
    font-size: 12px;
}

.prompt-callout em {
    font-style: normal;
    color: #e65100;
    background: rgba(255, 193, 7, 0.35);
    padding: 0 4px;
    border-radius: 4px;
}

.prompt-box mark.prompt-mark,
.prompt-box .prompt-mark {
    background: rgba(255, 193, 7, 0.45);
    color: #e65100;
    font-weight: 700;
    padding: 0 3px;
    border-radius: 3px;
}

.prompt-box {
    margin: 0;
    padding: 14px;
    max-height: 420px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid rgba(46, 125, 50, 0.16);
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%);
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--primary-button-bg);
    color: var(--primary-button-text);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(46, 90, 55, 0.22);
}

.copy-toast[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    .guide-steps li {
        padding-left: 48px;
    }

    .prompt-box {
        max-height: 320px;
        font-size: 12px;
    }
}
