@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ab-auth-container {
  display: flex;
  padding: 40px;
  padding-top: 100px;
  background-color: #fff;
}

.ab-auth-container .ab-logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ab-auth-container .ab-logo img {
  width: 70px;
}

.ab-auth-container .ab-auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  border-radius: 8px;
}

.ab-auth-container .ab-auth-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  text-align: center;
}

.ab-auth-container .ab-desc {
  font-size: 1rem;
  color: #666;
  text-align: center;
}

.ab-auth-container .ab-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.ab-auth-container .ab-form-group label {
  font-size: 0.8rem;
  color: #444;
  font-weight: 500;
  margin-bottom: 0;
}

.ab-auth-container .ab-form-group input {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fdfdfd;
  transition: all 0.2s ease;
}

.ab-auth-container .ab-form-group input::placeholder {
  font-family: "Montserrat", sans-serif;
}

.ab-auth-container .ab-form-group input:focus {
  border-color: #e9bb4f;
  box-shadow: 0 0 0 3px rgba(233, 187, 79, 0.2);
  outline: none;
}

.ab-auth-container .ab-auth-form button {
  background-color: #e9bb4f;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: background-color 0.3s ease;
  width: 100%;
  text-transform: uppercase;
}

.ab-auth-container .ab-auth-form button:hover {
  background-color: #d6a944;
}

.ab-auth-container p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  margin-top: 10px;
  text-align: center;
}

.ab-auth-container a {
  color: #e9bb4f;
  text-decoration: none;
  font-weight: 500;
}

.ab-auth-container .ab-left-cont a:hover {
  text-decoration: underline;
}

.ab-auth-container .ab-copyright {
  font-size: 0.8rem;
  color: #999;
  margin-top: 40px;
}

.ab-auth-container .ab-right-cont {
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 180px;
  justify-content: space-between;
  background-color: rgba(233, 187, 79, 0.1);
  overflow: hidden;
}

.ab-auth-container .ab-quote {
  text-align: left;
  margin-left: auto;
  animation: slideIn 1.2s ease forwards;
  margin: 0 50px;
}

.ab-auth-container .ab-quote h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #004d40;
  line-height: 1.4;
  margin: 0;
}

.ab-auth-container .ab-promo-image {
  position: absolute;
  bottom: -50px;
  right: -20px;
  max-width: 350px;
}

.ab-auth-container .ab-promo-image img {
  width: 100%;
  height: auto;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .ab-auth-container .ab-left-cont,
  .ab-auth-container .ab-right-cont {
    padding: 30px;
  }

  .ab-auth-container .ab-quote h2 {
    font-size: 1.3rem;
  }

  .ab-auth-container .ab-promo-image {
    max-width: 280px;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .ab-auth-container {
    flex-direction: column;
    overflow-y: auto;
    height: fit-content;
    padding: 20px !important;
  }

  .ab-auth-container .ab-auth-form {
    margin-top: 40px;
    padding: 0 !important;
  }

  .ab-auth-container .ab-quote {
    margin: 0;
    text-align: center;
  }

  .ab-auth-container .ab-quote h2 {
    font-size: 1.2rem;
  }

  .ab-auth-container .ab-promo-image {
    position: static;
    max-width: 200px;
    margin-top: 20px;
  }

  .ab-auth-container .ab-logo {
    width: 100%;
  }

  .ab-auth-container .ab-auth-form button {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  .ab-auth-container .ab-form-row {
    display: block;
    margin-top: 20px;
  }

  .ab-auth-container .ab-form-row .ab-form-group {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .ab-auth-container .ab-quote h2 {
    font-size: 1rem;
    text-align: left;
  }

  .ab-auth-container .ab-promo-image {
    max-width: 100%;
  }

  .ab-auth-container .ab-auth-form h3 {
    font-size: 1.2rem;
  }

  .ab-auth-container .ab-desc {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {
  .ab-auth-container .ab-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }

  .ab-auth-container .ab-form-row .ab-form-group {
    flex: 1;
    margin-bottom: 0;
  }
}
