.app_container {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  align-content: center;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
}

div.popup-container {
  top: 50%;
  left: 50%;
  visibility: hidden;
  margin-top: 8rem;
  display: flex;
  align-items: center;
  padding: 16px;
  flex-direction: column-reverse;
  justify-content: center;
}
.login-btn:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
}

.login-btn:disabled:hover {
  background-color: #6c757d !important;
  /* Same color as disabled state to maintain consistency */
  cursor: not-allowed;
  box-shadow: none !important;
}

.register-btn:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
}

.register-btn:disabled:hover {
  background-color: #6c757d !important;
  /* Same color as disabled state to maintain consistency */
  cursor: not-allowed;
  box-shadow: none !important;
}

.toggle-password {
  cursor: pointer;
  position: absolute;
  margin-top: 0.8rem;
  margin-right: 1rem;
}

.password_c {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  justify-content: flex-end;
}

.popup-container.active {
  visibility: visible;
  animation: fadeIn 0.16s ease 0s forwards; /* 0.5s duration, 1s delay, forwards to keep final state */
}

/* Define the animation for opacity */
@keyframes fadeIn {
  from {
    transform: rotateY(-180deg);
    backdrop-filter: blur(20px);
    opacity: 0;
  }
  to {
    backdrop-filter: blur(20px);
    opacity: 100%;
  }
}
/* money */

div.app_container {
  /*background: linear-gradient(
    168.75deg,
    hsla(0, 0%, 100%, 0) 13%,
    #e8e7f3 62%,
    #c5d7fd
  );*/
  backdrop-filter: blur(20px);
}

.Login__bg-strip {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

.Login__bg-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

div.popup-container div.popup {
  box-shadow: var(--box-shadow) !important;
  align-items: stretch;
  background: var(--color-white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  padding: 32px;
  width: 100%;
  transition: all 300ms ease;
}

div.popup-container div.popup:hover {
  box-shadow: none;
}

div.popup-container div.popup h1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 600 !important;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 24px !important;
  color: var(--color-dark);
  flex-direction: column;
}

div.popup-container div.popup h1 .Login__signupLink {
  font-size: 12px;
  margin-top: 1rem;
  color: gray;
}

div.popup-container div.popup h1 .Login__signupLink a {
  color: var(--color-primary) !important;
  margin-left: 0.4rem;
  opacity: 80% !important;
}

div.popup-container div.popup h1 .Login__signupLink a:hover {
  opacity: 100% !important;
}

div.popup-container div.popup h2 button {
  border: none;
  background-color: transparent;
  outline: none;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-dark);
}

div.popup-container div.popup input {
  width: 100%;
  margin-bottom: 20px;
  background: var(--color-light);
  border-radius: 0.4rem;
  padding: 0.8rem 0.6rem;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-dark);
}

div.popup-container div.popup input:focus {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  border: 0.11rem solid var(--color-primary) !important;
}

/*div.popup-container div.popup input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset !important;
  border: 0.1rem solid var(--color-primary) !important;
}*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--color-dark);
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px var(--color-light);
  border: 0.1rem solid var(--color-primary) !important;
}

div.popup-container div.popup input[type="checkbox"] {
  appearance: auto !important;
  margin: 4px;
  width: 15px;
  height: 15px;
  text-align: center;
}

.remember-me {
  padding: 0px;
  margin: 0px;
  align-items: center;
  flex-direction: row;
  display: flex;
  margin-bottom: 10px;
  font-size: 16px;
}

div.popup-container div.popup button.login-btn,
button.register-btn,
button.reset-btn {
  font-weight: 500;
  font-size: 16px;
  color: white;
  box-shadow: var(--box-shadow);
  background-color: var(--color-primary);
  padding: 4px 10px;
  outline: none;
  border-radius: 8px;
  border: none;
  width: 100%;
  margin-top: 8px;
  height: 40px;
  transition: all 30ms ease;
}

div.popup-container div.popup button.login-btn:hover,
button.register-btn:hover,
button.reset-btn:hover {
  box-shadow: 0 0 10px #7380ec, 0 0 2px #7380ec, 0 0 4px #7380ec;
}

div.popup-container div.popup div.forgot-btn {
  margin: 16px;
  text-align: right;
  opacity: 80%;
}

div.popup-container div.popup div.forgot-btn:hover {
  opacity: 100%;
}

div.popup-container div.popup div.forgot-btn button {
  border: none;
  background-color: transparent;
  outline: none;
  font-weight: 500;
  color: var(--color-dark);
  opacity: 80%;
  cursor: pointer;
  font-size: 12px;
}

/*
div.popup-container div.register button.register-btn,
button.reset-btn {
  background-color: #f85c02;
}

div.user {
  color: var(--color-white);
  background-color: #f85c02;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: 500;
  border-radius: 8px;
  margin-right: 10px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}*/

/* =========== forgot password popup ===================== */

div.popup-container div.forgot h1 {
  display: flex;
  align-items: flex-start;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  font-size: 24px !important;
  color: var(--color-dark);
  flex-direction: column;
}

div.popup-container div.forgot h1 .info_detail {
  font-size: 12px;
  margin-top: 0.6rem;
  color: gray;
}

div.popup-container div.forgot .forgot_bottom {
  display: flex;
  flex-direction: column;
}

div.popup-container div.forgot .text_Link {
  font-size: 12px;
  margin-top: 0.4rem;
  color: gray;
}

div.popup-container div.forgot .text_Link a {
  color: var(--color-primary) !important;
  margin-left: 0.4rem;
  opacity: 80% !important;
}

div.popup-container div.forgot .text_Link a:hover {
  opacity: 100% !important;
}

/* =========================  PATTERN BACKGROUND =========================== */

.area {
  background: var(--color-primary-pattern);
  width: 100%;
  height: 100%;
}

.circles {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 20px solid #7380ec;
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* ========================  404 Page  ==================================  */

.full_404_content {
  background: var(--color-white-404);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.error-container {
  margin-bottom: 20rem;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translate(0%, 20%);
}

.error-container h1 {
  margin: 8px 0px;
  color: var(--color-primary);
}

.error-container p {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.8rem;
}

.error-container a {
  font-size: 1.2rem;
  padding: 0.6rem 1rem;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 2rem;
  font-weight: 600;
  opacity: 100%;
}

.error-container a:hover {
  opacity: 90%;
}

/* ================ PASSword strength ==========================  */

.password_container_signup {
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  border-radius: 0.6rem;
  padding: 1rem 1rem 0rem 1rem;
  margin-bottom: 01rem;
}

.password_container_signup h2 {
  color: var(--color-dark);
  opacity: 80%;
  margin-bottom: 0.8rem;
}

#passwordStatusContainer,
.progress {
  display: none;
}

.progress {
  margin-bottom: 1rem;
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
  margin-top: 8px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #ff6347; /* Default color for weak password */
  transition: width 0.3s ease;
}

/* Color variations based on password strength */
.progress-bar.medium {
  background-color: #f3a542; /* Medium strength */
}

.progress-bar.strong {
  background-color: #4caf50; /* Strong strength */
}

.error-message {
  color: red;
  font-size: 12px;
  margin-bottom: 16px;
  margin-top: -16px;
}

/* country selector */
.popup-container select {
  background: var(--color-light);
  color: var(--color-dark);
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  /* border: 1px solid var(--color-info-light); */
  border-radius: 1rem;
  box-sizing: border-box;
}
/* todo */
.popup-container select option {
  color: var(--color-dark);
  background: var(--color-white);
}
.popup-container select {
  color: var(--color-dark);
}

.popup-container .divider_footer {
  margin: 0px 0 !important;
  margin-bottom: 01rem !important;
}

/* ====== signup apps section  */

.container {
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  border-radius: 0.6rem;
  padding: 1rem 1rem 0rem 1rem;
  margin-bottom: 01rem;
}

.container h2 {
  color: var(--color-dark);
  opacity: 80%;
  margin-bottom: 0.8rem;
}

.form-group {
  margin-bottom: 2px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}
.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  box-sizing: border-box;
}

/* country selector */
.popup-container select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  box-sizing: border-box;
}
/* todo */
.popup-container select option {
  color: var(--color-dark);
  background: var(--color-white);
}
.popup-container select {
  color: var(--color-dark);
}

/* ========= FORGOT POPUP  ===================  */

.reset-btn:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
}

.reset-btn:disabled:hover {
  background-color: #6c757d !important;
  /* Same color as disabled state to maintain consistency */
  cursor: not-allowed;
  box-shadow: none !important;
}

/* =========== ERROR MSG ======================  */

/* =================== RECAPTCHA ================ */
.captcha-container {
  gap: 8px;
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: var(--color-light);
  border-radius: 10px;
  margin-bottom: 10px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  text-align: center;
  align-content: center;
  flex-direction: row;
  justify-content: space-between;
}
.captcha-text {
  font-size: 20px;
}
.refresh-button {
  cursor: pointer;
}
.captcha-input-container {
  margin-top: 10px;
}
.captcha-input {
  width: 200px;
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.validation-message {
  border-radius: 4rem;
  background: #87191947;
  width: fit-content;
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;

  margin-top: -1rem;
  font-size: 14px;
  color: #dc3545;
  /* margin-top: 5px; */
  margin-bottom: 0.8rem;
}

.captcha-char {
  text-shadow: 0px 0px 20px var(--color-primary);
}
