.hvc-auth-page {
  --bg: #f2f7ff;
  --card: #ffffff;
  --text: #eb5f12;
  --muted: #000000;
  --accent: #eb5f12;
  --accent-hover: #d6530f;
  --border: #d1d5db;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.hvc-auth-page,
.hvc-auth-page * {
  box-sizing: border-box;
}

.hvc-auth-page .left-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eb5f12;
  padding: 100px;
}

.hvc-auth-page .card {
  width: 100%;
  max-height: calc(100vh - 200px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 50px 40px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.hvc-auth-page .visual-panel {
  width: 100%;
  min-height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hvc-auth-page .visual-image-wrap {
  position: relative;
  width: fit-content;
}

.hvc-auth-page .visual-image {
  width: 450px;
  height: auto;
  display: block;
  border: 10px solid #eb5f12;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  background: #ffffff;
}

.hvc-auth-page .visual-logo {
  position: absolute;
  left: -50px;
  bottom: -50px;
  width: 180px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.hvc-auth-page h1 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.hvc-auth-page h2 {
  color: var(--text) !important;
}

.hvc-auth-page .brand-title {
  color: var(--accent) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 28px;
  font-weight: 900;
  margin-top: -15px;
  margin-bottom: 25px;
}

.hvc-auth-page .subtitle {
  color: var(--text) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 20px;
  margin-bottom: 20px;
}

.hvc-auth-page .card p {
  margin-top: 4px;
  margin-bottom: 20px;
}

.hvc-auth-page .invite-status-notice {
  margin: -24px 0 28px;
  padding: 18px 20px;
  border: 1px solid #f2b78f;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  background: #fff7f1;
  color: #3f2a1f;
}

.hvc-auth-page .invite-status-notice h3 {
  margin: 0 0 8px;
  color: #9a3c08;
  font-size: 1rem;
  font-weight: 900;
}

.hvc-auth-page .invite-status-notice p {
  margin: 0 0 8px;
  color: #3f2a1f;
  line-height: 1.55;
}

.hvc-auth-page .invite-status-notice p:last-child {
  margin-bottom: 0;
}

.hvc-auth-page p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.hvc-auth-page .field {
  margin-top: 10px;
  margin-bottom: 20px;
}

.hvc-auth-page .field-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.8fr) minmax(130px, 1.2fr) minmax(150px, 1.2fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hvc-auth-page .field-row.field-row-two {
  grid-template-columns: 1fr 1fr;
}

.hvc-auth-page .field-row .field {
  margin-bottom: 0;
  min-width: 0;
}

.hvc-auth-page .field-row .field:not(.input-icon) input {
  padding-left: 14px;
  padding-right: 14px;
}

.hvc-auth-page .link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
}

.hvc-auth-page .hint {
  margin-top: 6px;
  margin-left: 15px;
  font-size: 0.85rem;
  min-height: 1.1em;
  font-weight: 500;
}

.hvc-auth-page .hint.success,
.hvc-auth-page #email-hint.success,
.hvc-auth-page #hvc-invite-message.success,
.hvc-auth-page #hvc-invite-message-register.success {
  color: #008000;
}

.hvc-auth-page .hint.error,
.hvc-auth-page #email-hint.error,
.hvc-auth-page #hvc-invite-message.error,
.hvc-auth-page #hvc-invite-message-register.error,
.hvc-auth-page #forgot-password-message.error,
.hvc-auth-page #forgot-email-hint.error {
  color: #b91c1c;
}

.hvc-auth-page input::placeholder {
  color: #eb5f12;
  font-family: "Montserrat", sans-serif;
  opacity: 0.8;
}

.hvc-auth-page .section {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, max-height 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.hvc-auth-page .section.visible {
  opacity: 1;
  max-height: 1200px;
  transform: translateY(0);
  pointer-events: auto;
}

.hvc-auth-page #email-hint,
.hvc-auth-page #email-hint.loading,
.hvc-auth-page #hvc-invite-message.loading,
.hvc-auth-page #hvc-invite-message-register.loading,
.hvc-auth-page #forgot-password-message.loading {
  color: var(--accent);
}

.hvc-auth-page #hvc-invite-message:empty,
.hvc-auth-page #hvc-invite-message-register:empty {
  display: none;
}

.hvc-auth-page #hvc-invite-message.show,
.hvc-auth-page #hvc-invite-message-register.show {
  display: block;
}

.hvc-auth-page #forgot-password-message,
.hvc-auth-page #forgot-email-hint {
  display: block;
}

.hvc-auth-page #forgot-password-message {
  margin-top: 12px;
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-weight: 700;
}

.hvc-auth-page #forgot-password-message.show {
  opacity: 1;
  transform: translateY(0);
}

.hvc-auth-page #forgot-password-message.success {
  color: var(--accent);
}

.hvc-auth-page .forgot-password-success {
  --forgot-success-bg: #edf8ef;
  --forgot-success-border: #c8e6c9;
  --forgot-success-text: #256b35;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 8px 0 24px;
  padding: 18px;
  border: 1px solid var(--forgot-success-border);
  border-radius: 12px;
  background: var(--forgot-success-bg);
  color: var(--forgot-success-text);
}

.hvc-auth-page .forgot-password-success-icon {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--forgot-success-text);
  font-size: 21px;
}

.hvc-auth-page .forgot-password-success-content {
  min-width: 0;
}

.hvc-auth-page .forgot-password-success h3 {
  margin: 1px 0 8px;
  color: var(--forgot-success-text);
  font-size: 1rem;
  font-weight: 700;
}

.hvc-auth-page .forgot-password-success p {
  margin: 0 0 8px;
  color: var(--forgot-success-text);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hvc-auth-page .forgot-password-success p:last-child {
  margin-bottom: 0;
}

.hvc-auth-page #email-hint.checking,
.hvc-auth-page .hint.checking {
  color: var(--accent);
  font-style: italic;
}

.hvc-auth-page .hidden {
  display: none;
}

.hvc-auth-page [hidden] {
  display: none !important;
}

.hvc-auth-page input {
  width: 100%;
  color: #eb5f12;
  -webkit-text-fill-color: #eb5f12;
  font-family: "Montserrat", sans-serif;
  padding: 11px 25px;
  background: #ffefe6;
  border: 2px solid #eb5f12;
  border-radius: 10px;
  font-size: 0.95rem !important;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hvc-auth-page .input-icon {
  width: 100%;
}

.hvc-auth-page .input-icon .input-control {
  position: relative;
}

.hvc-auth-page .input-icon input {
  padding-left: 60px !important;
}

.hvc-auth-page .input-icon .iconify {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #eb5f12;
  width: 20px;
  height: 20px;
  font-size: 20px;
  display: inline-block;
  pointer-events: none;
}

.hvc-auth-page .password-field {
  position: relative;
}

.hvc-auth-page .password-field input {
  padding-right: 52px;
}

.hvc-auth-page .toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #eb5f12;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hvc-auth-page .toggle-password svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hvc-auth-page .toggle-password .eye-off-line {
  display: none;
}

.hvc-auth-page .toggle-password.is-visible .eye-off-line {
  display: block;
}

.hvc-auth-page .toggle-password:focus-visible {
  outline: 2px solid #eb5f12;
  outline-offset: 2px;
}

.hvc-auth-page input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

.hvc-auth-page .field.filled input {
  border-color: var(--accent);
  -webkit-box-shadow: 0 0 0 1000px #ffefe6 inset !important;
  box-shadow: 0 0 0 1000px #ffefe6 inset !important;
  -webkit-text-fill-color: #eb5f12 !important;
}

.hvc-auth-page .field.filled .iconify {
  color: var(--accent);
}

.hvc-auth-page .field.filled input:focus {
  -webkit-text-fill-color: #eb5f12 !important;
  color: #eb5f12 !important;
}

@keyframes hvcAutofillStart {
  from { }
  to { }
}

.hvc-auth-page input:-webkit-autofill {
  animation-name: hvcAutofillStart;
  animation-duration: 0.01s;
}

.hvc-auth-page input:-webkit-autofill,
.hvc-auth-page input:-webkit-autofill:hover,
.hvc-auth-page input:-webkit-autofill:focus,
.hvc-auth-page input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ra-brand, #eb5f12) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ra-brand-tint, #fff1e8) inset !important;
  box-shadow: 0 0 0 1000px var(--ra-brand-tint, #fff1e8) inset !important;
  transition: background-color 9999s ease-in-out 0s;
  caret-color: var(--ra-brand, #eb5f12) !important;
  font-family: "Montserrat", sans-serif;
}

.hvc-auth-page .btn-primary:hover {
  color: var(--card);
}

.hvc-auth-page button:not(.toggle-password) {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.2s;
}

.hvc-auth-page button:not(.toggle-password):hover {
  background: var(--accent-hover);
}

.hvc-auth-page input,
.hvc-auth-page input::placeholder,
.hvc-auth-page * {
  font-family: "Montserrat", sans-serif !important;
}

.hvc-auth-page input,
.hvc-auth-page input::placeholder {
  font-weight: 500 !important;
}

.hvc-auth-page .input-row.input-name {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 12px;
  align-items: start;
}

.hvc-auth-page .input-row.input-location {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  align-items: start;
}

.hvc-auth-page #account-flow-form {
  margin-top: -25px !important;
  --formfieldborderradius: 10px;
}

@media (min-width: 1600px) {
  .hvc-auth-page {
    width: 100%;
    margin: 0 auto;
    zoom: 1.1;
    min-height: calc(100vh / 1.1);
  }

  .hvc-auth-page .left-panel,
  .hvc-auth-page .visual-panel {
    padding: 60px;
  }
}

@media (max-width: 900px) {
  .hvc-auth-page {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }

  .hvc-auth-page .visual-panel {
    min-height: 260px;
  }

  .hvc-auth-page .left-panel {
    display: block;
    padding: 50px;
  }

  .hvc-auth-page .card {
    padding: 50px;
    max-height: none;
  }

  .hvc-auth-page .field-row,
  .hvc-auth-page .input-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
