
/* Geral */
body {
    background: #EDF6FD;
    margin: 0;
    height: 100vh;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    color: #352F36;
    /* font-family: Arial, Helvetica, sans-serif; */
    display: flex;
    flex-direction: column;
}
.centralize {
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading {
    position: fixed;
    font-size: 2.5rem;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 100%;
    height: 100%;
}

/* Formulário */

form {
    width: 300px;
}
.form-field {
    margin-top: 20px;
}

img {
    display: flex;
    width: 90%;
    margin: auto;
    transform-origin: center;
    transition: width 0.3s ease;
}
img:hover {
    width: 100%;
}

.bem-vindo {
    text-align: center;
    font-size: 2rem;
    color:rgb(12, 116, 185);
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
    width: -webkit-fill-available;
}

.titulo {
    font-size: 1rem;
    margin-left: 10px;
}
.redefinir-senha {
    display: flex;
    justify-content: right;
    margin-top: 5px;
    font-size: 0.8rem;
    cursor: pointer;
}
.modo-visitante {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    user-select: none;
}
.error {
    color: red;
    display: none;
}

input {
    padding: 10px;
    margin-top: 5px;
    width: -webkit-fill-available;
    border-radius: 8px;
    border-style: solid;
    border-width: 0px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
button {
    border-radius: 8px;
    background-color:rgb(12, 116, 185);
    color: rgb(255, 255, 255);
    font-size: 1rem;
    margin-top: 25px;
    padding: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: -webkit-fill-available;
    opacity: 1;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
button:hover {
    opacity: 0.8;
}
button[disabled] {
    opacity: 0.7;
}



/* Menu acordeão */
summary {
    box-sizing: border-box;
    padding: 16px;
    color:rgb(12, 116, 185);
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    border-bottom: 2px solid #3498db;
    transition: background-color 0.3s ease;
}
summary:hover {
    background-color: #9FD5F9;
}

/* Animação de abertura e fechamento do conteúdo */
details {
    interpolate-size: allow-keywords;
    overflow: hidden;
    background-color: #fff;
    margin: 50px 0;
    border-radius: 8px;
    width: -webkit-fill-available;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    &::details-content {
        transition:
        height 1s,
        content-visibility 1s allow-discrete;
        overflow: hidden;
        height: 0;
    }
    
    &[open]::details-content {
        height: auto;  /* Or also:  height:auto; */
    }
}
details p {
    padding: 16px;
    margin: 0;
    background-color: white;
    font-size: 16px;
    line-height: 1.6;
    opacity: 1;
    overflow: hidden;
    transition: opacity 0.3s ease;
}






/* Menu acordeão */
/* summary {
    box-sizing: border-box;
    padding: 15px;
    color:rgb(12, 116, 185);
    border-color:rgb(12, 116, 185);
    border-radius: 8px;
    border-width: 0px;
    border-style: solid;
    background-color: white;
    min-width: 300px;
    max-width: 500px;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    transition: width 0.3s ease, background-color 0.3s ease;
}
summary:hover {
    background-color: #9FD5F9;
} */
/* Animação de abertura e fechamento do conteúdo */
/* details {
    min-width: 300px;
    max-width: 500px;
    margin: 50px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
details[open] summary {
    border-bottom: 2px solid #3498db;
    width: -webkit-fill-available;
}
details p {
    padding: 15px;
    margin: 0;
    background-color: white;
    font-size: 16px;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
details[open] p {
    max-height: 500px; /* Valor alto o suficiente para mostrar o conteúdo */
/*    opacity: 1;
} 
*/







