@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;
    /* background-image: radial-gradient(122.23% 100% at 100% 50%, #98B23F 0, #98B23F 24.76%, #1B7A80 55.66%, #1B7A80 100%); */
    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;
}

/* 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;
}

/* ===== TOGGLE SWITCH (Lembrar-me) ===== */
.toggle-switch {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.slider {
    width: 38px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
}

.slider::before {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    top: 2px;
    left: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s ease;
}

.toggle-switch input:checked + .slider {
    background: #98B23F;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(18px);
}

.toggle-text {
    font-size: 14px;
}


.forgot-password {
    text-align: right;
    margin-top: 8px;
}

.forgot-password a {
    color: #1B7A80;
    font-size: 13px;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}


@media (max-width: 950px){

  .background_e {
    width: 100%;
  }

  .background_d {
    display: none;
  }
}

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