  /* Login page - split layout (reference: login-ui) */
:root {
  --primary-color1: #1781FE;
  --primary-color1-dark: #1266d4;
  --primary-color1-hover: #1572eb;
  --primary-color1-hover-dark: #0f5bc4;
}

.login-split {
  display: grid;
  min-height: 100vh;
  background: #fff;
}
@media (min-width: 992px) {
  .login-split {
    grid-template-columns: 1fr 1fr;
  }
}

.login-split-left {
  position: relative;
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  background: #fff;
}

.login-split-header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2rem;
  display: none;
}
@media (min-width: 992px) {
  .login-split-header {
    display: block;
  }
}

.login-split-header a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #101828;
  font-weight: 600;
  font-size: 1.125rem;
}

.login-split-body {
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 3rem 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .login-split-body {
    padding: 3rem 2rem;
  }
}
@media (min-width: 992px) {
  .login-split-body {
    padding: 0 2rem;
  }
}

.login-split-form-wrap {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.login-split-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .login-split-title-wrap {
    gap: 0.75rem;
  }
}

/* Title: keep on one line (e.g. "Establecer nueva contraseña"); scale down so long translations fit */
.login-split-title {
  font-size: clamp(1.15rem, 3vw + 0.5rem, 1.35rem);
  font-weight: 600;
  color: #101828;
  margin: 0;
  line-height: 1.25;
  max-width: 100%;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .login-split-title {
    font-size: clamp(1.25rem, 3vw + 0.5rem, 1.5rem);
  }
}

.login-split-subtitle {
  font-size: 1rem;
  color: #667085;
  margin: 0;
}

.login-split-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-split-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-split-fields-row {
  display: flex;
  gap: 1rem;
}
.login-split-fields-row .login-split-field {
  flex: 1;
  min-width: 0;
}

.login-split-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.login-split-field-full {
  width: 100%;
  min-width: 0;
}

.login-split-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #344054;
}

.login-split-field input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #101828;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: border-color 0.1s, box-shadow 0.1s;
}
.login-split-field input::placeholder {
  color: #98a2b3;
}
.login-split-field input:focus {
  outline: none;
  border-color: var(--primary-color1);
  box-shadow: 0 0 0 3px rgba(23, 129, 254, 0.2);
}

.login-split-field-hint {
  font-size: 0.75rem;
  color: #667085;
  margin-top: 0.125rem;
}

.login-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.login-split-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-split-remember input {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid #d0d5dd;
  accent-color: var(--primary-color1);
}
.login-split-remember label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #344054;
  margin: 0;
  cursor: pointer;
}

.login-split-forgot {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color1);
  text-decoration: none;
}
.login-split-forgot:hover {
  color: var(--primary-color1-dark);
}

.login-split-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-split-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, var(--primary-color1) 0%, var(--primary-color1-dark) 100%);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.login-split-btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--primary-color1-hover) 0%, var(--primary-color1-hover-dark) 100%);
}
.login-split-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-split-btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #344054;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.login-split-btn-google:hover {
  background: #f9fafb;
  border-color: #98a2b3;
}

.login-split-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  text-align: center;
}
.login-split-footer-links .login-split-text {
  font-size: 0.875rem;
  color: #667085;
}
.login-split-footer-links .login-split-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color1);
  text-decoration: none;
}
.login-split-footer-links .login-split-link:hover {
  color: var(--primary-color1-dark);
  text-decoration: underline;
}

/* Progressive registration - step indicator (register-ui style) */
.login-split-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
}
.login-split-step-item {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* so dot + connector sit at start and connector reaches next dot */
  flex: 1;
  min-width: 0;
}
.login-split-step-connector {
  flex: 1;
  min-width: 2.5rem;
  height: 2px;
  background: #e5e7eb;
  flex-shrink: 1;
}
.login-split-step-item.is-completed .login-split-step-connector {
  background: var(--primary-color1);
}
.login-split-step-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e5e7eb;
  border: 1.5px solid #d0d5dd;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.login-split-step-item.is-completed .login-split-step-dot {
  background: var(--primary-color1);
  border-color: var(--primary-color1);
  color: #fff;
}
.login-split-step-item.is-current .login-split-step-dot {
  background: #fff;
  border: 2px solid var(--primary-color1);
  box-shadow: 0 0 0 2px rgba(23, 129, 254, 0.2);
}
.login-split-step-item.is-current .login-split-step-dot::after {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary-color1);
}
.login-split-step-dot svg {
  width: 0.75rem;
  height: 0.75rem;
}

.login-split-page-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  padding-top: 2.75rem;
  display: none;
}
@media (min-width: 992px) {
  .login-split-page-footer {
    display: block;
  }
}

.login-split-page-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: #667085;
}

/* Right panel - quote / image */
.login-split-right {
  display: none;
  position: relative;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.5rem;
  overflow: hidden;
  padding: 3.5rem;
  border-radius: 80px 0 0 80px;
  background: #1a1a2e;
}

/* Loading skeleton: light right panel so it isn't black before skeleton.css loads (no-cache hard refresh) */
.login-split-skeleton .login-split-right {
  background: #f0f0f0;
}
@media (min-width: 992px) {
  .login-split-right {
    display: flex;
  }
}

.login-split-right-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 80px 0 0 80px;
  filter: brightness(0.95);
}

.login-split-right-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.35) 0%, transparent 22%),
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 20%, transparent 90%);
  background-size: 100% 100%, 100% 100%;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat;
  border-radius: 80px 0 0 80px;
}

/* Tour content (right panel) */
.login-split-tour-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* Smooth transition when changing tour slide */
.login-split-tour-slide {
  animation: login-tour-fade-in 0.35s ease-out;
}
@keyframes login-tour-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-split-tour-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .login-split-tour-title {
    font-size: 1.875rem;
  }
}

.login-split-tour-desc {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  max-width: 28rem;
}
@media (min-width: 768px) {
  .login-split-tour-desc {
    font-size: 1.125rem;
  }
}

.login-split-tour-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: opacity 0.15s;
}
.login-split-tour-link:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.login-split-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .login-split-quote {
    font-size: 1.875rem;
  }
}

.login-split-quote figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.login-split-quote-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
@media (min-width: 768px) {
  .login-split-quote-name {
    font-size: 1.5rem;
  }
}

.login-split-quote-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-style: normal;
}

.login-split-quote-company {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
  font-style: normal;
}

.login-split-quote-nav {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .login-split-quote-nav {
    gap: 2rem;
  }
}

.login-split-quote-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.login-split-quote-nav button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.85);
  opacity: 0.95;
  transform: scale(1.05);
}
.login-split-quote-nav button:active:not(:disabled) {
  transform: scale(0.98);
}
.login-split-quote-nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (min-width: 768px) {
  .login-split-quote-nav button {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.login-split-error {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 0.5rem;
}

/* Mobile: show logo above form */
.login-split-mobile-logo {
  display: block;
  margin-bottom: 0.5rem;
}
@media (min-width: 992px) {
  .login-split-mobile-logo {
    display: none;
  }
}

.login-split-mobile-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #101828;
  font-weight: 600;
  font-size: 1.25rem;
}

/* Phone dropdown: prevent selector and panel from being compressed */
.login-split-form .phone-country-code-selector {
  flex-shrink: 0;
  min-width: 130px;
}
.login-split-form .phone-code-wrapper .custom-select-dropdown {
  min-width: 130px;
}
/* Force dropdown panel to a fixed width so "Search...", country names aren't truncated */
.login-split-form .phone-code-wrapper .custom-select-wrap {
  min-width: 360px !important;
  width: 360px !important;
  max-width: min(400px, calc(100vw - 24px)) !important;
  box-sizing: border-box;
}
.login-split-form .phone-code-wrapper .custom-select-search-area,
.login-split-form .phone-code-wrapper .custom-select-search-area input {
  min-width: 0;
  box-sizing: border-box;
}
.login-split-form .phone-code-wrapper .custom-select-wrap .option-list {
  min-width: 0 !important;
}
.login-split-form .phone-input-wrapper {
  width: 100%;
  min-width: 0;
}
.login-split-form .phone-number-input {
  flex: 1;
  min-width: 120px;
}
