/* === AI SEO Multi-Step === */

/* Narrow the modal window on step 1 only */
.ai-scan-window.ai-scan-step1 {
    max-width: 600px;
}

.ai-seo-step-1 {
    display: flex;
    flex-direction: column;
}

.ai-seo-step1-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-seo-step1-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0 0 8px 0;
}

.ai-seo-step1-subtitle {
    font-size: 16px;
    color: #ed5409;
    text-align: center;
    margin: -8px 0 4px 0;
}

.ai-seo-url-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ai-seo-url-mirror {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.ai-seo-url-mirror:focus {
    border-color: #888;
}

.ai-seo-scan-btn {
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ed5409;
    color: #fff;
    border: 1px solid #ed5409;
    opacity: 0.65;
}

.ai-seo-scan-btn:not(:disabled) {
    opacity: 1;
}

.ai-seo-scan-btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.ai-seo-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-height: 20px;
}

.ai-seo-message.success {
    color: #16a34a;
}

.ai-seo-message.error {
    color: #dc2626;
}

@media (max-width: 600px) {
    .ai-seo-step1-subtitle {
        font-size: 14px;
        color: #555;
        text-align: center;
        margin: -8px 0 4px 0;
    }

    .ai-seo-url-row {
        flex-direction: column;
    }

    .ai-seo-scan-btn {
        width: 100%;
    }
}