body {
    background-color: whitesmoke;
    padding-bottom: 60px; /* Altura aproximada de la navbar */
}

/* Botón flotante "FAB" */
.fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    transform: scale(0.95);
    opacity: 0;
    animation: fadeInFab 0.4s ease forwards 0.2s;
}

.fab:hover {
    background-color: #0b5ed7; /* Un azul más oscuro para el hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

/* Animación al aparecer */
@keyframes fadeInFab {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Estado oculto */
.fab-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.navbar .fab-in-navbar {
    position: absolute;
    top: -28px;          /* lo elevamos por encima de la barra */
    left: 50%;
    transform: translateX(-50%);
    width: 56px;         /* tamaño estándar FAB */
    height: 56px;
    border-radius: 50%;
    padding: 0;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}



