:root {
    /* Theme colors - dark */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0a0a0a;
    --text-primary: #e3e3e3;
    --text-secondary: #A0AEC0;
    --accent: #ff1744;
    --accent-unhover: #ff1744;
    --accent-hover: #ff4569;
    --border: #35323a;
    --card-bg: #1A202C;

    --bg-secondary-rgb: 23, 25, 35;
    --accent-rgb: 255, 56, 100;

    /* --- LOGIN PAGE CUSTOM VARS --- */
    --text-main: #e3e3e3;
    --primary-accent: #ff1744;
    --primary-accent-dark: #b2102f;
    --gray-bg: #18171d;
    --gray-border: #35323a;
}

[data-theme="light"] {
    --bg-primary: #d1d1d1;
    --bg-secondary: #dddddd;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --accent: #ff1744;
    --accent-hover: #ff4569;
    --border: #E2E8F0;
    --card-bg: #e4e4e4; /* Changed from #FFFFFF to a subtle gray */

    --bg-secondary-rgb: 255, 255, 255;
    --accent-rgb: 255, 56, 100;

    /* --- LOGIN PAGE CUSTOM VARS (light) --- */
    --text-main: #1A202C;
    --primary-accent: #ff1744;
    --primary-accent-dark: #b2102f;
    --gray-bg: #e4e4e4;
    --gray-border: #E2E8F0;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* login/style.css: Distinct, modern login page styling (no glow, Barlow font) */
.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
}
.auth-main.auth-main-split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background) 0%, #18171d 100%);
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
}
.auth-card {
  background: var(--background);
  border-radius: 2.2rem;
  padding: 2.7rem 2.3rem 2.2rem 2.3rem;
  max-width: 370px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.3rem;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  border: 2.5px solid var(--primary-accent, #ff1744);
  box-shadow: 0 4px 32px 0 rgba(255,23,68,0.10);
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}
/* Remove infinite lines from .auth-card, only keep on info side */
.auth-card::before {
  display: none !important;
}
.auth-card > * {
  position: relative;
  z-index: 1;
}
.auth-card.auth-card-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: none;
  box-shadow: none;
  gap: 0;
  padding: 0;
  max-width: 1400px;
  width: 1400px;
  min-height: 800px;
  height: 800px;
}
.auth-card-info {
  margin-bottom: 1.2rem;
  padding: 1.1rem 1.2rem 1.1rem 1.2rem;
  background: var(--gray-bg);
  border-radius: 1.1rem;
  color: var(--text-main);
  font-size: 1.04rem;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  box-shadow: 0 1px 8px 0 rgba(24,23,29,0.08);
  border: 1px solid var(--gray-border);
  text-align: center;
}
.auth-card-info.auth-card-info-split {
  position: relative;
  flex: 1 1 0;
  background: linear-gradient(135deg, rgba(35,32,42,0.92) 60%, rgba(16,16,20,0.88) 100%);
  border-radius: 2.2rem 0 0 2.2rem;
  color: var(--text-main);
  padding: 2.7rem 2.2rem 2.7rem 2.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 800px;
  max-width: 800px;
  width: 800px;
  min-height: 900px !important;
  max-height: 900px !important;
  height: 900px !important;
  border-radius: 2.2rem 0 0 2.2rem !important;
  /* border-right: none !important; */
  box-shadow: 0 8px 40px 0 rgba(24,23,29,0.18), 0 0 0 2.5px var(--primary-accent-dark), 0 12px 48px 0 rgba(255,23,68,0.10);
  text-align: left;
  font-size: 1.08rem;
  gap: 1.5rem;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  overflow: hidden;
  z-index: 1;
  border-right: 2.5px solid var(--primary-accent, #ff1744);
}
.auth-card-info.auth-card-info-split::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 2.2rem 0 0 2.2rem;
  background: repeating-linear-gradient(120deg, rgba(255,23,68,0.07) 0 2px, transparent 2px 32px),
              linear-gradient(135deg, rgba(255,23,68,0.10) 0%, rgba(16,16,20,0.0) 100%);
  background-size: 64px 64px, 100% 100%;
  background-repeat: repeat;
  pointer-events: none;
  animation: panel-bg-move-loop 4s linear infinite;
}

@keyframes panel-bg-move-loop {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 64px 64px, 0 0; }
}
.auth-card-info.auth-card-info-split::after {
  content: '';
  position: absolute;
  left: -2px; top: -2px; bottom: -2px; width: 6px;
  border-radius: 2.2rem 0 0 2.2rem;
  background: linear-gradient(180deg, var(--primary-accent) 0%, #ff4569 50%, var(--accent-dark) 100%);
  filter: blur(6px) brightness(1.2);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  animation: border-glow 3.5s ease-in-out infinite alternate;
}
@keyframes border-glow {
  0% { opacity: 0.7; filter: blur(6px) brightness(1.2); }
  100% { opacity: 1; filter: blur(10px) brightness(1.4); }
}
.auth-card-info.auth-card-info-split h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-top: calc(0.2em - 100px);
  margin-bottom: 1.2em;
  letter-spacing: 0.04em;
  color: var(--primary-accent);
  text-shadow: 0 2px 18px rgba(255,23,68,0.18), 0 1px 0 #fff1;
  text-transform: uppercase;
  z-index: 2;
}
.auth-card-info.auth-card-info-split h2 {
  margin-bottom: 0.7em;
}
.auth-card-info.auth-card-info-split > div[style*='font-size:1.15rem'] {
  margin-bottom: 0.7em !important;
}
.auth-card-info.auth-card-info-split p {
  color: var(--text-main);
  font-size: 1.25rem;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  font-weight: 500;
  z-index: 2;
}
.auth-card-info.auth-card-info-split p {
  margin-bottom: 1.1rem;
}
.auth-card-info.auth-card-info-split ul.auth-info-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0.7rem 0;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  z-index: 2;
}
.auth-card-info.auth-card-info-split ul.auth-info-list {
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.auth-card-info.auth-card-info-split ul.auth-info-list li {
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  gap: 1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, rgba(255,23,68,0.11) 0%, rgba(35,32,42,0.0) 100%);
  border-radius: 0.8em;
  padding: 0.45em 1em 0.45em 0.6em;
  box-shadow: 0 1px 8px 0 rgba(255,23,68,0.04);
  position: relative;
}
.auth-card-info.auth-card-info-split ul.auth-info-list li {
  padding: 0.35em 0.8em 0.35em 0.5em;
}
.auth-card-info.auth-card-info-split > div[style*='font-size:1.05rem'] {
  margin: 1.2em 0 0 0 !important;
}
.auth-card-info.auth-card-info-split ul.auth-info-list li::before {
  content: '\2022';
  color: var(--primary-accent);
  font-size: 1.5em;
  margin-right: 0.5em;
  line-height: 1;
  filter: drop-shadow(0 0 4px var(--primary-accent-dark));
}
.auth-card-info.auth-card-info-split ul.auth-info-list i {
  color: var(--primary-accent);
  font-size: 1.18em;
  filter: drop-shadow(0 0 2px var(--primary-accent-dark));
  margin-right: 0.2em;
}
.auth-info-footer {
  display: none;
}
.auth-card-form {
  position: relative;
  flex: 1 1 0;
  background: var(--background);
  border-radius: 0 2.2rem 2.2rem 0;
  padding: calc(2.7rem - 100px) 2.3rem 2.2rem 2.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 600px;
  max-width: 600px;
  width: 600px;
  min-height: 900px;
  max-height: 900px;
  height: 900px;
  border-radius: 0 2.2rem 2.2rem 0 !important;
  /* border-left: none !important; */
  box-shadow: 0 8px 40px 0 rgba(24,23,29,0.18), 0 0 0 2.5px var(--primary-accent-dark), 0 12px 48px 0 rgba(255,23,68,0.10);
  /* Remove border-radius and shadow on the left so it connects flush */
  /* Remove box-shadow on the left edge only */
  clip-path: none;
  overflow: hidden;
  z-index: 1;
  transition: box-shadow 0.25s, background 0.25s;
  border-left: 2.5px solid var(--primary-accent, #ff1744);
}
.auth-card-form::before {
  display: none !important;
}
.auth-card-form::after {
  content: '';
  position: absolute;
  right: -2px; top: -2px; bottom: -2px; width: 6px;
  border-radius: 0 2.2rem 2.2rem 0;
  filter: blur(6px) brightness(1.2);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  animation: border-glow 3.5s ease-in-out infinite alternate-reverse;
}

.auth-card h1 {
  color: var(--primary-accent);
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  text-align: center;
}
.auth-card-form h1 {
  font-size: 2.4rem;
  margin-top: -100px;
  margin-bottom: 3rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  color: var(--text-main);
  font-size: 1.13rem;
  font-weight: 500;
}
.auth-form label {
  color: var(--primary-accent);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
  letter-spacing: 0.04em;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  text-shadow: 0 1px 8px rgba(255,23,68,0.08);
  text-transform: none;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  background: var(--gray-bg);
  border: 2px solid var(--primary-accent);
  border-radius: 1.1rem;
  color: var(--text-main);
  font-size: 1.18rem;
  padding: 1.2rem 1.4rem;
  outline: none;
  transition: border 0.22s, box-shadow 0.18s;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  margin-bottom: 0.05rem;
  box-shadow: 0 2px 12px 0 rgba(255,23,68,0.07);
  font-weight: 500;
}
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="text"]:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 2px var(--primary-accent), 0 2px 12px 0 rgba(255,23,68,0.13);
  background: var(--gray-bg);
  color: var(--text-main);
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  font-size: 1.18rem;
  padding: 1.2rem 1.4rem;
}
.auth-form {
  gap: 1rem;
}
.auth-alt {
  text-align: center;
  color: #aaa;
  font-size: 1rem;
  margin-top: 0.5rem;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
}
.auth-alt {
  font-size: 1.18rem;
  margin-top: 0.7rem;
}
.auth-alt .header-link {
  color: var(--primary-accent);
  font-weight: 700;
  margin-left: 0.3rem;
  text-decoration: none;
  transition: color 0.18s;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
}
.auth-alt .header-link:hover {
  color: var(--text-main);
}
.auth-error {
  background: var(--primary-accent);
  color: var(--text-main);
  border-radius: 0.7rem;
  padding: 0.7rem 1rem;
  margin-bottom: 0.7rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
}
.auth-error-message {
  color: #e94560 !important;
  background: #1a1a22 !important;
  border: 1px solid #e94560;
  border-radius: 7px;
  padding: 0.8em 1em;
  margin: 1em 0 0.5em 0;
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
  letter-spacing: 0.01em;
}
.auth-card-info.auth-card-info-split,
.auth-card-form {
  flex: 1 1 0;
  height: 100%;
  min-height: 900px !important;
  max-height: 900px !important;
  box-sizing: border-box;
  padding-top: 2.7rem;
  padding-bottom: 2.7rem;
}

/* Remove any margin or gap between the panels */
.auth-card-info.auth-card-info-split,
.auth-card-form {
  margin: 0 !important;
}

/* --- RESTORE LOGIN BUTTON STYLE --- */
.header-btn.header-btn-primary {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 1.08rem;
  padding: 1rem 0;
  border-radius: 2rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  background: linear-gradient(90deg, var(--primary-accent) 0%, #b2102f 100%);
  color: var(--text-main);
  border: none;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  cursor: pointer;
}
.header-btn.header-btn-primary:hover {
  background: linear-gradient(90deg, #b2102f 0%, var(--primary-accent) 100%);
  color: var(--text-main);
  transform: scale(1.04);
}

/* Style the terms of service link red with no text decoration */
.auth-form a.terms-link {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.18s;
}
.auth-form a.terms-link:hover {
  color: var(--primary-accent-dark);
  text-decoration: none;
}

/* Custom checkbox styles */
.tos-checkbox-row {
  display: flex;
  align-items: center;
  margin: 1.2em 0 0.5em 0;
  gap: 0.7em;
  position: relative;
}
.tos-checkbox-row input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25em;
  height: 1.25em;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  margin: 0;
}
.tos-checkbox-row .custom-checkbox {
  width: 1.25em;
  height: 1.25em;
  border: 2px solid var(--primary-accent);
  border-radius: 0.4em;
  background: var(--gray-bg);
  display: inline-block;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-right: 0;
}
.tos-checkbox-row input[type="checkbox"]:checked + .custom-checkbox {
  background: var(--primary-accent);
}
.tos-checkbox-row .custom-checkbox::after {
  content: '';
  position: absolute;
  left: 0.32em;
  top: 0.08em;
  width: 0.35em;
  height: 0.7em;
  border: solid #fff;
  border-width: 0 0.18em 0.18em 0;
  opacity: 0;
  transform: scale(0.7) rotate(40deg);
  transition: opacity 0.18s, transform 0.18s;
}
.tos-checkbox-row input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
  transform: scale(1) rotate(40deg);
}
.tos-label-text {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 500;
  user-select: none;
}
.tos-label-text .terms-link {
  color: var(--primary-accent);
  font-weight: 700;
  margin-left: 0.3em;
}

/* Custom login checkbox styles (matches signup premium style) */
/* Modern, unified custom login checkbox styles */
.auth-form > div:has(input[type="checkbox"][name="login"]) {
  display: flex;
  align-items: center;
  margin: 0.4em 0 0.5em 0;
  gap: 0.7em;
  position: relative;
}
.auth-form > div:has(input[type="checkbox"][name="login"]) input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25em;
  height: 1.25em;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  margin: 0;
}
.auth-form > div:has(input[type="checkbox"][name="login"]) .custom-checkbox {
  width: 1.25em;
  height: 1.25em;
  border: 2.2px solid var(--primary-accent);
  border-radius: 0.38em;
  background: var(--gray-bg);
  display: inline-block;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  cursor: pointer;
  margin-right: 0;
  box-shadow: 0 1px 4px 0 rgba(255,23,68,0.08);
}
.auth-form > div:has(input[type="checkbox"][name="login"]):not(:has(:checked)) .custom-checkbox {
  background: var(--gray-bg);
}
.auth-form > div:has(input[type="checkbox"][name="login"]) input[type="checkbox"]:checked + .custom-checkbox {
  background: var(--primary-accent);
  border-color: var(--primary-accent-dark);
  box-shadow: 0 2px 8px 0 rgba(255,23,68,0.13);
}
.auth-form > div:has(input[type="checkbox"][name="login"]) .custom-checkbox::after {
  content: '';
  position: absolute;
  left: 0.36em;
  top: 0.13em;
  width: 0.32em;
  height: 0.62em;
  border: solid #fff;
  border-width: 0 0.19em 0.19em 0;
  border-radius: 0.09em;
  opacity: 0;
  transform: scale(0.7) rotate(38deg);
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 0 2px 0 #fff8;
}
.auth-form > div:has(input[type="checkbox"][name="login"]) input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
  transform: scale(1) rotate(40deg);
}
.login-label-text {
  color: var(--text-main);
  font-size: 1.07rem;
  font-weight: 600;
  user-select: none;
  letter-spacing: 0.01em;
}

/* Apply login-checkbox-row styles to the login form's checkbox row using attribute selector for robustness */
.auth-form > div:has(input[type="checkbox"][name="login"]) {
  display: flex;
  align-items: center;
  margin: 1.2em 0 0.5em 0;
  gap: 0.7em;
  position: relative;
}
.auth-form > div:has(input[type="checkbox"][name="login"]) input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25em;
  height: 1.25em;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  margin: 0;
}
.auth-form > div:has(input[type="checkbox"][name="login"]) .custom-checkbox {
  width: 1.25em;
  height: 1.25em;
  border: 2px solid var(--primary-accent);
  border-radius: 0.4em;
  background: var(--gray-bg);
  display: inline-block;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-right: 0;
}
.auth-form > div:has(input[type="checkbox"][name="login"]):not(:has(:checked)) .custom-checkbox {
  background: var(--gray-bg);
}
.auth-form > div:has(input[type="checkbox"][name="login"]) input[type="checkbox"]:checked + .custom-checkbox {
  background: var(--primary-accent);
}
.auth-form > div:has(input[type="checkbox"][name="login"]) .custom-checkbox::after {
  content: '';
  position: absolute;
  left: 0.32em;
  top: 0.08em;
  width: 0.35em;
  height: 0.7em;
  border: solid #fff;
  border-width: 0 0.18em 0.18em 0;
  opacity: 0;
  transform: scale(0.7) rotate(40deg);
  transition: opacity 0.18s, transform 0.18s;
}
.auth-form > div:has(input[type="checkbox"][name="login"]) input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
  transform: scale(1) rotate(40deg);
}

/* Responsive: stacked panels */
@media (max-width: 900px) {
  .auth-main.auth-main-split {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .auth-card.auth-card-split {
    flex-direction: column;
    max-width: 98vw;
    width: 98vw;
    min-width: 0;
    height: auto;
    box-shadow: none;
    gap: 1.2rem;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
  }
  .auth-card-info.auth-card-info-split,
  .auth-card-form {
    min-width: 0;
    max-width: 480px;
    width: 95vw;
    box-sizing: border-box;
    padding: 8px !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .auth-card-info.auth-card-info-split {
    border-radius: 1.5rem !important;
    box-shadow: 0 4px 32px 0 rgba(255,23,68,0.18), 0 0 0 2.5px var(--primary-accent-dark), 0 8px 32px 0 rgba(255,23,68,0.10);
    font-size: 1rem;
    text-align: center;
    align-items: center;
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
  }
  .auth-card-form {
    border-radius: 1.5rem !important;
    box-shadow: 0 4px 32px 0 rgba(255,23,68,0.18), 0 0 0 2.5px var(--primary-accent-dark), 0 8px 32px 0 rgba(255,23,68,0.10);
  }
}
@media (max-width: 600px) {
  .auth-card.auth-card-split {
    max-width: 100vw;
    width: 100vw;
    min-width: 0;
    align-items: center;
    justify-content: center;
  }
  .auth-card-info.auth-card-info-split,
  .auth-card-form {
    max-width: 98vw;
    width: 98vw;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }
}
/* Remove default browser eye icon in password fields */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-input-decoration,
input[type="password"]::-webkit-textfield-decoration-container {
  display: none !important;
}
input[type="password"]::-o-clear {
  display: none;
}
input[type="text"]::-ms-reveal,
input[type="text"]::-ms-clear {
  display: none;
}
input[type="text"]::-webkit-credentials-auto-fill-button,
input[type="text"]::-webkit-input-decoration,
input[type="text"]::-webkit-textfield-decoration-container {
  display: none !important;
}
input[type="text"]::-o-clear {
  display: none;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-wrapper input {
  width: 100%;
  padding-right: 2.5em;
}
.toggle-password-visibility {
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--primary-accent);
  font-size: 1.2em;
  z-index: 2;
  transition: color 0.18s, transform 0.18s;
}
.toggle-password-visibility i {
  transition: transform 0.28s cubic-bezier(.4,2,.6,1), color 0.18s;
}
.toggle-password-visibility.visible i {
  transform: rotate(-18deg) scale(1.18);
  color: var(--primary-accent-dark);
}
.toggle-password-visibility:hover i {
  color: var(--accent-hover);
  transform: scale(1.13);
}

/* Remove all backgrounds and box-shadows from outer containers so only body background is visible */
.auth-main.auth-main-split,
.auth-card.auth-card-split,
.auth-card-info.auth-card-info-split,
.auth-card-form {
  background: none !important;
}

/* Make info panel description and trust lines dark in light mode */
[data-theme="light"] .auth-card-info.auth-card-info-split > div[style*='font-size:1.08rem'],
[data-theme="light"] .auth-card-info.auth-card-info-split > div[style*='font-size:1.05rem'] {
  color: var(--text-main) !important;
}