/* toggler.css - Estilos específicos para o botão toggler */

/* Estilo base do botão toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

/* Estilo do ícone do toggler */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    transition: transform 0.3s ease;
}

/* Efeito hover e focus */
.navbar-toggler:hover,
.navbar-toggler:focus {
    border-color: rgba(255, 255, 255, 0.8);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Animação quando aberto */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* Versão alternativa com ícone personalizado */
/*
.custom-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 20px;
}
.custom-toggler .navbar-toggler-icon::before,
.custom-toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}
.custom-toggler .navbar-toggler-icon::before {
    top: 0;
}
.custom-toggler .navbar-toggler-icon::after {
    bottom: 0;
}
.custom-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}
.custom-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}
*/