

/* Estilo do toggle */

 .container-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2em;
    padding: 10px;
 }
 
.switch {
 position: relative;
 display: inline-block;
 width: 60px;
 height: 30px;
}

.switch input {
 display: none;
}

.slider {
 position: absolute;
 cursor: pointer;
 top: 0; left: 0; right: 0; bottom: 0;
 background: linear-gradient(to right, #777, #999);
 transition: 0.4s;
 border-radius: 34px;
 box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.slider:before {
 position: absolute;
 content: "";
 height: 22px; width: 22px;
 left: 4px; bottom: 4px;
 background-color: white;
 transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
 border-radius: 50%;
 box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

input:checked + .slider {
 background: linear-gradient(to right, #ffeb3b, #fbc02d);
}

input:checked + .slider:before {
 transform: translateX(30px);
}

/* Tema escuro */
body.dark {
 background-color: #121212;
 color: #f0f0f0;
}

/* Ajustes na tabela para o modo escuro */
body.dark .tabela-pontuacao {
    background-color: rgba(255, 255, 255, 0.1); /* Fundo mais claro e suave */
    border-color: #ffeb3b;
}

body.dark .tabela-pontuacao td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .tabela-pontuacao th:first-child, 
body.dark .tabela-pontuacao td:first-child {
    border-right: 2px solid rgba(255, 255, 255, 0.15);
}

/* Accordion mais claro no modo escuro */
body.dark .accordion {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #f0f0f0;
}

body.dark .accordion-header {
    color: #fff;
}

body.dark .accordion-content p {
    color: #e0e0e0;
}