

:root {
  --primary-orange: #DF7B3C;
  --primary-orange-hover: #C9682C;
  --primary-orange-glow: rgba(223, 123, 60, 0.45);
  --primary-gradient: linear-gradient(135deg, #FF8F4D 0%, #DF7B3C 50%, #C86427 100%);
  --primary-gradient-hover: linear-gradient(135deg, #FFA066 0%, #E88343 50%, #D56C2B 100%);

  --bg-dark: #0F1015;
  --bg-card-glass: rgba(22, 24, 33, 0.78);
  --bg-input: rgba(255, 255, 255, 0.06);
  --bg-input-hover: rgba(255, 255, 255, 0.09);
  --bg-input-focus: rgba(255, 255, 255, 0.12);

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-focus: #DF7B3C;
  --border-input: rgba(255, 255, 255, 0.14);

  --text-main: #FFFFFF;
  --text-muted: #A3A3B2;
  --text-subtle: #737384;
  --text-orange: #FF975A;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 9999px;

  --font-logo: 'Caveat', 'Pacifico', cursive;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 45px rgba(223, 123, 60, 0.15);
  --shadow-btn: 0 8px 24px -4px rgba(223, 123, 60, 0.45);
  --shadow-btn-hover: 0 12px 30px -2px rgba(223, 123, 60, 0.6);
  --shadow-input-focus: 0 0 0 4px rgba(223, 123, 60, 0.22);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.video-background-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.05);
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
  transition: opacity 1s ease-in-out;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 25%, rgba(223, 123, 60, 0.18) 0%, rgba(15, 16, 21, 0.78) 55%, rgba(10, 11, 15, 0.92) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  width: 380px;
  height: 380px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(223, 123, 60, 0.4), transparent 70%);
}

.ambient-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
  animation-delay: -6s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 30px) scale(1.15);
  }
}

.page-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  z-index: 1;
}

.auth-desktop-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.auth-showcase-panel {
  display: none;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  animation: cardAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 143, 77, 0.8), rgba(223, 123, 60, 0.9), transparent);
  pointer-events: none;
}

@keyframes cardAppear {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-header {
  text-align: center;
  margin-bottom: 24px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.brand-badge:hover {
  transform: scale(1.03);
}

.brand-responsive-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}

.brand-responsive-logo img,
.brand-badge .brand-logo-img,
.showcase-brand .brand-logo-img {
  width: 38px;
  height: 38px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-badge:hover .brand-logo-img,
.showcase-brand:hover .brand-logo-img {
  transform: rotate(6deg) scale(1.06);
}

@media (min-width: 768px) {
  .brand-responsive-logo img,
  .brand-badge .brand-logo-img,
  .showcase-brand .brand-logo-img {
    width: auto;
    height: 45px;
    max-width: 220px;
    max-height: 50px;
    border-radius: 0;
    object-fit: contain;
    display: block;
  }
}

.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(223, 123, 60, 0.4);
  color: #FFFFFF;
}

.brand-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand-name {
  font-family: var(--font-logo);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE3D1 60%, #FFB68B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 16px rgba(223, 123, 60, 0.3);
}

.brand-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.sliding-nav-container {
  position: relative;
  background: rgba(10, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.sliding-nav-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: var(--primary-gradient);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: transform var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.sliding-nav-container.register-active .sliding-nav-indicator {
  transform: translateX(100%);
}

.nav-toggle-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color var(--transition-smooth), transform var(--transition-fast);
  outline: none;
  user-select: none;
}

.nav-toggle-btn:hover {
  color: var(--text-main);
}

.nav-toggle-btn.active {
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.nav-toggle-btn:active {
  transform: scale(0.97);
}

.forms-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.forms-track {
  width: 200%;
  display: flex;
  transition: transform var(--transition-smooth);
}

.forms-viewport.register-active .forms-track {
  transform: translateX(-50%);
}

.form-slide {
  width: 50%;
  padding: 4px 2px 2px 2px;
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.forms-viewport:not(.register-active) .register-slide {
  opacity: 0.3;
  pointer-events: none;
}

.forms-viewport.register-active .login-slide {
  opacity: 0.3;
  pointer-events: none;
}

.form-title-group {
  margin-bottom: 20px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.google-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.google-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 255, 255, 0.1);
}

.google-btn:hover::before {
  opacity: 1;
}

.google-btn:active {
  transform: translateY(1px) scale(0.99);
}

.google-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.divider-text {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  position: relative;
}

.input-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  pointer-events: none;
  transition: color var(--transition-fast);
  stroke-width: 2;
}

.form-input {
  width: 100%;
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 0 44px 0 42px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 400;
}

.form-input:hover {
  background: var(--bg-input-hover);
  border-color: rgba(255, 255, 255, 0.24);
}

.form-input:focus {
  background: var(--bg-input-focus);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-input-focus);
}

.form-input:focus ~ .input-icon-left,
.input-wrapper:focus-within .input-icon-left {
  color: var(--primary-orange);
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  outline: none;
}

.password-toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.input-error-msg {
  font-size: 11.5px;
  color: #FF5A5A;
  margin-top: 3px;
  display: none;
  align-items: center;
  gap: 4px;
}

.input-group.has-error .form-input {
  border-color: #FF5A5A;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.2);
}

.input-group.has-error .input-error-msg {
  display: flex;
}

.password-strength-container {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  height: 4px;
}

.strength-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.strength-label {
  font-size: 11px;
  color: var(--text-subtle);
  display: flex;
  justify-content: space-between;
}

.strength-status {
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 20px 0;
  font-size: 13px;
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--text-muted);
  font-size: 12.5px;
  transition: color var(--transition-fast);
}

.custom-checkbox-label:hover {
  color: var(--text-main);
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-input);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.custom-checkbox-box svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.custom-checkbox-input:checked + .custom-checkbox-box {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  box-shadow: 0 0 10px rgba(223, 123, 60, 0.4);
}

.custom-checkbox-input:checked + .custom-checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.terms-checkbox-group {
  margin: 12px 0 18px 0;
}

.terms-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.text-link {
  color: var(--text-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

.text-link:hover {
  color: #FFB380;
  text-decoration: underline;
}

.auth-legal-footer a:hover {
  color: var(--primary-orange) !important;
  text-decoration: underline;
}

.forgot-link {
  font-size: 12.5px;
}

.submit-btn {
  width: 100%;
  height: 50px;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.submit-btn:hover {
  background: var(--primary-gradient-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 4px 14px rgba(223, 123, 60, 0.35);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.submit-btn:hover svg {
  transform: translateX(3px);
}

.submit-btn.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading svg {
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.card-footer-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.switch-inline-btn {
  background: transparent;
  border: none;
  color: var(--text-orange);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.switch-inline-btn:hover {
  color: #FFB380;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 400px;
  background: rgba(24, 26, 36, 0.92);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.92) translateY(10px);
  transition: all var(--transition-bounce);
  position: relative;
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

@keyframes dialogShake {
  0%, 100% { transform: scale(1) translateX(0); }
  20%, 60% { transform: scale(1) translateX(-7px); }
  40%, 80% { transform: scale(1) translateX(7px); }
}

.modal-dialog.shake-dialog {
  animation: dialogShake 0.35s ease-in-out !important;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.modal-title {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.45;
}

.toast-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(22, 24, 33, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(223, 123, 60, 0.25);
  z-index: 200;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 90%;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon.success {
  background: #10B981;
  color: #FFFFFF;
}

.toast-icon.error {
  background: #EF4444;
  color: #FFFFFF;
}

.toast-icon.info {
  background: var(--primary-orange);
  color: #FFFFFF;
}

.toast-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 16px 12px;
  }

  .auth-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .brand-name {
    font-size: 30px;
  }

  .brand-icon-wrapper {
    width: 38px;
    height: 38px;
  }

  .brand-icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .form-title {
    font-size: 18px;
  }

  .form-input {
    height: 46px;
    font-size: 13.5px;
  }

  .submit-btn {
    height: 48px;
    font-size: 14.5px;
  }
}

@media (min-width: 960px) {
  .page-wrapper {
    padding: 40px 32px;
  }

  .auth-desktop-container {
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1.15fr 460px;
    gap: 56px;
    align-items: center;
    justify-content: center;
  }

  .auth-showcase-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--text-main);
    padding-right: 20px;
    animation: cardAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .showcase-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: fit-content;
  }

  .showcase-brand-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 6px 18px var(--primary-orange-glow);
  }

  .showcase-brand-icon svg {
    width: 26px;
    height: 26px;
  }

  .showcase-brand-name {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-orange);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(223, 123, 60, 0.4);
  }

  .showcase-hero-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 30%, #E2E2EA 70%, #FF975A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
  }

  .showcase-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 520px;
  }

  .showcase-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
  }

  .showcase-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px 18px;
    transition: all 0.25s ease;
  }

  .showcase-feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(223, 123, 60, 0.4);
    transform: translateX(4px);
  }

  .feature-icon-badge {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
  }

  .feature-text h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
  }

  .feature-text p {
    font-size: 0.84rem;
    color: var(--text-subtle);
    line-height: 1.4;
  }

  .showcase-stats-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(22, 24, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 10px 24px;
    width: fit-content;
    margin-top: 8px;
  }

  .showcase-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .stat-highlight {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-orange);
  }

  .stat-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .showcase-stat-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
  }

  .auth-card {
    max-width: 460px;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: rgba(22, 24, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.85), 0 0 45px rgba(223, 123, 60, 0.2);
  border-radius: 24px;
  padding: 32px 28px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.08);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-info-box {
  background: rgba(223, 123, 60, 0.12);
  border: 1px solid rgba(223, 123, 60, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.otp-single-input {
  letter-spacing: 10px;
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  font-family: 'Inter', monospace;
}

.otp-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.resend-link-btn {
  background: none;
  border: none;
  color: var(--text-orange);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.resend-link-btn:disabled {
  color: var(--text-subtle);
  cursor: not-allowed;
  opacity: 0.6;
}

.resend-link-btn:not(:disabled):hover {
  text-decoration: underline;
  color: #FFA066;
}

.email-hint {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 6px;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.email-hint.valid {
  color: #10B981;
}

.email-hint.invalid {
  color: #EF4444;
}

.email-domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.domain-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-pill:hover {
  background: rgba(223, 123, 60, 0.2);
  border-color: var(--primary-orange);
  color: #fff;
}

.step-pane {
  display: none;
  animation: fadeInStep 0.3s ease forwards;
}

.step-pane.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pending-reg-banner {
  background: linear-gradient(135deg, rgba(223, 123, 60, 0.16) 0%, rgba(200, 100, 39, 0.24) 100%);
  border: 1px solid rgba(223, 123, 60, 0.45);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  animation: fadeInStep 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 4px 18px rgba(223, 123, 60, 0.15);
}

.pending-reg-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pending-reg-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(223, 123, 60, 0.25);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pending-reg-text {
  min-width: 0;
}

.pending-reg-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.pending-reg-email {
  font-size: 0.76rem;
  color: var(--text-orange);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.pending-reg-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pending-reg-btn-resume {
  background: var(--primary-gradient);
  border: none;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(223, 123, 60, 0.4);
}

.pending-reg-btn-resume:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223, 123, 60, 0.55);
}

.pending-reg-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
}

.pending-reg-btn-cancel:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #EF4444;
}

