/* ===== BOTÕES PERSONALIZADOS NO TOPO DO MENU LATERAL ===== */

.custom-menu-buttons-container {
  /*  padding: 15px 12px;*/
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.custom-menu-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 3px;
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.custom-menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

.custom-menu-button:active {
    transform: translateY(0);
}

.custom-button-title {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 3px;
    width: 100%;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.custom-menu-buttons-container .custom-menu-button .button-icon {
    font-size: 24px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 2;
    flex-shrink: 0;
}

.custom-menu-buttons-container .custom-menu-button .button-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1;
    flex: 1;
    text-align: left;
}

/* Garantir que os ícones do menu normal não sejam afetados */
.eng-links-nav .icon-16,
.eng-sublinks-nav .menu-item .icon-16,
.eng-sublinks-nav .menu-topico-header .icon-16 {
    font-size: 16px !important;
}

.eng-links-nav img,
.eng-sublinks-nav .menu-item img {
    width: 20px !important;
    height: 20px !important;
}

/* Efeito de brilho ao passar o mouse (opcional) */
.custom-menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.custom-menu-button:hover::before {
    left: 100%;
}

/* Animação de entrada */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.custom-button-wrapper {
    animation: slideInFromLeft 0.4s ease-out;
}

/* Delay progressivo para cada botão */
.custom-button-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.custom-button-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.custom-button-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.custom-button-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.custom-button-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsivo */
@media (max-width: 768px) {
    .custom-menu-buttons-container {
        padding: 12px 10px;
        gap: 10px;
    }
    
    .custom-menu-button {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .custom-menu-button .button-icon {
        font-size: 16px;
    }
}

/* ===== TEMA 2 - EFEITOS ADICIONAIS PARA BOTÕES ===== */
body.theme-2 .custom-menu-button {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.theme-2 .custom-menu-button:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

body.theme-2 .custom-button-title {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

