.l-page-auth {
  background: #f6f7f8;
  min-height: 100vh;
}

.l-page-auth .l-header-short {
  padding-top: 22px;
  text-align: center;
}

.l-page-auth .l-header-short-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #061b3a;
  text-decoration: none;
}

.l-page-auth .l-header-short-logo img {
  display: block;
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
}

.l-page-auth .l-header-short-logo-title {
  color: #061b3a;
  font-size: 0;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Auth-only public brand label. Change this string if the domain changes. */
.l-page-auth .l-header-short-logo-title::after {
  content: "GUYQ24.AM";
  font-size: 18px;
}

.l-page-auth .l-content-short {
  padding-top: 14px;
}

.g24-auth-shell {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto 36px;
  padding: 18px;
  background: var(--light-bg-color);
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(6, 27, 58, .12);
}

.g24-auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  color: var(--text-color);
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.g24-auth-close:hover,
.g24-auth-close:focus {
  color: var(--text-color);
  text-decoration: none;
}

.g24-auth-tabs {
  display: flex;
  gap: 6px;
  margin: 38px 0 18px;
  padding: 5px;
  background: #f7f8fa;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
}

.g24-auth-tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--muted-color);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.g24-auth-tab.active {
  background: #fff;
  box-shadow: 0 4px 14px rgba(6, 27, 58, .1);
  color: var(--text-color);
}

.g24-auth-tab:not(.active):hover,
.g24-auth-tab:not(.active):focus {
  color: var(--text-color);
  text-decoration: none;
}

.g24-auth-shell .au-form-box {
  padding: 0;
}

.g24-auth-shell .au-form {
  max-width: none;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.g24-auth-shell .au-form-in {
  display: block;
  padding: 0;
}

.g24-auth-shell .au-form-body {
  max-width: none;
  min-width: 0;
}

.g24-auth-shell .au-form-body-sm {
  text-align: start;
}

.g24-auth-has-tabs .au-form-title {
  display: none;
}

.g24-auth-shell .au-form .form-group {
  position: relative;
  margin-bottom: 18px !important;
}

.g24-auth-shell .au-form .form-group + .form-group {
  margin-top: 6px !important;
}

.g24-auth-shell .g24-auth-field-email {
  margin-bottom: 28px !important;
}

.g24-auth-shell .g24-auth-field-password {
  margin-top: 12px !important;
}

.g24-auth-shell .form-group-label {
  display: block;
  margin: 0 0 10px !important;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: start !important;
}

.g24-auth-shell .au-form .form-control,
.g24-auth-shell .au-form .input-group,
.g24-auth-shell .au-form .input-group-text {
  min-height: 44px;
}

.g24-auth-shell .au-form .form-control {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 13px;
  background: var(--inputs-bg-color);
  border: 1px solid #d9dee6;
  border-radius: 8px;
  box-shadow: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 44px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.g24-auth-shell .au-form .form-control:focus {
  border-color: #8fa0b8;
  box-shadow: 0 0 0 3px rgba(6, 27, 58, .08);
  font-weight: 400 !important;
}

.g24-auth-shell .au-form .form-control::placeholder {
  color: var(--muted-color);
  font-weight: 400 !important;
}

.g24-auth-shell .au-form input.form-control,
.g24-auth-shell .au-form input.form-control:focus,
.g24-auth-shell .au-form input.form-control:active,
.g24-auth-shell .au-form input.form-control:-webkit-autofill,
.g24-auth-shell .au-form input.form-control:-webkit-autofill:focus,
.g24-auth-shell .au-form textarea.form-control,
.g24-auth-shell .au-form textarea.form-control:focus {
  font-weight: 400 !important;
}

.g24-auth-shell .au-form .input-group > .form-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.g24-auth-shell .input-group-password .input-group-append {
  flex: 0 0 auto;
}

.g24-auth-shell .input-group-password .input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--inputs-bg-color);
  border-color: #d9dee6;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.g24-auth-shell .input-group-password > .form-control {
  border-radius: 8px 0 0 8px;
}

.g24-auth-shell .g24-auth-field-password-group::after {
  display: none;
}

.g24-auth-shell .g24-auth-field-email::after,
.g24-auth-shell .g24-auth-field-password::after,
.g24-auth-shell .g24-auth-field-password-confirm::after {
  position: absolute;
  right: 13px;
  bottom: 13px;
  color: var(--muted-color);
  font-family: "Font Awesome 5 Free";
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.g24-auth-shell .g24-auth-field-email::after {
  content: "\f0e0";
}

.g24-auth-shell .g24-auth-field-password::after,
.g24-auth-shell .g24-auth-field-password-confirm::after {
  content: "\f023";
  font-weight: 900;
}

.g24-auth-shell .au-form-remember {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 0;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.g24-auth-shell .au-form-remember .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  cursor: pointer;
}

.g24-auth-shell .au-form-remember a {
  margin-left: auto;
  padding-left: 12px;
  color: var(--text-color);
  font-weight: 800;
  text-align: right;
}

.g24-auth-shell .au-form-remember a:hover,
.g24-auth-shell .au-form-under-actions a:hover {
  color: var(--text-color);
  text-decoration: none;
}

.g24-auth-shell .au-form .ico-check {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-color: #d9dee6;
  border-radius: 4px;
}

.g24-auth-shell .g24-auth-field-agreement {
  margin-top: 12px;
  margin-bottom: 0;
}

.g24-auth-shell .g24-auth-field-agreement .form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: start;
}

.g24-auth-shell .g24-auth-field-agreement .ico-check {
  flex: 0 0 auto;
  margin-top: 1px;
}

.g24-auth-shell .g24-auth-field-agreement .form-assigns-text {
  display: block;
  min-width: 0;
}

.g24-auth-shell .g24-auth-field-agreement a {
  color: rgba(var(--links-color)) !important;
  font-weight: 800;
  text-decoration: none !important;
  text-underline-offset: 2px;
}

.g24-auth-shell .g24-auth-field-agreement a:hover,
.g24-auth-shell .g24-auth-field-agreement a:focus {
  opacity: .82;
}

.g24-auth-shell .au-form-footer {
  margin-top: 18px;
}

.g24-auth-shell .au-form-footer .btn {
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  background: #183644;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(24, 54, 68, .16);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.g24-auth-shell .au-form-footer .btn:hover,
.g24-auth-shell .au-form-footer .btn:focus {
  background: #102936;
}

.g24-auth-shell .au-form-under-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px auto 0;
  color: var(--muted-color);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.g24-auth-shell .au-form-under-actions .ico {
  margin: 0 0 8px !important;
  color: var(--muted-color);
  font-size: 32px;
}

.g24-auth-shell .au-form-under-actions .mr-1 {
  margin-right: 0 !important;
}

.g24-auth-shell .au-form-under-actions a {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 800;
}

.g24-auth-shell .c-company-open-banner {
  margin: 18px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--text-color);
  font-size: 14px;
  text-align: center;
}

.g24-auth-shell .c-company-open-banner a,
.g24-auth-shell .c-company-open-banner .c-link-ajax,
.g24-auth-shell .c-company-open-banner .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 22px;
  color: var(--text-color) !important;
  line-height: 22px !important;
  vertical-align: middle;
}

.g24-auth-shell .c-company-open-banner .btn {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.g24-auth-shell .c-company-open-banner .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  color: var(--muted-color) !important;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
}

.g24-auth-shell .c-company-open-banner .ico::before {
  line-height: 1;
}

.g24-auth-shell .c-company-open-banner svg.ico {
  display: block;
}

.g24-auth-shell .au-form-socials {
  width: 100%;
  min-width: 0;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #e6e9ee;
  border-left: 0;
}

.g24-auth-shell .c-methods-item,
.g24-auth-shell .c-social-link {
  border-radius: 8px;
}

.g24-auth-shell .au-form-socials-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted-color);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.g24-auth-shell .au-form-socials-title::before,
.g24-auth-shell .au-form-socials-title::after {
  flex: 1 1 auto;
  height: 1px;
  background: #e1e5ea;
  content: "";
}

.g24-auth-shell .au-form-socials-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.g24-auth-shell .au-form-socials-list .c-social-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(6, 27, 58, .1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transform: none;
  transition: box-shadow .16s ease, opacity .16s ease;
}

.g24-auth-shell .au-form-socials-list .c-social-link:hover,
.g24-auth-shell .au-form-socials-list .c-social-link:focus {
  box-shadow: 0 8px 18px rgba(6, 27, 58, .15);
  color: #fff;
  opacity: .94;
  text-decoration: none;
  transform: none;
}

.g24-auth-shell .au-form-socials-list .c-social-link:focus-visible {
  outline: 3px solid rgba(0, 125, 235, .22);
  outline-offset: 2px;
}

.g24-auth-shell .au-form-socials-list .c-social-link > .ico {
  flex: 0 0 24px;
  display: block;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
}

.g24-auth-shell .au-form-socials-list .c-social-link-gg {
  padding: 0 14px;
}

.g24-auth-shell .au-form-socials-list .c-social-link-gg > .ico {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 5px;
  background: var(--light-bg-color);
  border-radius: 50%;
}

.g24-auth-shell .au-form-socials-list .c-social-link-apple,
.g24-auth-shell .au-form-socials-list .c-social-link-apple:hover,
.g24-auth-shell .au-form-socials-list .c-social-link-apple:focus {
  color: var(--text-color);
}

.g24-social-login-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .l-page-auth .l-header-short {
    padding-top: 20px;
  }

  .l-page-auth .l-content-short {
    padding-top: 16px;
  }

  .l-page-auth .l-content-short .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .g24-auth-shell {
    width: 100%;
    margin-bottom: 34px;
    padding: 20px 16px 22px;
  }

  .g24-auth-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }

  .g24-auth-tabs {
    margin-top: 46px;
  }

  .g24-auth-tab {
    min-height: 44px;
    font-size: 15px;
  }

  .g24-auth-shell .form-group-label {
    margin-left: 0;
  }

  .g24-auth-shell .au-form .form-control,
  .g24-auth-shell .au-form .input-group,
  .g24-auth-shell .au-form .input-group-text {
    min-height: 46px;
  }

  .g24-auth-shell .au-form .form-control {
    height: 46px;
    line-height: 46px;
  }

  .g24-auth-shell .input-group-password .input-group-text {
    width: 46px;
    height: 46px;
  }

  .g24-auth-shell .g24-auth-field-email::after,
  .g24-auth-shell .g24-auth-field-password::after,
  .g24-auth-shell .g24-auth-field-password-confirm::after {
    bottom: 14px;
  }

  .g24-auth-shell .au-form-remember {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 15px;
  }

  .g24-auth-shell .au-form-remember a {
    max-width: calc(100% - 48px);
  }

  .g24-auth-shell .au-form-socials-list .c-social-link {
    height: 50px;
    font-size: 14px;
  }
}

/* Social-account confirmation: keep contextual links directly below their fields. */
.l-page-auth .g24-auth-social .form-group > .additions {
  position: static;
  top: auto;
  right: auto;
  display: inline-block;
  margin-top: 8px;
  transform: none;
}
