@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

body {
    font-family: 'Outfit', sans-serif;
}

/* Estilos para o menu lateral */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #343a40;
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1000; /* Mantém o menu fixo no mobile */
}

a {
    color: #DB6826;
    text-decoration: none;
    font-weight: bold;
}

.texto_justificado {
    text-align: justify;
}

.chat-badge {
    font-size: 0.75rem;
    padding: 3px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.chat-alert-badge {
    background-color: #DB6826;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.link_cor:hover {
    color:#DB6826!important;
}

.beta-badge {
  background-color: #DB6826; /* Laranja Civil Connect */
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left:10px;
}


.menu_consumidor {
    transform: translateX(-250px); /* Por padrão, o menu está visível no desktop */
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #DB6826;
    margin-top: 20px;
}

#sidebar a, .menu_superior a {
    font-weight:normal!important;
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

#sidebar a:hover {
    background-color: #495057;
}

#sidebar a i, .menu_superior a i {
    margin-right: 10px;
}

.sidebar-logo {
    height: 75px; /* Aumentado para 75px */
    background-color: #2c2f33;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para o conteúdo */
#content {
    margin-left: 270px; /* Deixa uma margem na lateral esquerda no desktop */
    margin-right: 20px; /* Margem à direita de 20px */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-top: 20px; /* Adicionado margin-top de 20px no desktop */
}

body {
    background-color: #f5f6fa; /* Fundo cinza bem claro */
}

/* Botão de abrir/fechar o menu (lado direito no mobile) */
.menu-toggle {
    background-color: #343a40;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    right: 15px; /* Botão fixo à direita com margem */
}

.menu-toggle:hover {
    background-color: #495057;
}

/* Tarja escura para o mobile com logo */
.mobile-header {
    background-color: #2c2f33; /* Tarja escura */
    width: 100%;
    padding: 10px 15px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    color: white;
    text-align: left;
}

/* Estilos para o cabeçalho */
header {
    background-color: #343a40;
    color: white;
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}*/

#logo_borda {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

header .user-info {
    display: flex;
    align-items: center;
}

header .user-info span {
    margin-left: 10px;
}

/* Responsividade */
@media (max-width: 992px) {
    .mobile-break {
        display: block;
        margin-top: 4px; /* Ajuste o espaçamento, se necessário */
    }

    #sidebar {
        transform: translateX(-250px); /* Esconde o menu por padrão no mobile */
    }

    #sidebar.active {
        transform: translateX(0); /* Exibe o menu ao clicar no botão */
    }

    #content {
        margin-left: 3%; /* Margens de 3% nas laterais */
        margin-right: 3%;
        margin-top: 90px; /* Margem no topo para não encostar no menu */
        padding: 10px;
        width: 94%; /* Largura de 94% */
    }

    header {
        display: none; /* Esconde o cabeçalho no mobile */
    }

    .mobile-header {
        display: flex; /* Mostra a tarja no mobile */
    }
}

@media (min-width: 1800px) {
    .pag_lista_fornecedores {
        max-width: 1500px!important;
    }
}

.tag_fast {
    background-color:#DB6826;
    color:white;
    border-radius:5px;
    margin-left: 10px; /* Ajuste a margem conforme necessário */
    line-height: 1; /* Alinha verticalmente com o texto */
    vertical-align: middle;
    padding:6px;
    font-size:12px;
    font-weight: normal;
}
