/*!
 * Widget Acessível da UNISC - Estilos CSS (v1.7 - Color Contrast Restore)
 * Centralizado em: acadnet/moduloApesc/css/uniscAcessivel.css
 */

/* ==========================================================================
   WIDGET BUTTONS (Floating Icons)
   ========================================================================== */

/* Garantir que todos os botões flutuantes sejam círculos perfeitos */
.asw-menu-btns .botao,
.asw-menu-btns .asw-menu-btn,
.asw-container .asw-menu-btn,
#vBotao,
#cBotao,
[title="Menu de acessibilidade"],
[title="Recursos assistivos"] {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    flex: 0 0 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s ease !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

/* 
   RESTAURANDO CORES DO ÍCONE DE ACESSIBILIDADE (Homem Vitruviano)
   Original: Contornos pretos (#333) e articulações ciano (#49c8f5)
*/
[title="Menu de acessibilidade"] svg {
    width: 60px !important;
    /* Tamanho proporcional ao container */
}

/* Contornos do boneco */
[title="Menu de acessibilidade"] svg path:not(.cls-1) {
    fill: #333333 !important;
}

/* Cabeça e articulações (pontos ciano) */
[title="Menu de acessibilidade"] svg .cls-1 {
    fill: #49c8f5 !important;
}

/* 
   ÍCONE DE LIBRAS (Mãos) 
*/
[title="Recursos assistivos"] svg,
#vBotao svg {
    width: 44px !important;
    height: 44px !important;
    margin: auto !important;
    display: block !important;
}

/* Geralmente o Libras usa caminhos com .cls-3 ou sem classe, vamos garantir o Azul UNISC */
[title="Recursos assistivos"] svg path {
    fill: #0047bb !important;
}

/* ÍCONE DE CONFIGURAÇÕES (Engrenagem) */
#cBotao svg {
    width: 36px !important;
    height: 36px !important;
}

#cBotao svg path {
    fill: #0047bb !important;
}

/* Hover */
.asw-menu-btns .botao:hover,
.asw-menu-btns .asw-menu-btn:hover {
    transform: scale(1.1) !important;
    background-color: #f8f9fa !important;
}

/* ==========================================================================
   MENU PANEL (.asw-menu)
   ========================================================================== */
.asw-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 450px !important;
    max-width: 100vw !important;
    height: 100vh !important;
    background: #f8f9fb !important;
    z-index: 999999 !important;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
}

.asw-menu * {
    box-sizing: border-box !important;
}

.asw-menu-header {
    background: #0848ca !important;
    color: #fff !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
}

.asw-menu-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* Grid Interno (Garantindo que os cards não esmaguem) */
.asw-items {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 10px 15px !important;
    gap: 10px !important;
}

.asw-menu .asw-btn {
    flex: 0 0 calc(33.33% - 10px) !important;
    width: calc(33.33% - 10px) !important;
    height: 115px !important;
    background: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px !important;
}

.asw-menu .asw-btn .asw-translate {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #333 !important;
    text-align: center !important;
}