* {
    margin: 0;
    padding: 0;
}

body {
    width: 100vw;
    height: 100vh; 
    overflow: hidden; 
}

a {
    color: #000;
}

.body-main {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(190, 208, 207, 0.95),rgba(190, 208, 207, 0.95)), url('../img/back_login.png');
    background-size: cover;
    background-position: center;

}

.main-horizontal {
    width: 100%;
    height: 100%;
}

.horizontal-1 {
    width: 100%;
    height: 37%;
    text-align: center;
}

/* Ajuste para telas maiores 
nav {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 90px;
    padding-right: 90px;
    box-sizing: border-box;
  }*/
  
  /* Ajuste para dispositivos móveis (telas menores que 768px) */
  @media (max-width: 768px) {
    nav {
      padding-left: 20px; 
      padding-right: 20px; 
    }
  }
  
  /* Ajuste para dispositivos muito pequenos (telas menores que 480px) */
  @media (max-width: 480px) {
    nav {
      padding-left: 10px; 
      padding-right: 10px;
    }
  }
  

/* == LINHA HORIZONTAL CENTRAL == */
.horizontal-2 {
    width: 100%;
    height: 26%;
    background: linear-gradient(to left, #00995D, #000);
    display: flex;
    justify-content: center;
    align-items: center;
}

.horizontal-2-itens {
    width: 50%;
    height: 100%;
    color: #fff;
    margin: 0 5em;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
}

.horizontal-2-itens-p {
    height: 100%;
    text-align: end;
    align-content: center;
    font-size: 3.5em;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.horizontal-2-itens:last-child {
    width: 40%;
    height: 100%;
    flex-direction: row;
    align-items: center;
}

/* == CONTAINER DE LOGIN == */
/* Container principal de login */
.login {
    width: 85%;                            
    max-width: 600px;                      
    height: 90vh;                          
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
    margin: 2em auto;                      
    display: flex;
    flex-direction: column;                
    align-items: center;                   
    justify-content: center;               
    padding: 2em 2em;                      
    box-sizing: border-box;                
}

.logo{
        width: auto; 
        height: 14vh; 
        padding-bottom: 20%;
}

/* Header do login */
.login-header {
    display: flex;                        
    justify-content: center;              
    align-items: center;                 
    width: 100%;
    margin-bottom: 1.5em;                 
}

.login-header {
    width: 250px;                         
    height: auto;                         
    margin-top: -100px;
}

/* Formulário de login */
.login-form {
    width: 100%;                         
    height: auto;                        
    display: flex;
    flex-direction: column;               
    justify-content: space-around;
    align-items: center;                 
}

.login-form-div {
    width: 80%;
    margin-bottom: 1.5rem;                 
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.input {
    width: 100%;
    max-width: 248px;                     /* Limite máximo de largura */
    height: 40px;                         /* Altura fixa para os campos */
    border-radius: 0.5em;
    border: none;
    background-color: #BED0CF;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 1em;
    color: #000;
}

/* Estilo do campo de senha */
.input-senha {
    width: 100%;
    max-width: 248px;                    
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Visibilidade da senha */
.visivel {
    color: #00995D;
    font-size: 1em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Container do reCAPTCHA */
.div-recaptcha {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo do reCAPTCHA */
.g-recaptcha {
    width: 50%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Botão de login */
.btn2 {
    width: 60%;
    max-width: 400px;                   
    height: 50px;
    border-radius: 0.5em;
    border: none;
    background-color: #00995D;
    color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 1.2em;
    margin-top: 1.5rem;                    
    cursor: pointer;
}

.btn2:hover {
    background-color: #B1D34B;
}

/* Rodapé */
.footer-login {
    width: 100%;
    height: auto;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;              /* Centraliza verticalmente */
    align-items: center;                  /* Centraliza horizontalmente */
    text-align: center;                   /* Centraliza o texto */
    padding: 1.5em 0;
}

.footer-login-p {
    width: 100%;
    font-size: 1em;
    text-align: center;
}

/* == IMAGEM DOS MEDICOS == */
.horizontal-1:last-child {
    display: flex;
    justify-content: end;
    align-items: end;
}

.horizontal-1 img {
    height: 100%;
}

/* == RESPONSIVIDADE == */
@media (min-width:1000px) and (max-width:1200px) {
    .horizontal-2-itens {
        margin: 0 3em;
    }

    .horizontal-2-itens-p {
        font-size: 3.2em;
    }

    .login {
        width: 100%;
    }

    .login-header {
        height: 10%;
        margin-top: 1em;
    }

    .footer-login {
        justify-content: start;
    }
}

@media (min-width:770px) and (max-width:999px) {
    .horizontal-2-itens-p {
        font-size: 2.8em;
    }

    .horizontal-2-itens {
        margin: 0 1em;
    }

    .login {
        width: 100%;
    }

    .footer-login {
        padding: 0 0 0 1.5em;
    }

    .horizontal-1 img {
        height: 90%;
    }
}

@media (min-width:481px) and (max-width:769px) {
    .horizontal-2-itens-p {
        font-size: 1.8em;
        text-align: start;
        padding: 0 3em 0 1em;
    }

    .horizontal-2-itens {
        margin: 0 0 0 0;
        justify-content: end;
    }

    .login {
        width: 120%;
    }

    .horizontal-1 img {
        height: 82%;
    }
}

@media (max-width:480px) {
    .horizontal-2-itens:first-child {
        display: none;
    }

    .horizontal-2-itens:last-child {
        width: 100%;
    }

    .login {
        width: 100%;
    }

    .horizontal-1 img {
        height: 70%;
    }
}

/* == MODAL == */
.modal {
    display: none;    
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(190, 208, 207, 0.8);
}

.modal-content {
    background: linear-gradient(rgba(38, 160, 113, 0.95),
            rgba(38, 160, 113, 0.95)), url('../img/back_login.png');
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    height: 30%;
    max-width: 500px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
}

.modal-content p,
.modal-content h2 {
    margin: 10px 0;
}

.modal-content h5 {
    padding-top: 15px;
    font-size: 1.2em;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

input[type="password"] {
    padding-right: 5px; 
}

.mostrar-senha {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.fa-eye, .fa-eye-slash {
    font-size: 20px;
}

