/* Ranosys Blog AI Summary – Stylesheet
   Dynamic button colors are injected as CSS variables via wp_add_inline_style:
   --ai-btn-bg  : button background (admin-configured)
   --ai-btn-text: button text color (admin-configured)
*/

.ranosys-ai-summary { margin: 20px 0; }

/* ── Button ─────────────────────────────────────────────────────────── */
.ai-summary-btn {
    background-color: var(--ai-btn-bg, #ff003d);
    color: var(--ai-btn-text, #ffffff);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.ai-summary-btn:hover    { opacity: 0.8; }
.ai-summary-btn:disabled { background: #ccc; color: #666; cursor: not-allowed; }

/* ── Summary box ─────────────────────────────────────────────────────── */
.ai-summary-content {
    display: none;
    position: relative;
    margin: 20px 15px;
    background: #f3f3f3;
    border: 1px solid #f26622;
    border-radius: 12px;
    line-height: 1.6;
    overflow: hidden;
}

.ai-summary-inner { padding: 24px; }

.ai-summary-inner h3 {
    font-family: 'source-sans-pro', sans-serif;
    font-size: 26px;
}

.ai-summary-inner p {
    font-family: 'source-sans-pro', sans-serif;
    color: #424242;
    font-size: 16px;
    font-style: italic;
    line-height: 28px;
    margin: 0 0 8px 0;
}
.ai-summary-inner p:last-child { margin-bottom: 0; }


/* ── Skip animation button ───────────────────────────────────────────── */
/* .ai-skip-btn {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    color: #555;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}
.ai-skip-btn:hover { background: #e2e2e2; color: #000; } */

/* ── Loading state ───────────────────────────────────────────────────── */
.ai-loading-msg  { color: #888; }
.ai-dot-anim     { letter-spacing: 1px; }
