/* ============================
   CONTENEDOR DEL CAROUSEL
   ============================ */
   .cabval-divisas-rolling.carousel {
    position: relative;
    width: 180px;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
    border-radius: 10px;
}

/* Track interno */
.cabval-divisas-rolling.carousel .carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    border-radius: 10px;
}

/* ============================
   TARJETA
   ============================ */
.cabval-divisas-card {
    min-width: 180px;
    flex-shrink: 0;

    background: var(--body-background-color);
    border-radius: 10px;

    /* Borde suave */
    border: 1px solid rgba(0,0,0,0.08);

    /* Sombra elegante */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    padding: 14px 16px;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.85rem;

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Transición suave si se quiere animar hover */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cabval-divisas-card:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ============================
   HEADER (MONEDA)
   ============================ */
.cabval-divisas-header {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2px;

    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.cabval-divisas-header>div:first-child {
    font-size: 0.6rem;
}

.cabval-divisas-header>div:last-child {
    color: var(--primary-color);
}


/* ============================
   FILAS DE COMPRA/VENTA
   ============================ */
.cabval-divisas-body .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;

    font-size: 0.85rem;
    color: #333;
}

.cabval-divisas-body .row span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================
   FUENTE / FECHA
   ============================ */
.cabval-divisas-body .date {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #777;
    text-align: center;
}

/* ---------------------------------------------------------
   CABVAL Divisas – Tabla de Historial (120 días)
   --------------------------------------------------------- */

.divisas-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.divisas-history-table thead {
    background: #f5f5f5;
}

.divisas-history-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #dcdcdc;
}

.divisas-history-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #efefef;
    color: #444;
}

.divisas-history-table tr:nth-child(even) {
    background: #fafafa;
}

.divisas-history-table tr:hover {
    background: #f0f7ff;
}

#divisas-history p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.divisas-filter-toolbar {
    margin-top: 10px;
}

.divisas-chart-placeholder {
    margin-top: 10px;
}

/* Mobile */
@media (max-width: 600px) { 

	.divisas-history-table,
    .divisas-filter-toolbar {
		display: none;
	}

}