/* Isolate portal login styling from registration and staff/admin layouts. */
body.customers_login {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f5f7fa;
  color: #202938;
}
.customers_login #wrapper {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 40px 0;
  margin: 0;
  min-height: 0;
  width: 100%;
}
.customers_login #content { width: 100%; }
.customers_login .portal-login-layout {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 0 15px;
}
.customers_login .portal-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.customers_login .portal-login-brand .logo {
  float: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}
.customers_login .portal-login-brand img {
  width: 240px !important;
  max-width: 240px;
  height: 64px !important;
  max-height: 64px;
  object-fit: contain;
}
.customers_login .portal-login-brand .logo-text {
  font-size: 24px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}
.customers_login .portal-login-heading .login-heading {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 650 !important;
  margin: 0 0 24px !important;
  letter-spacing: 0;
}
.customers_login .panel_s {
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 8px;
}
.customers_login .panel_s .panel-body {
  padding: 28px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(32, 41, 56, .05);
}
.customers_login .form-group { margin-bottom: 20px; }
.customers_login .form-group label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}
.customers_login .form-control,
.customers_login .bootstrap-select > .dropdown-toggle {
  min-height: 44px;
  border-radius: 6px;
  box-shadow: none;
  border-color: #cfd6e0;
  background: #fff;
  font-size: 14px;
}
.customers_login .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.customers_login .portal-login-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 24px;
  font-size: 12px;
}
.customers_login .portal-login-options .checkbox { margin: 0; }
.customers_login .portal-login-options a { color: #526174; }
.customers_login .portal-login-register-link { font-weight: 600; }
.customers_login .portal-login-language {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.customers_login .portal-login-language label {
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  color: #697586;
}
.customers_login .portal-login-language .bootstrap-select,
.customers_login .portal-login-language > select { width: 145px !important; }
.customers_login .portal-login-language .bootstrap-select > .dropdown-toggle {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
  background: transparent;
}
.customers_login .btn-block {
  min-height: 44px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: normal;
}
.customers_login .login-form a:focus-visible,
.customers_login .login-form button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}
.customers_login footer {
  position: static;
  flex-shrink: 0;
  height: auto;
  margin: 0;
  padding: 20px 0;
  background: transparent;
  border-top: 0;
  color: #697586;
}
@media (max-width: 767px) {
  .customers_login #wrapper { padding: 32px 0; }
  .customers_login .portal-login-brand img { max-width: 210px; max-height: 56px; }
  .customers_login .panel_s .panel-body { padding: 22px; }
  .customers_login .portal-login-layout { padding: 0; }
}
@media (max-width: 360px) {
  .customers_login .panel_s .panel-body { padding: 16px; }
  .customers_login .g-recaptcha { overflow-x: auto; }
}
@media (max-height: 650px) {
  .customers_login #wrapper { padding-top: 24px; padding-bottom: 24px; }
}
