/* ==========================
   scanners.css
   ========================== */

.scoring-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
}

.candles-group {
    display: flex;
    gap: 2px; 
    width: 65px;
    justify-content: flex-start;
    align-items: center; 
    height: 100%;    
}

.candle {
    display: block; 
    flex-shrink: 0;
    width: 6px;
    height: 12px;
    border-radius: 1px;
    background: #2d3748; 
    border: none;
}

.candle:not(.green):not(.red) {
    background: #2d3748; 
    opacity: 0.5;
}

.candle.green { background: #00ff00; box-shadow: 0 0 5px rgba(0,255,0,0.5); }
.candle.red   { background: #ff0000; box-shadow: 0 0 5px rgba(255,0,0,0.5); }

.score-val {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: bold;
    min-width: 40px;
    text-align: right;
    margin-left:4px;
}

.dot-group { display: flex; gap: 6px; justify-content: center; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2d3748; border: 1px solid rgba(255,255,255,0.1); }
.action-badge { padding: 4px 10px; border-radius: 4px; font-weight: bold; font-size: 11px; display: inline-block; min-width: 100px; text-align: center; color: #fff; }

.smc-matrix {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 85px;
    padding: 5px 0;
    font-weight: 400;
    font-size: 0.75rem;
}

.smc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 22px;
}

.mini-tag {
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

.mini-tag.up { background: rgba(46, 204, 113, 0.1); }
.mini-tag.down { background: rgba(231, 76, 60, 0.1); }
.mini-tag.neutral { background: rgba(100, 116, 139, 0.1); }

.badge-outline {
    font-size: 0.65rem;
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px dashed transparent;
    text-transform: uppercase;
}

.badge-outline.up { 
    border-color: rgba(46, 204, 113, 0.4); 
    background: rgba(46, 204, 113, 0.02);
}

.badge-outline.down { 
    border-color: rgba(231, 76, 60, 0.4); 
    background: rgba(231, 76, 60, 0.02);
}

.badge-outline.neutral { 
    border-color: rgba(100, 116, 139, 0.3); 
}

.structure-text .icon {
    font-size: 0.85rem;
    margin-right: 2px;
}

.is-trigger-zone {
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.copy-trigger {
    cursor: copy;
    transition: all 0.2s;
    border-radius: 4px;
}

.copy-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.structure-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 400;
}

.smc-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.rr-badge {
    font-size: 0.6rem;
    padding: 0px 3px;
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border-radius: 2px;
}

.score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 3px solid; 
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 70px;
    margin: 0 auto;
}

.score-value {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}

.score-type {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.score-container[style*="#f59e0b"] {
    box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.05);
    background: rgba(245, 158, 11, 0.03);
}

.clickable-score {
    transition: transform 0.1s ease;
}

.clickable-score:active {
    transform: scale(0.95); 
}

.near-pulse { 
    animation: pulse 1.5s infinite; 
    color: var(--premium); 
    font-weight: bold; 
}
