

/* Componente do Menu */
.menu-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.menu-container a:not([href]) {
    color: #000000;
}

.menu-container a:not([href]):hover {
    color: #000000;
}

/* Menu lateral */
.side-menu {
    background: #fff;
    height: 100%;
    overflow: hidden;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    will-change: width;
    transition: all  0.3s ease;
}

/* Estado fechado - apenas barra vertical */
.side-menu.closed {
    width: 85px;
    animation: menuClose 0.3s forwards;
}

/* Estado aberto - menu completo */
.side-menu.open {
    width: 350px;
    padding: 0px 35px 0px 35px;
    animation: menuOpen 0.3s forwards;
}

@keyframes menuOpen {
    from {
        width: 85px;
    }
    
    to {
        width: 350px;
    }
}

@keyframes menuClose {
    from {
        width: 350px;
    }

    to {
        width: 85px;
    }
}

/* Cabeçalho do menu */
.menu-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 33px 0px 16px 0px;
    width: 100%;
}

.menu-header-mobile {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: fit-content;
    cursor: pointer;
}

.logo-icon {
    color: #3498db;
    font-size: 28px;
    flex-shrink: 0;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

/* Itens do menu */
.menu-items {
    flex-grow: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 5px 0px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

.menu-item:hover {
    color: #6523a0 !important;
}

.menu-item-whatsapp {
    display: flex;
    align-items: center;
    border-radius: 100px;
    background-color: #2fd04c;
    padding: 8px;
}


.menu-item-sugestao {
    display: flex;
    align-items: center;
    background-color: #8c2ce1;
    transform: scaleX(-1);
}

.menu-item:hover {
    background-color: #f2eff5;
    border-radius: 40px;
}

.menu-icon {
    font-size: 20px;
    flex-shrink: 0;
    padding: 8px;
    border-radius: 50%;
}

.menu-label {
    white-space: nowrap;
    margin-left: 10px;
    font-weight: 500;
    overflow: hidden;
}

/* Rodapé do menu */
.menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.user-details {
    overflow: hidden;
}

.user-name {
    font-weight: 600;
    white-space: nowrap;
}

.user-role {
    font-size: 0.85rem;
    color: #95a5a6;
    white-space: nowrap;
}

/* Botão de toggle */
.toggle-btn {
    position: absolute;
    top: 25px;
    right: -15px;
    background-color: #3498db;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.4);
    transition: all 0.3s;
    z-index: 20;
}

.toggle-btn:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

/* Conteúdo principal */
.main-content {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    background-color: #f8fafc;
}

.content-header {
    margin-bottom: 30px;
}

.content-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.content-header p {
    color: #7f8c8d;
    line-height: 1.5;
}

.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.controls {
    flex: 1;
    display: flex; flex-direction: column;
    height: calc(100% - 30px); 
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.controls::-webkit-scrollbar {
    display: none;
}

.titulo-header {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    color: #000000;
}

.estabelecimento-perfil-loja {
    width: 60px;
    height: 60px;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    padding: 4px;
    object-fit: cover;
}

.toggle-menu-lateral {
    width: 30px;
    height: 30px;
}

/* Responsividade */
@media (max-width: 768px) {
 
    .side-menu.open {
        width: 100%;
    }
    
    .menu-container {
        flex-direction: column;
        min-height: 500px;
    }
    
    .toggle-btn {
        top: 20px;
        right: 20px;
    }
    
    .app-title h1 {
        font-size: 2rem;
    }
}


@media (min-width: 576px) { /* ... */ }
@media (min-width: 768px) {
    .menu-header-mobile {
        display: none;
    }
}
@media (min-width: 992px) { /* ... */ }
@media (min-width: 1200px) { /* ... */ }
