#container {
    width: 100%;
    min-height: 100vh;
    overflow: hidden; /* Evita desbordamiento accidental */
}

#article-2 {
    background-image: url(../img/bg-img/bg-2-opacity.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position: center center;
    align-items: center;
    display: flex;
    justify-content: center;
}

#article-2 > div{
    padding-top: 4rem;
    padding-bottom: 2rem;
}

#register-container{
    background: rgb(0, 0, 0, 0.2);
    backdrop-filter: blur(0.5rem);
    border-radius: 2rem;
    border: 0.1px solid #ecf4d52d;
}
h1{
    color: #ecf4d5;
    font-family: 'Zodiak', serif;

}
.form-svg{
    width: 32px;
    height: 32px;
    color: #ecf4d5;
}
.form-input{
    background-color: rgb(255, 255, 255, 0.5);
    color: #16181b;
    border: 1px solid #393e46;
    height: 50px;
    transition: all 0.5s ease;
    font-family: 'Zodiak', serif; 
}

input:focus + .confirm .toggle-pass-btn svg {
  fill: #ecf4d5; /* replace with your desired color */
}

.form-input:focus{
    background-color: rgb(0, 0, 0, 0.5);
    color: #ecf4d5;
    border: 1px solid #ecf4d5;
    box-shadow: none;
}

.form-input:focus::placeholder{
    color: #ecf4d5;
    opacity: 30%;
}

.form-input::placeholder{
    color: #393e46;
    opacity: 90%;
}
#termsValidation{
    min-height: 50px;
}
#terms > label {
    color: #ecf4d5;
    font-family: 'Zodiak', serif;
}
#terms > label > a {
    color: #9Ad0c2;
}
#terms-check{
    box-shadow: none;
    transition: all 0.5s ease;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #ecf4d5;
}
#terms-check:checked{
    background-color: #393e46;
    border-color: #393e46;
    box-shadow: none;
}

.form-button{
    width: 200px;
    padding: 10px 25px;
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border-radius: 0.375rem;
    font-family: 'Zodiak', serif;
  }
  
  .form-button {
    border: 2px solid #ecf4d5;
    z-index: 1;
    color: #ecf4d5;
  }
  
  .form-button:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #ecf4d5;
    transition: all 0.3s ease;
  }
  
  .form-button:hover {
    color: #393e46;
  }
  
  .form-button:hover:after {
    top: 0;
    height: 100%;
  }
  
  .form-button:active {
    top: 2px;
  }

  .validation{
    padding-left: 4rem;
    padding-bottom: 0.5rem;
    color: #b23a48;
    font-weight: 700;
    transition: all 0.8s ease;
    user-select: none;
    font-size: 14px;
    font-family: 'Clash Display', sans-serif;
  }

  .show{
    opacity: 100%;
  }
  .hidden{
    opacity: 0;
  }
  
  .validationVisual > svg{
    width: 42px;
    height: 42px;
  }

  .validationVisual{
    transition: all 0.8s ease;
  }

  .invalid{
    width: 42px;
    height: 42px;
    color: #b23a48;
  }
  
  .valid{
    width: 42px;
    height: 42px;
    color: #9Ad0c2;
  }

  .confirm{
    position: absolute;
    display: flex;
    right: 165px;
    height: 50px;
  }
  .confirm button{
    all: unset;
  }
  .modal-dialog{
    margin-top: 40vh;
  }
  
  .confirm button > svg{
    color: #393e46;
    width: 1.5rem;
    height: 1.5rem;
  }

  .modal-body{
    font-family: 'Zodiak', serif;
  }

  .closeBtn{
    all: unset;
    color: #ecf4d5;
    width: 34%;
    display: flex;
    justify-content: end;
  }

  .closeBtn > svg{
    width: 60px;
    height: 60px;
  }


  @media (max-width: 1399px) {
    .confirm{
      right: 160px;
    }
  }
  @media (max-width: 1199px) {
    .confirm{
      right: 155px;
    }

  }
  @media (max-width: 991px) {
    .confirm{
      right: 140px;
    }

  }
  @media (max-width: 767px) {
    .confirm {
        right: 65px;
    }
}

#errorModal{
  z-index: 1000000000000000000;
}
#errorModal > div > div{
  background-color: #393e469d;
  backdrop-filter: blur(10px);
  border: 1px solid #ecf4d5;
}
#errorModal > div > div div{
  color: #ecf4d5;
}
#closeModal > button{
  color: #ecf4d5;
  background-color: #393e46;
  border: 1px solid #ecf4d5;
}

#register-container {
    animation: slideUp 1.5s ease;
}
#termsValidation{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.2rem;
    color: #b23a48;
    font-weight: 700;
    width: 100%;
    transition: all 0.5s ease;
    font-family: 'Clash Display', sans-serif;
}
