body {
    font-family: Arial, sans-serif;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: rgba(24, 24, 24, 0.65); /* Transparente */
    padding: 10px;
    text-align: center;
}

.container {
    display: flex;
    flex: 1;
}

.sidebar, .rightbar {
    position: sticky;
    top: 0; /* Distância do topo onde a barra vai "grudar" */
    height: 100vh; /* Altura igual à viewport */
    overflow-y: auto; /* Permite rolagem se o conteúdo for muito longo */
    
    width: 200px;
    background-color: rgba(28, 28, 28, 0.85); /* Transparente */
    padding: 15px;
    box-sizing: border-box;
    backdrop-filter: blur(4px); /* Efeito de desfoque suave */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil */
}

/*.sidebar {*/
/*    position: sticky;*/
   /*   top: 0; /* Distância do topo onde a barra vai "grudar" */
   /*   height: 100vh; /* Altura igual à viewport */
   /*   overflow-y: auto;Permite rolagem se o conteúdo for muito longo */
    
    /* Mantenha o resto do seu CSS atual */
/*    width: 200px;*/
/*    background-color: rgba(28, 28, 28, 0.85);*/
/*    padding: 15px;*/
/*    box-sizing: border-box;*/
/*    backdrop-filter: blur(4px);*/
/*    border: 1px solid rgba(255, 255, 255, 0.1);*/
/*}*/


.sidebar a {
    display: block;
    color: #90ee90;
    margin: 10px 0;
    text-decoration: none;
}

.content {
    flex: 1;
    padding: 20px;
    background-color: rgba(24, 24, 24, 0.65); /* Transparente */
    /*box-sizing: border-box;*/
    /*border: 1px solid rgba(255, 255, 255, 0.05);*/
    /*border-left: none;*/
    /*border-right: none;*/
    display: flex;
    justify-content: center;
    align-items: flex-start; /* se quiser alinhar vertical ao centro, use center */
}

.centered-content {
    width: 100%;
    max-width: 900px;
}


footer {
    background-color: rgba(24, 24, 24, 0.65); /* Transparente */
    text-align: center;
    padding: 10px;
}


.sidebar a {
    display: block;
    margin: 10px auto;
    text-align: center;
}

.sidebar img {
    width: 100%; /* ou defina tamanho fixo como 120px */
    max-width: 160px;
    transition: transform 0.2s ease;
    border-radius: 10px;
}

.sidebar img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}


.rightbar {
    width: 200px;
    background-color: rgba(28, 28, 28, 0.85);
    padding: 15px;
    box-sizing: border-box;
    color: #fff;
}

.ranking-box {
    text-align: center;
}

.ranking-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #90ee90;
}

.ranking-box button {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2e8b57;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ranking-box button:hover {
    background-color: #3cb371;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 10px;
    text-align: center;
}

.table thead {
    background-color: rgba(0,0,0,0.7);
    color: #90ee90;
}

.table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-item.active .page-link {
    background-color: #2e8b57;
    border-color: #2e8b57;
    color: white;
}

.laranja, .laranja * {
    color: #FFA500 !important;
}

/* Estilo para a imagem do botão Home (mantendo o estilo atual) */
.sidebar .home-image {
    width: 100%;
    max-width: 160px;
    transition: transform 0.2s ease;
    border-radius: 10px;
    display: block;
    margin: 10px auto;
}

.sidebar .home-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Estilo para os novos botões CSS */
.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 139, 87, 0.7);
    color: white;
    text-decoration: none;
    padding: 12px 10px;
    margin: 12px auto;
    border-radius: 10px;
    width: 80%;
    max-width: 160px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    filter: brightness(1.2);
}

.menu-btn .icon {
    font-size: 14px;
    margin-bottom: 2px;
}

.menu-btn .text {
    font-size: 14px;
    font-weight: bold;
}

/* Cores individuais para cada botão */
.dashboard-btn {
    background-color: rgba(70, 130, 180, 1); /* Azul */
}

.tutorial-btn {
  /*   background-color: rgba(46, 139, 87, 0.7); Verde */
    background-color: rgba(70, 130, 180, 1); /* Azul */
}

.deposit-btn {
   /*  background-color: rgba(218, 165, 32, 0.7); Dourado */
    background-color: rgba(70, 130, 180, 1); /* Azul */
}

.download-btn {
  /*   background-color: rgba(46, 139, 87, 0.7); Verde */
    background-color: rgba(70, 130, 180, 1); /* Azul */
}



/* Efeito hover específico para o Tutorial */
/* Animação de pulsar - Defina uma vez e reutilize */
@keyframes pulse {
    from {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    to {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

/* Efeito hover para todos os botões do menu */
.menu-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    animation: pulse 1.5s infinite;
    background-color: rgba(70, 130, 180, 0.9); /* Azul mais intenso ao passar mouse */
}
