/* =========================================================================
   SentimentOwl — Signal Accuracy panel
   Prefix: .owl-sigacc-*
   ========================================================================= */

/* -------------------------------------------------------------------------
   Panel shell
   ------------------------------------------------------------------------- */
.owl-sigacc-panel {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px 16px;
    margin: 24px 0;
    color: #e2e8f0;
    font-family: inherit;
}

/* -------------------------------------------------------------------------
   Header row
   ------------------------------------------------------------------------- */
.owl-sigacc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.owl-sigacc-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------------
   Bucket badge
   ------------------------------------------------------------------------- */
.owl-sigacc-bucket {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.owl-sigacc-bucket--very_high { background: rgba(34, 197, 94, 0.2);  color: #4ade80; border: 1px solid rgba(34,197,94,.35); }
.owl-sigacc-bucket--high      { background: rgba(134, 239, 172, 0.15); color: #86efac; border: 1px solid rgba(134,239,172,.3); }
.owl-sigacc-bucket--neutral   { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.owl-sigacc-bucket--low       { background: rgba(251, 146, 60, 0.15);  color: #fb923c; border: 1px solid rgba(251,146,60,.3); }
.owl-sigacc-bucket--very_low  { background: rgba(239, 68, 68, 0.15);   color: #f87171; border: 1px solid rgba(239,68,68,.3); }

/* -------------------------------------------------------------------------
   Intro text
   ------------------------------------------------------------------------- */
.owl-sigacc-intro {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 16px;
    line-height: 1.5;
}

.owl-sigacc-intro strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   Horizons grid (3 columns)
   ------------------------------------------------------------------------- */
.owl-sigacc-horizons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

/* Individual horizon card */
.owl-sigacc-horizon {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Primary (14-day) highlighted card */
.owl-sigacc-horizon--primary {
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.06);
}

.owl-sigacc-horizon-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 2px;
}

.owl-sigacc-horizon--primary .owl-sigacc-horizon-label {
    color: #f97316;
}

/* -------------------------------------------------------------------------
   Return value
   ------------------------------------------------------------------------- */
.owl-sigacc-return {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.owl-sigacc-return--pos  { color: #4ade80; }
.owl-sigacc-return--neg  { color: #f87171; }
.owl-sigacc-return--zero { color: #94a3b8; }
.owl-sigacc-return--na   { color: #475569; font-size: 1.1rem; }

/* -------------------------------------------------------------------------
   Win rate + count
   ------------------------------------------------------------------------- */
.owl-sigacc-winrate {
    font-size: 0.78rem;
    color: #94a3b8;
}

.owl-sigacc-count {
    font-size: 0.72rem;
    color: #475569;
}

/* -------------------------------------------------------------------------
   Lookback note (Trial / Starter)
   ------------------------------------------------------------------------- */
.owl-sigacc-lookback-note {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0 0 8px;
    line-height: 1.5;
}

.owl-sigacc-lookback-note a {
    color: #f97316;
    text-decoration: none;
}

.owl-sigacc-lookback-note a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Disclaimer
   ------------------------------------------------------------------------- */
.owl-sigacc-disclaimer {
    font-size: 0.7rem;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Upgrade gate card
   ------------------------------------------------------------------------- */
.owl-sigacc-gate {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0;
    color: #e2e8f0;
}

.owl-sigacc-gate-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
}

.owl-sigacc-gate-body {
    flex: 1;
    min-width: 0;
}

.owl-sigacc-gate-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 4px;
}

.owl-sigacc-gate-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0 0 12px;
    line-height: 1.5;
}

.owl-sigacc-gate-desc strong {
    color: #e2e8f0;
}

.owl-sigacc-gate-cta {
    display: inline-block;
    background: #f97316;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.owl-sigacc-gate-cta:hover {
    background: #ea6a0a;
    color: #fff;
    text-decoration: none;
}

/* -------------------------------------------------------------------------
   Responsive — stack horizons on small screens
   ------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .owl-sigacc-horizons {
        grid-template-columns: 1fr;
    }

    .owl-sigacc-gate {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .owl-sigacc-panel {
        padding: 16px;
    }
}
