body {
  min-height: 100vh;
  background: #E6F2FF;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-container {
  width: min(1240px, calc(100vw - 48px));
  height: min(840px, calc(100vh - 64px));
  display: flex;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: none;
}

.login-image {
  width: 60%;
  height: 100%;
  flex: 0 0 60%;
}

.login-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.form-section {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 24px;
  background: #FFFFFF;
}

.login-header {
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}

.logo-container {
  justify-content: flex-start;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 56px;
}

.nav-logo img:first-child {
  width: 36px;
  height: 36px;
}

.nav-logo img:last-child {
  width: 72px;
  height: 36px;
}

.login-title {
  color: #161616;
  text-align: left;
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
}

.login-content {
  gap: 24px;
}

.login-form {
  gap: 24px;
}

.form-group {
  gap: 4px;
}

.form-label {
  color: #475569;
}

.input-group .form-input {
  width: 100%;
  border-radius: 8px;
  border: 0;
}

.input-group-text {
  position: absolute;
  z-index: 1;
  right: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.input-group-text img {
  width: 16px;
  height: 16px;
}

.form-check {
  gap: 8px;
}

.form-check-input {
  width: 16px;
  height: 16px;
  border-color: #475569;
  border-radius: 3px;
}

.form-check-label,
.forgot-password,
.signup-text,
.signup-link {
  color: #1E293B;
  font-size: 16px;
  line-height: 24px;
}

.signup-text {
    text-align: left;
}

.forgot-password,
.signup-link {
  color: #007AFF;
  text-decoration: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.btn.btn-primary.btn-full {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #007AFF;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  box-shadow: none;
}

.wc2-app .wc2-input {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--neutral-100);
  outline: none;
  box-sizing: border-box;
  background-image: url(/assets/icons/v2/Arrow-Down2.svg);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
  appearance: none;
  -webkit-appearance: none;
}

.wc2-app .wc2-input::placeholder {
  color: var(--neutral-400);
}

.wc2-app .wc2-input:focus {
  border-color: var(--primary-blue-500);
}

.wc2-app .wc2-input:disabled {
  color: var(--neutral-400);
  cursor: not-allowed;
}

.wc2-app .wc2-input.no-arrow {
  background-image: unset;
}

.wc2-app .form-login {
  padding: 80px 50px;
}

.wc2-app .form-login.form-otp {
  padding: 60px 50px;
}

/* Login two-factor authentication flow */
.login-container .form-section {
  position: relative;
  overflow: hidden;
}

.login-container .auth-screen {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.login-container .auth-screen.is-active { 
    display: flex; 
    gap: 24px;
}

.login-container .auth-two-factor-heading,
.login-container .auth-code-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-container .auth-two-factor-heading h1,
.login-container .auth-code-heading h1 {
  margin: 0;
  color: #111111;
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
  white-space: nowrap;
}

.login-container .auth-two-factor-heading p,
.login-container .auth-code-heading p {
  margin: 0;
  color: #64748B;
  font-size: 14px;
  line-height: 20px;
}

.login-container .auth-code-heading strong {
  color: #1E293B;
  font-weight: 600;
}

.login-container .auth-method-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-container .auth-method {
  width: 100%;
  min-height: 96px;
  padding: 16px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #1E293B;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.login-container .auth-method.is-selected {
  border-color: #007AFF;
  background: #F5FAFF;
}

.login-container .auth-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #E5F2FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.login-container .auth-method-icon img {
  width: 20px;
  height: 20px;
}

.login-container .auth-method-icon img {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  filter: brightness(0) saturate(100%) invert(48%) sepia(84%) saturate(4249%) hue-rotate(198deg) brightness(102%) contrast(101%);
}

.login-container .auth-method.is-selected .auth-method-icon {
  background: #007AFF;
}

.login-container .auth-method.is-selected .auth-method-icon img {
  filter: brightness(0) invert(1);
}

.login-container .auth-method-copy {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}

.login-container .auth-method-copy strong {
  color: #1E293B;
}

.login-container .auth-method-copy small {
  color: #64748B;
}

.login-container .auth-method-radio {
  width: 20px;
  height: 20px;
  border: 1px solid #94A3B8;
  border-radius: 50%;
  flex: 0 0 auto;
}

.login-container .auth-method.is-selected .auth-method-radio {
  border: 4px solid #FFFFFF;
  outline: 1px solid #007AFF;
  background: #007AFF;
}

.login-container .auth-code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.login-container .auth-code-inputs input {
  width: 100%;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: #F1F5F9;
  color: #1E293B;
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.login-container .auth-code-inputs input:focus {
  border: 2px solid #007AFF;
}

.login-container .auth-resend {
  color: #64748B;
  font-weight: 400;
  font-size: 14px;
}

.login-container .auth-resend button {
  font-weight: 600;
}

.login-container .auth-resend button,
.login-container .auth-text-button {
  border: 0;
  background: transparent;
  color: #007AFF;
  font: inherit;
  cursor: pointer;
}

/* .login-container .wc2-input {
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #F1F5F9;
  background-image: none;
  color: #1E293B;
  font-size: 16px;
  line-height: 24px;
} */

.wc2-app .nav-logo {
    padding: 0;
    height: 56px;
}

.wc2-app .auth-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wc2-app .auth-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wc2-app .register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Appointment-style custom dropdowns for sign-up location fields. */
.login-container .register-form .select-wrapper {
  position: relative;
}

.login-container .register-form .select-wrapper .wc2-input {
  cursor: pointer;
}

.login-container .register-form .dropdown-select {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 10;
  display: none;
  max-height: 180px;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  list-style: none;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .08);
}

.login-container .register-form .select-wrapper.open .dropdown-select {
  display: block;
}

.login-container .register-form .dropdown-item {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1E293B;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.login-container .register-form .dropdown-item:hover {
  background: #F1F5F9;
}

.wc2-app .form-row.form-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.select-wrapper::after {
  display: none;
}

.wc2-app .register-sub-title {
  color: #64748B;
  font-size: 18px;
  line-height: 24px;
}

.wc2-app .register-sub-title > strong {
  font-weight: 600;
  color: #1E293B;
}
