/* Arquivo: assets/css/menu-animado.css (Final e Completo) */

/* --- 1. ESTILOS BASE (MOBILE FIRST): LISTA DE BARRAS VERTICAIS --- */
.menu-button {
    background-color: #2C3E50;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 80px;
    color: white;
    flex-direction: row;
    justify-content: flex-start;
}

.menu-button:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.menu-button .icon-butons {
    max-height: 35px;
    width: auto;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.menu-button .icon-name {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.3;
    flex-grow: 1;
    text-align: center;
    margin-right: 55px;
    margin-top: 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

/* --- 2. AJUSTES PARA TABLETS (min-width: 768px): GRADE COM QUEBRA DE LINHA --- */
@media (min-width: 768px) {
    .menu-button {
        flex-direction: column;
        justify-content: center;
        padding: 15px 10px;
        height: 150px;
    }

    .menu-button .icon-butons {
        max-height: 55px;
        margin-right: 0;
    }

    .menu-button .icon-name {
        flex-grow: 0;
        margin-right: 0;
        margin-top: 15px;
        font-size: 0.9rem;
    }

    .menu-button:hover {
        transform: translateY(-8px);
    }
}

/* --- 3. AJUSTES PARA DESKTOPS (min-width: 992px): LINHA ÚNICA SEM QUEBRA --- */
@media (min-width: 992px) {
    .butom-grid-in {
        flex-wrap: nowrap;
    }

    .butom-grid-in .col {
        flex: 1 1 0;
        min-width: 0;
    }

    .menu-button {
        height: 160px;
        padding: 15px 5px;
    }

    .menu-button .icon-butons {
        max-height: 65px;
    }

    .menu-button .icon-name {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-top: 12px;
    }
}

/* --- 4. ETIQUETA DE AMBIENTE (LOCALHOST/HOMOLOG) --- */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#environment-tag {
    margin-left: 15px;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-family: monospace;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    flex-shrink: 0;
}

#environment-tag.local {
    background-color: #007bff;
    /* Azul */
}

#environment-tag.homologation {
    background-color: #ffc107;
    /* Amarelo */
    color: #212529;
}