@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;600&display=swap');

.imagem-banco {
    width: 300px;
    max-width: 250px;
    max-height: 200px;
    margin: 0 auto;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: -20px 0 50px;
    transition: 580ms ease-in;
}

body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(164deg, rgba(139, 0, 0, 50) 24%, rgba(139, 0, 0, 0) 91%);
    clip-path: circle(30% at right 70%);
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(164deg, rgba(139, 0, 0.5) 24%, rgba(139, 0, 1) 91%);
    clip-path: circle(20% at 10% 10%);
    transition: opacity 0.5s ease-in-out;
}

body.dark-mode::after {
    opacity: 0;
    pointer-events: none;
}

body.dark-mode {
    background-color: #001017 !important;
}

h2 {
    font-weight: bold;
    margin: 0;
}

.tituloInform {
    font-size: 20px;
}

.tituloForm {
    color: #820e22;
}

.texto2 {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.texto {
    font-size: 12px;
    color: black;
}

a {
    color: #820e22;
    font-size: 18px;
    text-decoration: none;
    margin: 15px 0;
}

.container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}

.content1 form {
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

form input {
    height: 40px;
    width: 100%;
    border: none;
    background-color: #ecf0f1;
}

input {
    border-radius: 5px;
}

.label-input {
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    margin: 8px;
    border-radius: 10px;
}

.icon-modificado {
    color: #7f8c8d;
    padding: 0 6px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ecf0f1 inset !important;
    -webkit-text-fill-color: #000 !important;
}

button {
    border-radius: 20px;
    border: 1px solid white;
    background: #820e22;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 580ms ease-in;
    color: white;
    cursor: pointer;
}

button:hover {
    transition: all 580ms ease-in-out;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #820e22;
    border: rgba(255, 255, 255, 0.1);
}

button:active {
    transform: scale(0.5);
}

button:focus {
    outline: none;
}

.btn2 {
    background: white;
    color: #820e22;
}

.btn2:hover {
    border: 1px solid white;
    background: #820e22;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    color: white;
}

.content1 {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.overlay {
    background: #820e22;
    color: white;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.content2 {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    width: 50%;
    text-align: center;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.contentDir {
    right: 0;
    transform: translateX(0);
}

.contentEsq {
    transform: translateX(-20%);
}

.container.right-panel-active .contentDir {
    transform: translateX(20%);
}

.container.right-panel-active .contentEsq {
    transform: translateX(0%);
}

.container.right-panel-active .sign-in-container {
    transform: translateX(100%);
    opacity: 0;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
    height: 26px;
    width: 56px;
    background-color: #E6E6E6;
    border-radius: 50px;
    position: relative;
    top: 10px;
    right: 10px;
    box-shadow: 0 3px 10px rgba(12, 1, 1, 0.73);
    cursor: pointer;
}

.ball {
    background-color: #E6E6E6;
    position: absolute;
    top: 2px;
    border-radius: 50%;
    height: 22px;
    width: 22px;
    transition: transform 0.2s linear;
    box-shadow: inset 2px 0px 6px 1px rgba(0, 0, 0, 0.54);
}

.checkbox:checked+.label .ball {
    transform: translateX(28px);
}

.fa-moon {
    color: #820e22;
}

.fa-sun {
    color: #820e22;
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.login-info {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

/* Adicione estes estilos para as mensagens de recuperação de senha */
.mensagem-recuperacao {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.mensagem-recuperacao.sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensagem-recuperacao.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mensagem-recuperacao.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}