@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700;900&family=Open+Sans:wght@300;400;500;700&family=Poppins:wght@300;500;700&display=swap");

html,
body,
.shopify-section {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: "Lato", sans-serif;
}

body * {
  box-sizing: border-box;
}

.auth-footer {
  margin-top: auto;
  text-align: left;
  font-size: 14px;
  line-height: 20px;
  color: #c9cacc;
  font-weight: 300;
  margin-bottom: 30px;
}

.error-message {
  width: 100%;
  text-align: start;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #ff4465;
  padding-bottom: 3px;
}

.link-btn {
  color: #ff4465;
  font-weight: 400;
  text-decoration: none;
}

.link-btn:hover {
  color: #e30a32;
}

.home-background-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  z-index: -1;
}

.home-background-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.home-wrapper {
  background-image: linear-gradient(38deg, #040099 -1%, #67007c 84%);
  position: relative;
  height: 100%;
  width: 50%;
  color: white;
}

.home-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 347px;
  margin: 0 auto;
  height: 100%;
  padding: 50px 0;
}

.home-content-inner {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
}

.home-content-title {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  margin-bottom: 68px;
}

.logo-block {
  margin-bottom: 44px;
}

.title-text {
  font-weight: 300;
  font-size: 28px;
  line-height: normal;
  text-align: left;
  margin-bottom: 28px;
}

.description-text {
  color: #c9cacc;
  font-weight: 300;
  line-height: 1.22;
  font-size: 15px;
  text-align: left;
  margin-bottom: 28px;
}

.logo-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.home-btn {
  display: inline-block;
  font-family: "Lato", sans-serif;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.13);
  text-align: center;
  font-weight: 400;
  line-height: normal;
  padding-left: 2rem;
  padding-right: 2rem;
  color: #f7f8ff;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 20px;
  cursor: pointer;
  background-image: linear-gradient(to right, #c73952, #ff5270);
  width: 100%;
  height: 40px;
  letter-spacing: 0.65px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    background-image 0.15s ease-in-out;
  outline: none;
  border: none;
}

.home-btn.home-btn-small {
  height: 34px;
  font-size: 12px;
  border-radius: 17px;
  width: fit-content;
}

.home-btn:hover {
  background-image: linear-gradient(to right, #e05166, #ff6880);
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  position: absolute;
  right: 74px;
  top: 59px;
  z-index: 11;
  font-size: 14px;
  line-height: 1.29;
  font-weight: 300;
  letter-spacing: 0.24px;
  color: #dcdcdc;
}

@media (max-width: 1000px) {
  .home-header-actions {
    right: 20px;
    top: 20px;
  }
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}

.social-icon img {
  height: 20px;
  width: auto;
  display: block;
}

.social-icon img:hover {
  transition: all;
  filter: brightness(0) saturate(100%) invert(15%) sepia(64%) saturate(7364%)
    hue-rotate(343deg) brightness(89%) contrast(100%);
}

.desktop-social-links {
  position: absolute;
  bottom: 50px;
  right: 50px;
}

.mobile-social-links {
  display: none;
  margin-top: auto;
  text-align: center;
}

.login-form {
  width: 100%;
  margin-bottom: 40px;
}

.login-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.login-container .login-input:first-of-type {
  margin-bottom: 15px;
}

.login-input {
  font-family: "Lato", sans-serif;
  width: 100%;
  padding: 13px 22px;
  height: 44px;
  font-size: 16px;
  color: #ffffff;
  box-sizing: border-box;
  outline: none;
  border: none;
  outline: none;
  box-shadow: none;
  background: #4f0d8bcc;
  border-radius: 3px;
  line-height: 1;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-error {
  background-color: #ff44654d !important;
}

.password-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.password-container .login-input {
  padding-right: 67px;
}

.password-toggle {
  font-family: "Lato", sans-serif;
  outline: none;
  position: absolute;
  right: 15px;
  bottom: 28px;
  background: none;
  border: none;
  color: #ffffff66;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  z-index: 10;
}

.password-toggle:hover {
  color: #fff;
}

.alert-message {
  position: fixed;
  top: 16px;
  right: 12px;
  z-index: 2000;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
}

.alert-message.error-alert {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-message.info-alert {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

@media (max-width: 750px) {
  .home-content {
    z-index: 2;
    position: relative;
  }

  .home-content-inner {
    align-items: center;
  }

  .logo-block {
    margin-bottom: 12px;
  }

  .title-text {
    font-size: 1.125rem;
    line-height: 1.22;
    text-align: center;
  }

  .home-wrapper {
    width: 100%;
  }

  .description-text {
    text-align: center;
    display: none;
  }

  .desktop-social-links {
    display: none;
  }

  .mobile-social-links {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home-content-title {
    align-items: center;
  }

  .auth-footer {
    text-align: center;
  }
}
