/* ====================================================== */
/* BOTÓN FLOTANTE COMPARTIR - 90 RADIO & 90 LOCAL        */
/* ====================================================== */

/* === CONTENEDOR PRINCIPAL === */
.fb-container {
    position: fixed;
    bottom: 80px;             /* ← Pegado al footer (barra inferior) */
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* === BOTÓN PRINCIPAL (redondo) === */
.fb-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E27147 0%, #c55a2e 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(226, 113, 71, 0.5);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.fb-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(226, 113, 71, 0.7);
}

.fb-main-btn:active {
    transform: scale(0.92);
}

.fb-main-btn i {
    font-size: 26px;
    color: #ffffff;
}

/* === OPCIONES DESPLEGABLES === */
.fb-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: bottom right;
}

.fb-options.fb-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* === CADA OPCIÓN === */
.fb-option {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 20px 12px 16px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    min-width: 160px;
    justify-content: flex-start;
    cursor: pointer;
    border: none;
}

.fb-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.fb-option:active {
    transform: scale(0.96);
}

/* Icono de cada opción */
.fb-option .fb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.fb-option .fb-icon-radio {
    background: linear-gradient(135deg, #007887 0%, #004d59 100%);
    color: #ffffff;
}

.fb-option .fb-icon-local {
    background: linear-gradient(135deg, #E27147 0%, #c55a2e 100%);
    color: #ffffff;
}

.fb-option .fb-icon-share {
    background: rgba(255, 255, 255, 0.12);
    color: #4fc3f7;
}

.fb-option .fb-icon-share i {
    font-size: 16px;
    color: #4fc3f7;
}

.fb-option .fb-label {
    flex: 1;
    font-weight: 500;
}

.fb-option .fb-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    transition: all 0.2s;
}

.fb-option .fb-arrow i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.fb-option:hover .fb-arrow {
    color: #ffffff;
    transform: translateX(4px);
}

.fb-option:hover .fb-arrow i {
    color: #ffffff;
}

/* ============================================= */
/* RESPONSIVE - PEGADO AL FOOTER EN TODOS        */
/* ============================================= */

/* Tablets y móviles grandes */
@media (max-width: 768px) {
    .fb-container {
        bottom: 75px;          /* ← Pegado a la barra inferior */
        right: 20px;
    }

    .fb-main-btn {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
    
    .fb-main-btn i {
        font-size: 22px;
    }

    .fb-option {
        padding: 10px 16px 10px 14px;
        font-size: 0.75rem;
        min-width: 130px;
        gap: 12px;
    }

    .fb-option .fb-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .fb-option .fb-icon-share i {
        font-size: 14px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .fb-container {
        bottom: 70px;          /* ← Pegado a la barra inferior */
        right: 16px;
    }

    .fb-main-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .fb-main-btn i {
        font-size: 18px;
    }

    .fb-option {
        padding: 8px 14px 8px 12px;
        font-size: 0.7rem;
        min-width: 110px;
        gap: 10px;
    }

    .fb-option .fb-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .fb-option .fb-icon-share i {
        font-size: 12px;
    }
}

/* Pantallas muy pequeñas (≤360px) */
@media (max-width: 360px) {
    .fb-container {
        bottom: 65px;          /* ← Pegado a la barra inferior */
        right: 12px;
    }

    .fb-main-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .fb-main-btn i {
        font-size: 16px;
    }

    .fb-option {
        padding: 6px 10px 6px 8px;
        font-size: 0.6rem;
        min-width: 90px;
        gap: 8px;
    }

    .fb-option .fb-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .fb-option .fb-icon-share i {
        font-size: 10px;
    }
    
    .fb-option .fb-arrow {
        display: none;  /* Ocultar flecha en pantallas muy pequeñas */
    }
}