/*comun*/

header .tarjetas-container {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 10px;
    width: calc(100% - 32px);
}


header .tarjetas-container > div {
    flex: 1; 
}

/*temporal*/


#tarjetaTemporal {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
}



header .tarjeta {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    background-color: white;
    margin: 0px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 60px; 
}

header .tarjeta:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


header #infoFija {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}


header #infoFija h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    white-space: nowrap;
}


header #muestra {
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

header #muestra:hover {
    transform: scale(1.1);
}


header .tarjeta button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

header .tarjeta button:hover {
    background-color: #e0e0e0;
}


header #infoDesplegable {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-grow: 1;
    height: 100%; 
}


header .column1, 
header .column2, 
header .column3 {
    font-size: 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column; 
    gap: 12px;
}

header .column1 p, 
header .column2 p, 
header .column3 p{
    display: flex;
    flex-direction: column;
}

header #infoDesplegable {
    display: flex;
    gap: 10px;
    align-items: center; 
    flex-grow: 1;
    height: 100%;
}

header #infoDesplegable p {
    margin: 0;
    color: #666;
    white-space: nowrap;
    font-size: 0.8rem;
}


header #tarjetaColor {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tarjeta-update {
    animation: highlightUpdate 2s ease;
}

@keyframes highlightUpdate {
    0% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
    }
    25% {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
        background-color: rgba(248, 249, 250, 0.9);
    }
    75% {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
        background-color: rgba(248, 249, 250, 0.9);
    }
    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
        background-color: white;
    }
}