/**
 * Boletando Evergreen — front-end styles
 *
 * Aplicado apenas no bloco .deal-stats-context (depois da descrição da oferta).
 */

/* ========================================================================
   STATS CONTEXT BLOCK
   ======================================================================== */

.deal-stats-context {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f7f8fa;
    border-left: 3px solid var(--rh-primary, #0073e6);
    border-radius: 4px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.65;
}

.deal-stats-context strong {
    color: #222;
    font-weight: 600;
}

.deal-stats-context a:not(.alert-trigger) {
    color: var(--rh-primary, #0073e6);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 500;
}

.deal-stats-context a:not(.alert-trigger):hover {
    text-decoration-thickness: 2px;
}

/* ========================================================================
   ALERT TRIGGER PILL (inline, dispara popup do SmartPostAlert)
   ======================================================================== */

.deal-stats-context .alert-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.2em 0.7em;
    margin: 0 0.15em;
    background: rgba(0, 115, 230, 0.08);
    color: var(--rh-primary, #0073e6);
    border: 1px solid rgba(0, 115, 230, 0.25);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95em;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: baseline;
}

.deal-stats-context .alert-trigger:hover,
.deal-stats-context .alert-trigger:focus {
    background: rgba(0, 115, 230, 0.15);
    border-color: rgba(0, 115, 230, 0.5);
    color: var(--rh-primary, #0073e6);
}

.deal-stats-context .alert-trigger .alert-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 600px) {
    .deal-stats-context {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    .deal-stats-context .alert-trigger {
        padding: 0.15em 0.6em;
        font-size: 0.9em;
    }
}
