@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --fonte-principal: 'Poppins', sans-serif;
}
* {
  --fonte-principal: 'Poppins', sans-serif;
}


body {
  font-family: var(--fonte-principal);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background-color: white;
  z-index: 100;
}

.header-buttom {
  position: relative;
  display: flex;
  align-items: center;
}

.header-buttom i {
  font-size: 20px;
  cursor: pointer;
  color: #000;
  margin-left: 10px;
}

.header-buttom i:hover {
  color: #35D0F2;
}

main {
  display: flex;
  justify-content: center;
}

.login-container {
  display: flex;
  background-color: white;
  border-radius: 20px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
  width: 950px; 
  max-width: 90vw; 
  min-height: 400px;
}

.login-form {
  flex: 1;
  padding: 70px;
}

.logo-container {
  font-family: "Alkatra", system-ui;
  flex: 1;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container h1 {
  font-size: 30px;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: var(--fonte-principal);
}

label {
  font-size: 14px;
  font-family: var(--fonte-principal);

}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 20px;
  margin: 5px 0 20px 0;
  border: 1px solid #000000;
  border-radius: 7px;
  box-sizing: border-box;
  font-family: var(--fonte-principal);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  border-color: #35D0F2;
}

input::placeholder {
  color: #aaa;
  font-family: var(--fonte-principal);
}

.forgot-password {
  font-size: 10px;
  margin-top: 6px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.forgot-password a {
  color: #000000;
  text-decoration: none;
}

.forgot-password span {
  color: #1e90ff;
}


.reset-senha {
  width: 100%;
  padding: 15px 1px;
  margin-top: 10px;
  background-color: #35D0F2;
  color: black;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

button {
  width: 100%;
  padding: 15px 10px;
  background-color: #35D0F2;
  color: black;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background-color: #7de7ff;
}

.submit-email {
  width: 100%;
  padding: 15px 10px;
  background-color: #35D0F2;
  color: black;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--fonte-principal);
  font-weight: 600;
  margin-top: 10px;
}

.submit-email:hover {
  background-color: #7de7ff;
}

#nova_senha,
#confirmar_senha {
  width: 92%;
}

.required {
  color: red;
  margin-left: 1px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  top: 50%;
  left: 50%;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content p {
  font-size: 18px;
  margin-bottom: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
  width: 100%;
  padding: 20px 50px 20px 20px;
  margin: 0;
  border: 1px solid #000000;
  border-radius: 7px;
  box-sizing: border-box;
  font-family: var(--fonte-principal);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    z-index: 10;
    user-select: none;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #35D0F2
}

.password-toggle.active {
    color: #35D0F2
}

@media (max-width: 1024px) {
  .login-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-form,
  .logo-container {
    padding: 30px;

  }

  .logo-container {
    display: none;
  }

  input[type="email"],
  input[type="password"] {
    padding: 15px;
  }

  button {
    padding: 10px;
  }

  .modal-content {
    width: 80%;
  }
}