@import url("https://fonts.googleapis.com/css?family=Inter:ital,opsz, wght@0,14..32,100..900;1,14..32,100..900&display=swap");


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

body {
    font-family: "Inter", sans-serif;
}


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgb(255, 255, 255);
    flex-direction: row;
}

.background_e {
    display: flex;
    width: 50%;
    height: 100%;
    background-color: #fff;
    justify-content: center;
    align-items: center;
}

.img_background {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    border-radius: 25px;
}

.icon {
    display: block;
    margin: 0 auto 12px;
    width: 200px;
}

.background_d {
    width: 50%;
    height: 100%;
}

.login-container {
    width: 400px;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.616);
    backdrop-filter: blur(20px);
    /* padding: 40px; */
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    text-align: left;
}

.title-login {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 2rem;
    font-weight: 900;
}


label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-top: 8px;
  margin-bottom: 4px;
}

input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease;
}

input:focus {
  box-shadow: 0 0 0 3px rgba(10,123,255,0.08);
  border-color: #98B23F;
}

input.error {
  border-color: #c33 !important;
}

/* Input group (password + eye icon) */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group .toggle-password {
  position: absolute;
  right: 0px;
  height: 100%;
  width: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #1B7A80;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background: #1B7A80;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease;
}


button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.password-container {
  position: relative;
  width: 100%;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.strength-bar {
  height: 100%;
  width: 0%;
  background: red;
  transition: width 0.25s ease, background 0.25s ease;
}

/* Regras da password */
.password-rules {
  list-style: none;
  margin: 6px 0 0 0;
  font-size: 12px;
  color: #c33;
}

.password-rules li {
  margin: 6px 0;
}
.password-rules li.valid {
  color: #1a9a3a;
}

/* Mensagens de erro/sucesso */
.message {
  font-size: 13px;
  color: red;
  margin-top: 4px;
}
.message.success {
  color: green;
}

/* Link para login */
.login-link {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}
.login-link a {
  color: #1B7A80;
  text-decoration: none;
}
.login-link a:hover {
  text-decoration: underline;
}

.icon-avisos {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 4px;
  color: #c33; 
}

@media (max-width: 950px){

  .background_e {
    width: 100%;
  }

  .background_d {
    display: none;
  }
}

@media (max-width:425px){
  .login-container {
    width: 90%;
    padding: 30px;
  }
}
