/*
 * Gerado a partir do CSS monolítico fornecido.
 * As regras foram preservadas e agrupadas por componente.
 * Revê legacy-unclassified.css antes de o remover.
 */

.orderbook {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.buy-wall {
    background: rgba(34,197,94,.20);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.sell-wall {
    background: rgba(239,68,68,.20);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.indicator {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.bar {
    height: 10px;
    background: #1E293B;
    border-radius: 15px;
}

.fill {
    height: 10px;
    border-radius: 15px;
    background: linear-gradient(90deg,#22C55E,#3B82F6);
}

.trade-table {
    width: 100%;
    border-collapse: collapse;
}

.trade-table td {
        padding: 12px;
        border-bottom: 1px solid #334155;
    }

.trade-table tr:hover {
        background: #1E293B;
    }

.signal-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}

.buy {
    background: linear-gradient(135deg,#16A34A,#22C55E);
    box-shadow: 0 0 35px rgba(34,197,94,.45);
}

.sell {
    background: linear-gradient(135deg,#DC2626,#EF4444);
}

.signal-score {
    margin-top: 20px;
}

.signal-score span {
        display: block;
        font-size: 36px;
        color: #22C55E;
        font-weight: bold;
    }

/*.analyst {
    height: 520px;
}*/

.timeline {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event {
    padding: 16px;
    border-radius: 12px;
    transition: .25s;
    cursor: pointer;
    font-size: 16px;
}

.event:hover {
        transform: translateX(6px);
    }

.success {
    background: rgba(34,197,94,.15);
    border-left: 4px solid #22C55E;
}

.warning {
    background: rgba(245,158,11,.15);
    border-left: 4px solid #F59E0B;
}

.info {
    background: rgba(59,130,246,.15);
    border-left: 4px solid #3B82F6;
}

.divReasons p {
    text-align: left;
    font-size: 13px;
}

.buy {
    background: #22C55E;
    color: white;
    box-shadow: 0 0 30px rgba(34,197,94,.35);
}

.sell {
    background: #EF4444;
}

.wait {
    background: #64748B;
}

.confidence-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg,#22C55E,#10B981);
}

.metric {
    background: #1B2435;
    border-radius: 12px;
    padding: 18px;
}

.metric span {
        color: #94A3B8;
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
    }

.metric strong {
        font-size: 20px;
    }

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
}

/* ===========================================
   RECOMMENDATION
=========================================== */

/* ===========================================
   REASONS
=========================================== */

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: white;
}

/* ===================================================
   SIGNAL CARD
=================================================== */

/* ===================================================
   HEADER
=================================================== */

/* ===================================================
   BUY / SELL
=================================================== */

/* ===================================================
   CONFIDENCE
=================================================== */

.confidence-bar {
    margin-top: 20px;
    height: 10px;
    background: #1F2937;
    border-radius: 999px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient( 90deg, #22C55E, #10B981);
    transition: width .35s;
}

.confidence-text {
    margin-top: 10px;
    font-size: 15px;
    color: #CBD5E1;
    margin-top: 8px;
}

/* ===================================================
   RECOMMENDATION
=================================================== */

/* ===================================================
   REASONS
=================================================== */

.section-title {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

/* ===================================================
   MOBILE
=================================================== */

.rr-badge {
    min-width: 120px;
    padding: 9px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .rr-badge {
            width: 100%;
        }
}

.signal-type-text {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.score-item-header {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 12px;
}

.score-item-header strong {
        color: #e2e8f0;
    }

.score-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #1e293b;
}

.score-fill {
    height: 100%;
    border-radius: inherit;
}

.score-buy .score-fill {
    background: #22c55e;
}

.score-hold .score-fill {
    background: #94a3b8;
}

.score-sell .score-fill {
    background: #ef4444;
}

.summary-buy {
    color: #22c55e;
}

.summary-neutral {
    color: #94a3b8;
}

.summary-sell {
    color: #ef4444;
}

.technical-indicators-list {
    display: flex;
    flex-direction: column;
}

.technical-metric-label {
    color: #475569;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.technical-icon {
    background: rgba(255, 255, 255, .04);
}

.risk-metrics {
    display: flex;
    flex-direction: column;
}

.signal-buy {
    color: #22c55e;
    background: rgba(34,197,94,.08);
}

.signal-sell {
    color: #ef4444;
    background: rgba(239,68,68,.08);
}

.health-positive {
    color: #22c55e;
}

.health-warning {
    color: #f59e0b;
}

.health-negative {
    color: #ef4444;
}

.volume-metric-label {
    color: #475569;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

/* =========================================================
   CORREÇÃO DA LINHA RISK / TRADE SETUP / AI ANALYST
   ========================================================= */
