/* ============================================
   HEADER.CSS - Ticker y Logo Principal
   ============================================ */

/* TICKER FINANCIERO (Estilo Bloomberg) */
.ticker-wrap {
    background: var(--color-bg-oscuro);
    border-bottom: 1px solid #333;
    overflow: hidden;
    height: 36px;
    line-height: 36px;
}

.ticker-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    padding: 0 10px;
}

.ticker-container::-webkit-scrollbar {
    display: none;
}

.t-item {
    color: #ccc;
    font-size: 0.8rem;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.t-label {
    font-weight: 700;
    color: var(--color-primario);
    margin-right: 5px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.t-val {
    color: #fff;
    font-weight: 600;
    font-family: Consolas, monospace;
}

.t-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 5px;
}

/* HEADER PRINCIPAL */
header {
    background: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 4px solid var(--color-primario);
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    gap: 10px;
}

.logo-box {
    background: var(--color-primario);
    color: #fff;
    font-weight: 900;
    padding: 5px 10px;
    font-size: 1.5rem;
    letter-spacing: -1px;
    line-height: 1;
    transform: skew(-10deg);
}

.logo-text {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}