/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modo Claro (padrão) */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px; /* Adiciona espaçamento para o conteúdo */
    transition: background-color 0.3s, color 0.3s;
}

.container {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    transition: background-color 0.3s, color 0.3s;
}

/* Estilo para profile e banner */
.profile, .banner {
    text-align: center;
    margin-bottom: 10px;
}

/* Estilo para a imagem de perfil */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 30%;
    object-fit: cover;
}

/* Estilo para o banner */
.banner-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 10px;
}


.form-group {
    margin-bottom: 15px;
}


/* Estilo para o link da sala e o botão de pesquisa */
.input-container {
    margin-bottom: 15px; /* Adiciona margin-bottom */
    display: flex;
    justify-content: center;
    align-items: center;
}


button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}


button:hover {
    background-color: #0056b3;
}


/* Estilo para os resultados */
.result {
    margin-top: 20px;
    text-align: center;
}

input[type="text"] {
    width: 200px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

input[type="number"] {
    width: 200px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.calc {
    padding: 15px;
}


.calc h1 {
    text-align: center;
    margin-bottom: 5px;
    color: #007bff;
}


.calc h3 {
    text-align: center;
    margin-bottom: 10px;
}


/* Estilo para a tabela */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: #fff;
}

input.miner-data {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Estilo para a tabela do formulário sem bordas */
.form-table {
    width: 100%;
    border: 0px solid #333;
    border-collapse: collapse;
    margin-bottom: 20px; /* Espaço inferior para separar da próxima seção */
}

.form-table td {
    padding: 10px;
    vertical-align: middle;
}


.form-table label {
    display: block;
    font-weight: bold;
}

.form-table input[type="text"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd; /* Mantém a borda dos inputs visível */
    border-radius: 5px;
    background-color: #f9f9f9;
}

.form-table input[type="number"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd; /* Mantém a borda dos inputs visível */
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Estilo adicional para a linha de cabeçalho */
.form-table th {
    text-align: center;
    background-color: #007bff;
    color: #fff;
    font-weight: bold
    padding: 10px;
    vertical-align: middle;
}


/* Modo Escuro */
body.dark-mode {
    background-color: #1e1e1e;
    color: #ddd;
}


body.dark-mode .container {
    background: #333333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


body.dark-mode button {
    background-color: #0056b3;
}

body.dark-mode button:hover {
    background-color: #003d80;
}


body.dark-mode .calc h1 {
    color: #007BFF;
}


body.dark-mode .calc h3 {
    color: #ddd;
}

body.dark-mode table {
    border-color: #555;
}

body.dark-mode th {
    background-color: #0056b3;
}

body.dark-mode .form-table td {
    border: 0px solid #333;
}

/* Estilo para o toggle switch */
.switch {
    display: block;
    margin: 20px auto; /* Centraliza o switch horizontalmente e adiciona margem */
    width: 60px;
    height: 34px;
    position: relative; /* Removido para centralização */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #fff;
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #000;
}

        /* Adicione o estilo para garantir que os radio buttons estejam centralizados e em linha */
.radio-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
.radio-buttons label {
    margin: 0 10px;
}


/* Estilo para referências e email */
.ref, .email {
    margin-top: 20px;
    text-align: center;
}

.email h4 {
    margin-top: 10px;
}

.email a {
    color: #007bff;
    text-decoration: none;
}

.email a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .profile-pic {
        width: 80px;
        height: 80px;
    }

    .banner-img {
        max-width: 100%;
    }

    input[type="number"], button {
        width: 100%;
        font-size: 12px;
    }

    table {
        font-size: 10px;
        overflow-x: auto; /* Permite rolagem horizontal se necessário */
    }
