.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-modal {
  width: 90%;
  max-width: 1100px;
  height: 90vh;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  background: #fff;
  position: relative;
}

.container-modal {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  position: relative;
}

.image-slider {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.login {
  width: 50%;
  height: 100%;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #803822;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.219);
}

.image-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; 

  transition: opacity 2s ease-in-out;
}

.image-slider img.ativa {
  opacity: 1;
  z-index: 1;
  box-shadow: inset 0px -40px 10px black;
}

.image-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%; 
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
  z-index: 2; 
}

.slider-indicadores {
  position: absolute;
  bottom: 30px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-indicadores .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.slider-indicadores .dot.ativa {
  width: 12px;
  background-color: #FFCC00;
}


.login{
  
    padding: 0%;
    font-weight: bold;
    height: 88vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    padding-top: 75px;

}

.titulo-login{
    font-size: 40px;
    background-color: #803822;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    bottom: 40px;
    position: relative;
    margin-top: -40px;
}

.input-group{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    width: 65%;

}

input{
    all: unset;   
    background-color: rgba(255, 255, 255, 0.815);
    border: 1px solid brown;
    color: brown;   
    padding: 10px;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

input:focus{
    box-shadow: 0px 0px 4px rgb(218, 89, 15);
    border: 1px solid brown;
}

.container-button{
  display: flex;
  justify-content: center;
}

.btn-login {
  --clr-font-main: hsla(0 0% 20% / 1);
  --btn-bg-1: #ff9100;
  --btn-bg-2: #ffd900;
  --btn-fg: #ffffff;
  --radii: 30px;
  --width: 300px;
  cursor: pointer;
  display: inline-block;
  padding: 20px 20px;
  min-height: 40px;
  width: var(--width);
  font-size: 25px;
  font-weight: 600;
  color: var(--btn-fg);
  background-image: linear-gradient(325deg, var(--btn-bg-1) 0%, var(--btn-bg-2) 55%, var(--btn-bg-1) 90%);
  background-size: 280% auto;
  background-position: left center;
  border: none;
  border-radius: var(--radii);
  transition: background-position 0.8s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow:
    0px 0px 18px rgba(255, 170, 60, 0.25),
    0px 6px 10px rgba(0,0,0,0.12),
    inset 4px 4px 8px rgba(255,230,180,0.15),
    inset -4px -4px 8px rgba(200,130,0,0.08);
  text-align: center;
  line-height: 1;
  margin-top: 10px;
}

.btn-login:hover {
  background-position: right center;
  transform: scale(1.03);
  box-shadow:
    0 0 26px rgba(255, 170, 60, 0.35),
    0 10px 18px rgba(0,0,0,0.14);
}

.btn-login:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255, 238, 170, 0.6),
    0 0 0 8px rgba(255, 153, 51, 0.25);
}

.btn-login .btn-loading-icon {
  font-size: 18px !important; 
  width: 16px;
  height: 16px;
  line-height: 16px;
  vertical-align: middle;
  margin-right: 6px;           
}

.btn-login .btn-loading-text {
  font-size: 18px;            
  vertical-align: middle;
}

@media (max-width: 540px) {
  .btn-login {
    width: calc(100% - 40px);
    font-size: 20px;
    padding: 12px 18px;
    --radii: 20px;
  }
}

.cadastro{
    text-align: center;
    color: #744020;
}

.container-choc{
    padding: 0;
    margin: 0%;
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: end;
}

.choc-element{
    width: 330px;
    padding: 0px;
    margin: 0;
}

.cadastro-strong{
    color: rgb(255, 115, 0); 
    text-decoration: underline; 
    cursor: pointer;
}


.input-container .icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #b47b57;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 65%;
  align-items: center;
  margin: 0 auto;
}

.input-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.input-container input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.92);
  border: 2px solid brown;
  color: brown;
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 16px 14px 52px; 
  border-radius: 15px;
  transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  outline: none;
}

.input-container input:focus {
  box-shadow: 0 0 10px rgba(250, 93, 2, 0.582);
  border-color: brown;
}

.input-container .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #744020;
  pointer-events: none;
  z-index: 3;
}

.visible-pass {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  color: #8a4b36;
}

.visible-pass i {
  font-size: 16px;
}

.recup-senha {
  width: 100%;
  max-width: 600px;
  text-align: right;
  color: #803822;
  text-decoration: underline;
  margin-top: -6px;
  margin-bottom: 6px;
}

.container-button { 
  width: 100%; 
  max-width: 600px; 
  display:flex; 
  justify-content:center; 
}

.logo-login {
  display: none;
}

@media (max-width: 768px) {
  .logo-login {
    display: block;
  }
  
  .login-modal {
    width: 95%;
    height: auto;
    max-height: 95vh;
    border-radius: 20px;
    overflow-y: auto;
  }

  .container-modal {
    flex-direction: column;
  }

  .image-slider {
    display: none;
  }

  .login {
    width: 100%;
    height: 100%;
    padding: 60px 25px 40px;
    display: flex;
    justify-content: center;
  }

  .titulo-login {
    font-size: 28px;
    margin-top: 0;
    bottom: 0;
    margin-bottom: 20px;
    position: static;
  }

  .input-group {
    width: 95%;
    gap: 15px;
  }

  .recup-senha {
    text-align: right;
    font-size: 14px;
    padding-right: 5px;
  }

  .btn-login {
    width: 100%;
    padding: 16px;
    font-size: 20px;
    margin-top: 5px;
  }

  .cadastro {
    font-size: 14px;
    margin-top: 10px;
  }
}

@media (max-width: 520px) {
  .logo-login {
    display: block;
  }

  .login-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .image-slider {
    display: none;
  }

  .login {
    padding: 30px 15px;
  }

  .titulo-login {
    font-size: 24px;
  }

  .input-container input { 
    padding: 12px 12px 12px 46px; 
    font-size: 15px; 
  }
  
  .input-container .icon { 
    left: 12px; 
    font-size: 16px; 
  }
  
  .visible-pass { 
    right: 10px; 
  }

  .btn-login {
    width: 100%;
    font-size: 18px;
    padding: 14px;
    --radii: 20px;
  }

  .logo-login {
    width: 170px;
    height: 100px;
    margin-top: -70px;
    margin-bottom: 10px;
  }
}