/* ============================================================
   🌌 SoulfulSync Ecosystem — MentorSync Header Button (Mobile)
   Estilos exclusivos del botón 🤖 en el header móvil.
   Compatible con Tema Claro / Tema Oscuro.
============================================================ */

/* Contenedor del botón en .ssx-mobile-actions */
.ssx-mentor-button {
    border: none;
    background: transparent;
    padding: 0;
    margin-right: 0.55rem;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .18s ease, opacity .18s ease;
}

/* Avatar circular estilo SoulfulSync */
.ssx-mentor-avatar {
    width: 38px;
    height: 38px;

    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #ffffff;

    background: linear-gradient(135deg, #7c3aed, #ec4899);

    box-shadow:
        0 0 14px rgba(124, 58, 237, .55),
        0 0 20px rgba(236, 72, 153, .55),
        0 3px 8px rgba(0, 0, 0, 0.35);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        filter .22s ease;
}

/* Hover */
.ssx-mentor-button:hover .ssx-mentor-avatar {
    transform: scale(1.08);
    box-shadow:
        0 0 20px rgba(124, 58, 237, .75),
        0 0 26px rgba(236, 72, 153, .75),
        0 4px 14px rgba(0, 0, 0, 0.45);
}

/* Active (click) */
.ssx-mentor-button:active .ssx-mentor-avatar {
    transform: scale(0.92);
    box-shadow:
        0 0 10px rgba(124, 58, 237, .45),
        0 0 14px rgba(236, 72, 153, .45);
}

/* ============================================
   THEME LIGHT MODE (html.light)
============================================ */

html.light .ssx-mentor-avatar {
    color: #ffffff;

    background: linear-gradient(135deg, #8b5cf6, #f472b6);
    box-shadow:
        0 0 12px rgba(139, 92, 246, 0.45),
        0 0 20px rgba(244, 114, 182, 0.45),
        0 3px 7px rgba(0, 0, 0, 0.25);
}

html.light .ssx-mentor-button:hover .ssx-mentor-avatar {
    box-shadow:
        0 0 18px rgba(139, 92, 246, 0.65),
        0 0 28px rgba(244, 114, 182, 0.65);
}

/* ============================================
   RESPONSIVE — solo afecta a MOBILE TOPBAR
============================================ */

@media (min-width: 769px) {
    /* En desktop no mostramos el botón aquí */
    .ssx-mentor-button {
        display: none !important;
    }
}
