body.goshala-login-page {
  height: 100vh;
  overflow: hidden;
  background: #eef5f0;
}

body.goshala-login-page * {
  box-sizing: border-box;
}

body.goshala-login-page .auth-page {
  height: 100vh;
  height: 100dvh;
  position: relative;
  isolation: isolate;
  padding: 18px 0;
  overflow: hidden;
  justify-content: center !important;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.52)),
    linear-gradient(135deg, #edf6ef 0%, #f8fbff 48%, #fff5e8 100%);
}

body.goshala-login-page .auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 83, 62, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 83, 62, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.28));
}

body.goshala-login-page .auth-page::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(47, 120, 89, 0.09));
}

body.goshala-login-page .auth-container {
  width: 100%;
  max-width: 470px;
  padding: 0 14px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

body.goshala-login-page .auth-container .form-wrapper {
  width: 100%;
  padding: 18px 20px 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 22px 60px rgba(35, 72, 62, 0.16);
  backdrop-filter: blur(16px);
}

body.goshala-login-page .auth-container .form-wrapper .form-container {
  width: 100%;
  max-width: 390px;
}

body.goshala-login-page .auth-container .form-wrapper .form-logo {
  width: 100%;
  margin-bottom: 12px !important;
  text-align: center;
}

body.goshala-login-page .auth-container .form-wrapper .form-logo .sidebar-top-side,
body.goshala-login-page .auth-container .form-wrapper .form-logo .img-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.goshala-login-page .auth-container .form-wrapper .form-logo img {
  width: auto;
  max-width: 176px;
  max-height: 58px;
  object-fit: contain;
}

body.goshala-login-page .auth-container .form-wrapper .form-heading,
body.goshala-login-page .auth-container .form-wrapper .auth-form,
body.goshala-login-page .auth-container .form-wrapper .auth-form label,
body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn {
  font-family: var(--font-Inter), "Inter", "Segoe UI", Arial, sans-serif;
}

body.goshala-login-page .auth-container .form-wrapper .form-heading {
  width: 100%;
  margin-bottom: 14px !important;
  text-align: center;
}

body.goshala-login-page .auth-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(28, 133, 91, 0.2);
  border-radius: 999px;
  background: #edf8f2;
  color: #126441;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.goshala-login-page .auth-kicker i {
  font-size: 16px;
}

body.goshala-login-page .auth-container .form-wrapper .form-heading .title {
  margin-bottom: 6px;
  color: #10251d;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

body.goshala-login-page .auth-container .form-wrapper .form-heading .subtitle {
  max-width: 330px;
  margin: 0 auto;
  color: #60716a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .input-field-group {
  width: 100%;
  margin-bottom: 11px;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form label {
  margin-bottom: 6px;
  color: #20362e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form label sup {
  color: #d1493f;
  font-size: 12px;
  top: -0.25em;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #dce8e2;
  border-radius: 13px;
  background: #fbfefd;
  box-shadow: 0 1px 0 rgba(16, 37, 29, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field:focus-within {
  border-color: #218d62;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(33, 141, 98, 0.13);
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field i {
  flex: 0 0 auto;
  color: #6a8178;
  font-size: 21px;
  line-height: 1;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field .auth-field-icon {
  order: 0;
  margin-right: 10px;
  margin-left: 0;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field input {
  order: 1;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .password-input .auth-password-toggle {
  order: 2;
  margin-left: 10px;
  margin-right: 0;
  cursor: pointer;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field input,
body.goshala-login-page .auth-container .form-wrapper .auth-form input[type="text"],
body.goshala-login-page .auth-container .form-wrapper .auth-form input[type="password"],
body.goshala-login-page .auth-container .form-wrapper .auth-form input[type="date"],
body.goshala-login-page .auth-container .form-wrapper .auth-form input[type="email"],
body.goshala-login-page .auth-container .form-wrapper .auth-form select {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #12251d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form input::placeholder {
  color: #91a199;
  font-weight: 500;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form input:focus-visible,
body.goshala-login-page .auth-container .form-wrapper .auth-form select:focus-visible {
  outline: 0;
  box-shadow: none;
}

body.goshala-login-page .auth-container .form-wrapper .authenticate-now a,
body.goshala-login-page .auth-container .form-wrapper .text-link {
  color: #176e4d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body.goshala-login-page .auth-container .form-wrapper .authenticate-now a:hover,
body.goshala-login-page .auth-container .form-wrapper .text-link:hover {
  color: #0d5138;
  text-decoration: underline;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  padding: 14px 18px !important;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #176e4d 0%, #31a66e 55%, #f1a53a 100%) !important;
  box-shadow: 0 15px 32px rgba(30, 126, 85, 0.28);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn i {
  font-size: 20px;
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn:hover {
  filter: saturate(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(30, 126, 85, 0.32);
}

body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(241, 165, 58, 0.26), 0 15px 32px rgba(30, 126, 85, 0.28);
}

body.goshala-login-page .auth-page > .row {
  display: none;
}

body.goshala-login-page .auth-page .privacy_policy_text {
  display: none;
  margin-bottom: 0;
}

body.goshala-login-page .cus-error {
  min-height: 16px;
  margin: 5px 0 0;
  font-size: 12px;
}

body.dark-theme.goshala-login-page {
  background: #101914;
}

body.dark-theme.goshala-login-page .auth-page {
  background:
    linear-gradient(120deg, rgba(11, 18, 15, 0.96), rgba(18, 32, 26, 0.8)),
    linear-gradient(135deg, #101914 0%, #172923 52%, #251f16 100%);
}

body.dark-theme.goshala-login-page .auth-page::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper {
  border-color: rgba(133, 168, 151, 0.28);
  background: rgba(19, 29, 25, 0.92) !important;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.42);
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper .form-heading .title,
body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form label {
  color: #f2fbf6;
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper .form-heading .subtitle {
  color: #bacbc3;
}

body.dark-theme.goshala-login-page .auth-kicker {
  border-color: rgba(107, 225, 165, 0.24);
  background: rgba(49, 166, 110, 0.14);
  color: #8df0bc;
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field {
  border-color: #31463c;
  background: #17251f;
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field:focus-within {
  border-color: #67d89a;
  background: #1a2b24;
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field input,
body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form input[type="text"],
body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form input[type="password"],
body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form input[type="date"],
body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form input[type="email"],
body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form select {
  color: #f2fbf6;
}

body.dark-theme.goshala-login-page .auth-container .form-wrapper .auth-form input::placeholder {
  color: #83978e;
}

@media (min-width: 768px) {
  body.goshala-login-page .auth-page {
    padding: 18px 0;
  }

  body.goshala-login-page .auth-container .form-wrapper {
    padding: 20px 32px 26px !important;
  }
}

@media (max-width: 420px) {
  body.goshala-login-page .auth-page {
    padding: 12px 0;
  }

  body.goshala-login-page .auth-container {
    padding: 0 10px;
  }

  body.goshala-login-page .auth-container .form-wrapper {
    border-radius: 22px;
    padding: 18px 14px 16px !important;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-logo {
    margin-bottom: 12px !important;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-logo img {
    max-width: 158px;
    max-height: 58px;
  }

  body.goshala-login-page .auth-kicker {
    max-width: 100%;
    min-height: 31px;
    padding: 6px 10px;
    font-size: 10px;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-heading {
    margin-bottom: 12px !important;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-heading .title {
    font-size: 27px;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-heading .subtitle {
    font-size: 13px;
    line-height: 1.45;
  }

  body.goshala-login-page .auth-container .form-wrapper .auth-form .input-field-group {
    margin-bottom: 12px;
  }

  body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field,
  body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn {
    min-height: 51px;
    border-radius: 13px;
  }

  body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn {
    margin-top: 16px !important;
  }

}

@media (max-height: 700px) and (min-width: 421px) {
  body.goshala-login-page .auth-page {
    padding: 10px 0;
  }

  body.goshala-login-page .auth-container .form-wrapper {
    padding: 14px 24px 18px !important;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-logo img {
    max-height: 50px;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-heading .subtitle {
    font-size: 12px;
    line-height: 1.4;
  }

  body.goshala-login-page .auth-kicker {
    min-height: 29px;
    margin-bottom: 8px;
  }

  body.goshala-login-page .auth-container .form-wrapper .form-heading .title {
    font-size: 28px;
  }

  body.goshala-login-page .auth-container .form-wrapper .auth-form .custom-input-field,
  body.goshala-login-page .auth-container .form-wrapper .auth-form .submit-btn {
    min-height: 48px;
  }
}
