/* Estilos específicos para la calculadora financiera */
#graficoInversion {
    width: 100% !important;
    height: 300px !important;
}

.table-row:nth-child(even) {
    background-color: #f9fafb;
}

.table-row:hover {
    background-color: #f3f4f6;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos para la tabla de detalles */
#tablaDetalles {
    border-collapse: separate;
    border-spacing: 0;
}

#tablaDetalles th {
    position: sticky;
    top: 0;
    background-color: #f3f4f6;
}

#tablaDetalles th, #tablaDetalles td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

#tablaDetalles tr:last-child td {
    border-bottom: none;
}