﻿.contendor-reporte {
    display: flex;
    gap: 1rem;
    padding: 20px;
    width: 100%;
    height: 100%; /* ✅ ocupa todo el alto disponible */
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

    /* Primera columna: 30% */
    .contendor-reporte .col-30 {
        flex: 0 0 35%;
        display: flex;
        flex-direction: column;
        background-color: var(--neutral-layer-1);
        border-radius: 8px;
        border-color: var(--accent-fill-rest);
        padding: 16px;
        box-shadow: 0 10px 15px -5px color-mix(in srgb, var(--accent-fill-rest) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill-rest) 15%, transparent);
        transition: box-shadow 0.3s ease, transform 0.2s ease;
        color: var(--neutral-foreground-rest);
        max-height: 100vh;
        overflow-y: auto;
        scrollbar-gutter: stable;
    }

    /* Segunda columna: 70% */
    .contendor-reporte .col-70 {
        flex: 65%;
        display: flex;
        flex-direction: column;
        align-content: center;
        border-radius: 8px;
        padding: 15px;
        width: 100%;
        min-height: 400px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        color: var(--neutral-foreground-rest);
    }


.tabla-header-reporte {
    margin-bottom: 0px;
    border: none;
    background-color: linear-gradient(135deg, color-mix(in srgb, var(--accent-fill-rest) 100%, #6a5acd 15%) 0%, color-mix(in srgb, var(--accent-fill-rest) 85%, #00c6ff 15%) 100%);
    color: var(--neutral-foreground-rest);
    border-radius: 4px;
    margin: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 10px 15px -5px color-mix(in srgb, var(--accent-fill-rest) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill-rest) 15%, transparent);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

    .tabla-header-reporte h3 {
        margin: 0;
        color: var(--neutral-foreground-rest);
        font-size: 14px;
        font-weight: 500;
        line-height: 1.1;
    }

.tarjeta-informativa {
    background-color: var(--neutral-layer-2);
    color: var(--neutral-foreground-rest);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 10px 15px -5px color-mix(in srgb, var(--accent-fill-rest) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill-rest) 15%, transparent);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    position: relative;
    transition: transform 0.2s ease;
}

    /* Animación al pasar el cursor */
    .tarjeta-informativa:hover {
        transform: translateY(-3px); /* Animación sutil al hacer hover */
    }

/* Contenedor para el valor y el ícono */
.tarjeta-header {
    display: flex;
    justify-content: space-between; /* Alinea el valor y el ícono a los extremos */
    align-items: center; /* Alinea verticalmente */
}

/* Valor numérico destacado */
.tarjeta-valor {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600; /* Semibold */
    color: var(--accent-fill-rest);
}

/* Ícono al lado del valor numérico */
.tarjeta-icono {
    font-size: 1.5rem;
    color: var(--accent-fill-rest); /* O el color que prefieras */
    opacity: 0.8;
    margin-left: 10px; /* Espacio entre el valor y el ícono */
    transition: opacity 0.2s ease;
}

/* Efecto de hover en la tarjeta */
.tarjeta-informativa:hover .tarjeta-icono {
    opacity: 1; /* El ícono se hace más visible al hacer hover */
}

/* Texto descriptivo */
.tarjeta-texto {
    font-size: 1rem;
    font-weight: 400;
    color: var(--neutral-foreground-hint);
}

/* Espacio adicional para otro elemento */
.extra-element {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--neutral-foreground-rest);
}


/* Responsive opcional */
@media (max-width: 768px) {
    .contendor-reporte {
        flex-direction: column;
    }

        .contendor-reporte .col-30,
        .contendor-reporte .col-70 {
            flex: 0 0 100%;
        }
}
