
        /* Estilos de la notificación */
        .notificacion {
            position: fixed;
            z-index: 1000;
            color: #ffffff;
            padding: 16px 24px;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            display: none;
            max-width: 320px;
            width: 100%;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        /* Estilos específicos para 'invested' */
        .notificacion.invertido {
            background: linear-gradient(135deg, #15803d, #22c55e);
        }

        /* Estilos específicos para 'withdrew' */
        .notificacion.retirado {
            background: linear-gradient(135deg, #1e3a8a, #3b82f6);
        }

        .notificacion.cerrar {
            animation: deslizarSalida 0.5s ease-in forwards;
        }

        .notificacion__contenido {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .notificacion__icono {
            font-size: 24px;
            color: #ffd700;
        }

        .notificacion__texto {
            font-size: 14px;
            line-height: 1.5;
        }

        .notificacion__texto b {
            color: #ffd700;
            font-weight: 700;
        }

        .notificacion__texto strong {
            color: #ffffff;
            font-weight: 700;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .notificacion__texto strong:hover {
            color: #ffd700;
            cursor: pointer;
        }

        /* Animaciones para entrada según posición */
        .notificacion.top-left,
        .notificacion.bottom-left {
            animation: deslizarEntradaIzquierda 0.5s ease-out forwards;
        }

        .notificacion.top-right,
        .notificacion.bottom-right {
            animation: deslizarEntradaDerecha 0.5s ease-out forwards;
        }

        .notificacion.cerrar.top-left,
        .notificacion.cerrar.bottom-left {
            animation: deslizarSalidaIzquierda 0.5s ease-in forwards;
        }

        .notificacion.cerrar.top-right,
        .notificacion.cerrar.bottom-right {
            animation: deslizarSalidaDerecha 0.5s ease-in forwards;
        }

        @keyframes deslizarEntradaIzquierda {
            from {
                transform: translateX(-100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes deslizarEntradaDerecha {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes deslizarSalidaIzquierda {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(-100%);
                opacity: 0;
            }
        }

        @keyframes deslizarSalidaDerecha {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* Estilo para pantallas pequeñas */
        @media (max-width: 768px) {
            .notificacion {
                max-width: 280px;
                padding: 12px 16px;
            }

            .notificacion__texto {
                font-size: 13px;
            }

            .notificacion__icono {
                font-size: 20px;
            }
        }
        
        /* Section Styles */
.sezione-transazioni {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

/* Add this to your existing CSS */
.tempo {
    white-space: pre-line;
    line-height: 1.5;
    color: #333333;
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.intestazione-sezione {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.titolo-principale {
    color: #1d2652;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sottolineatura {
    width: 80px;
    height: 4px;
    background: #4a90e2;
    margin: 0 auto;
}

.tempo {
    color: #333333;
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Card Styles */
.contenitore-transazioni {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.carta-transazione {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.carta-transazione:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.intestazione-carta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(45deg, #1d2652, #4a90e2);
    color: white;
}

.intestazione-carta h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
    color: #fff;
}

.icona-carta {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

/* Table Styles */
.tabella-reattiva {
    overflow-x: auto;
    padding: 1rem;
}

.tabella-transazioni {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1rem;
}

.tabella-transazioni th,
.tabella-transazioni td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tabella-transazioni th {
    background-color: rgba(74, 144, 226, 0.1);
    color: #1d2652;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tabella-transazioni tr {
    transition: background-color 0.3s ease;
}

.tabella-transazioni tbody tr:hover {
    background-color: rgba(74, 144, 226, 0.05);
}

.icona-valuta svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.icona-valuta:hover svg {
    transform: scale(1.2);
}

/* Amount Styling */
.importo-guadagno,
.importo-prelievo {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.importo-guadagno {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.importo-prelievo {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Transaction ID Styling */
.codice-transazione {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #1d2652;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contenitore-transazioni {
        grid-template-columns: 1fr;
    }

    .titolo-principale {
        font-size: 2rem;
    }

    .intestazione-carta h3 {
        font-size: 1.25rem;
    }

    .tabella-transazioni th,
    .tabella-transazioni td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .tempo {
        font-size: 0.8rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
        
        
    