body {
    margin: 0;
    transition: margin-left 0.3s;
}

.sidebar {
    width: 180px;
    height: 100vh;
    background-color: #464646;
    padding: 25px;
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid #000000;
    color: #fff;
    transition: transform 0.3s;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
    margin-top: 48px;
}

.logo img {
    max-width: 100%;
    /* Ajusta o tamanho máximo do logo para não ultrapassar o contêiner */
    height: auto;
    /* Mantém a proporção da imagem */
}

.sidebar a {
    display: block;
    padding: 3px;
    margin-bottom: 5px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.2rem;
}

.sidebar a:hover {
    background-color: #171c22;
    /* Efeito de hover */
}


.sidebar .info-icon {
    margin-left: 7px;
    /* Espaçamento entre o ícone e o texto */
}

.sidebar .toggle-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fff;
    color: #464646;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.content {
    margin-left: 155px;
    padding: 60px;
    transition: margin-left 0.3s;
}

.content.shifted {
    margin-left: 0;
}

.show-sidebar {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #464646;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1000;
    display: none;
}

.show-sidebar.visible {
    display: block;
}

.btn-custom {
    background-color: #A23520 !important;
    color: #ffffff !important;
}

.btn-custom:hover {
    background-color: #464646 !important;
    color: #ffffff !important;
}

.info-container {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    max-width: 100%;
    margin: 20px auto;
}

.info-container p {
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: justify;
}

.alert-container {
    min-height: 20px;
    /* Ajuste conforme necessário */
    margin-top: 5px;
    /* Se você deseja que o container sempre tenha uma altura mínima, adicione esta regra */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Se você quiser garantir que a altura mínima esteja sempre presente */
.container.mt-5 {
    margin-bottom: 30px;
    /* Espaço reservado para o alerta */
}


.efeito-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    /* arredonda os cantos do card */
    overflow: hidden;
    /* garante que a imagem siga o arredondamento do card */
}

.efeito-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.img-3d {
    width: 100%;
    /* Garante que a imagem ocupe toda a largura do card */
    height: auto;
    /* Mantém a proporção original da imagem */
    transition: transform 0.3s ease;
}

.page {
    display: none;
    /* Inicialmente, escondemos todas as páginas */
}

.page.active {
    display: block;
    /* Exibimos apenas a página ativa */
}

.custom-table-container {
    display: flex;
    justify-content: center;
}


.figurinha-list {
    max-height: 150px;
    overflow-y: auto;
    text-align: left;
    /* Garante que o texto fique alinhado à esquerda */
}

.figurinha-item {
    display: flex;
    /* Alinha os elementos dentro do item da figurinha */
    align-items: center;
    /* Alinha verticalmente ao centro */
    margin-bottom: 5px;
    /* Adiciona espaçamento entre as figurinhas */
}

.pacotinho-hover {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pacotinho-hover:hover {
    transform: scale(1.05) rotate(-10deg);
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}