/* NemynAI SEO Autopilot — Admin Styles */

.naseo-wrap { max-width: 900px; }
.naseo-wrap h1 { margin-bottom: 20px; }

/* Cards */
.naseo-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    margin-top: 16px;
}
.naseo-card h2, .naseo-card h3 { margin-top: 0; }

/* Stats */
.naseo-stats {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.naseo-stat {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 24px;
    text-align: center;
    min-width: 100px;
}
.naseo-stat--green { border-color: #00a32a; }
.naseo-stat--red   { border-color: #d63638; }
.naseo-stat__num {
    display: block;
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
}
.naseo-stat--green .naseo-stat__num { color: #00a32a; }
.naseo-stat--red   .naseo-stat__num { color: #d63638; }
.naseo-stat__label { font-size: 0.85em; color: #666; }

/* Buttons */
.naseo-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f6f7f7;
    color: #1d2327;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all .15s;
}
.naseo-btn:hover { background: #e8e8e8; color: #1d2327; }
.naseo-btn--primary { background: #2271b1; border-color: #2271b1; color: #fff; }
.naseo-btn--primary:hover { background: #135e96; color: #fff; }
.naseo-btn--pro { background: #f6a600; border-color: #f6a600; color: #fff; font-weight: 600; }
.naseo-btn--pro:hover { background: #d48200; color: #fff; }
.naseo-btn--danger { background: #d63638; border-color: #d63638; color: #fff; }
.naseo-btn--danger:hover { background: #b32d2e; color: #fff; }
.naseo-btn--locked { opacity: .6; cursor: not-allowed; }
.naseo-btn--large { padding: 10px 20px; font-size: 15px; }
.naseo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }

/* Pro Banner */
.naseo-pro-banner {
    background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 16px 20px;
}
.naseo-pro-banner__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}
.naseo-pro-banner__icon { font-size: 24px; }
.naseo-pro-banner__inner strong { color: #f6a600; }

/* Pro Gate */
.naseo-pro-gate {
    background: #fff;
    border: 2px dashed #f6a600;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    max-width: 500px;
}
.naseo-pro-gate__icon { font-size: 48px; margin-bottom: 8px; }
.naseo-pro-gate ul { text-align: left; display: inline-block; margin: 16px 0; }
.naseo-pro-gate li { margin-bottom: 6px; }
.naseo-pro-gate__note { font-size: 12px; color: #666; margin-top: 8px; }

/* Notices */
.naseo-notice {
    padding: 10px 14px;
    border-radius: 6px;
    border-left: 4px solid #2271b1;
    background: #f0f6fc;
    font-size: 14px;
}
.naseo-notice--success { border-color: #00a32a; background: #f0faf0; color: #00a32a; }
.naseo-notice--error   { border-color: #d63638; background: #fdf0f0; color: #d63638; }

/* Status badges */
.naseo-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.naseo-status--pending    { background: #f0f6fc; color: #2271b1; }
.naseo-status--processing { background: #fff8e5; color: #b45309; }
.naseo-status--published  { background: #f0faf0; color: #00a32a; }
.naseo-status--error      { background: #fdf0f0; color: #d63638; }
.naseo-status--success    { background: #f0faf0; color: #00a32a; }
.naseo-status--info       { background: #f0f6fc; color: #2271b1; }
.naseo-status--license    { background: #fff8e5; color: #b45309; }

/* Code block */
.naseo-code-block {
    display: block;
    background: #1d2327;
    color: #8be9fd;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
}

/* Table */
.naseo-table td, .naseo-table th {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.naseo-table th { font-weight: 600; width: 140px; }

/* ── Help page ─────────────────────────────────────────────────────────── */

/* Steps */
.naseo-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.naseo-step  { display: flex; gap: 16px; align-items: flex-start; }
.naseo-step__num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: #2271b1; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
}
.naseo-step__body h3 { margin: 0 0 6px; }
.naseo-step__body ol { margin: 6px 0 0 18px; }
.naseo-step__body li { margin-bottom: 4px; }

/* Tip box */
.naseo-tip {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
}

/* Compare table */
.naseo-compare-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.naseo-compare-table th,
.naseo-compare-table td { padding: 9px 12px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.naseo-compare-table thead th { background: #f6f7f7; font-weight: 600; }
.naseo-compare-table thead th:nth-child(2),
.naseo-compare-table thead th:nth-child(3) { text-align: center; width: 80px; }
.naseo-compare-table td.yes { text-align: center; color: #00a32a; font-size: 16px; }
.naseo-compare-table td.no  { text-align: center; color: #bbb; font-size: 16px; }

/* FAQ */
.naseo-faq { display: flex; flex-direction: column; gap: 12px; }
.naseo-faq__item { border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.naseo-faq__q {
    background: #f6f7f7;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
}
.naseo-faq__a {
    padding: 12px 16px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* Table yes/no in help */
.naseo-table td.yes { color: #00a32a; font-weight: 600; }
.naseo-table td.no  { color: #bbb; }

/* ── API key fields ────────────────────────────────────────────────────── */

.naseo-key-row {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 500px;
}
.naseo-api-input {
    flex: 1;
    font-family: monospace;
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    color: #1d2327;
    letter-spacing: 0;
    transition: letter-spacing .1s;
}
.naseo-api-input.naseo-masked {
    letter-spacing: 3px;
    color: #aaa;
}
.naseo-api-input:focus {
    border-color: #2271b1;
    outline: 2px solid #2271b1;
    outline-offset: 0;
    letter-spacing: 0;
    color: #1d2327;
}
.naseo-toggle-key {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 1;
    background: #f6f7f7;
    border: 1px solid #ccc;
}
.naseo-key-status {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 600;
}
.naseo-key-status--ok    { color: #00a32a; }
.naseo-key-status--empty { color: #d63638; }

.naseo-required { color: #d63638; margin-left: 2px; }
.naseo-pro-lock { color: #888; font-style: italic; font-size: 13px; }
