.auth-register-page {
  --auth-border: var(--border-primary);
  --auth-border-hi: var(--border-secondary);
  --auth-input-bg: var(--tertiary-bg);
  --auth-right-fg: var(--text-primary);
}

.auth-register-page,
.auth-register-page *,
.auth-register-page *::before,
.auth-register-page *::after {
  box-sizing: border-box;
}

.auth-register-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--primary-bg);
  font-family: 'DM Sans', sans-serif;
  display: flex;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

.auth-register-page #auth-contour {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.auth-register-page #panel-left {
  position: relative;
  z-index: 10;
  width: clamp(380px, 48vw, 620px);
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vh, 40px) clamp(24px, 3vw, 48px);
  background: var(--primary-bg);
  border-right: 1px solid var(--auth-border);
  overflow-y: auto;
}

.auth-register-page #panel-right {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vh, 52px) clamp(32px, 4vw, 60px);
  overflow: hidden;
}

.auth-register-page #panel-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.05) 60%, rgba(10, 10, 10, 0.4) 100%);
  z-index: 0;
}

[data-theme="light"] .auth-register-page #panel-right::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0.12) 100%);
}

.auth-register-page .logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 0;
  opacity: 0;
  animation: authFadeUp 0.6s ease 0.1s forwards;
}

.auth-register-page .logo-u {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.auth-register-page .logo-u.shimmer {
  background: linear-gradient(90deg, var(--text-primary) 0%, var(--text-secondary) 50%, var(--text-primary) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: authShimmer 3s linear infinite, authFadeUp 0.6s ease 0.1s forwards;
  opacity: 1;
}

@keyframes authShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.auth-register-page .logo-rest {
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 200;
  color: var(--text-secondary);
  letter-spacing: -0.03em;
}

.auth-register-page .logo-tag {
  margin-top: 4px;
  font-size: clamp(6px, 0.6vw, 7px);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: authFadeUp 0.5s ease 0.3s forwards;
}

.auth-register-page .form-header {
  margin-top: clamp(24px, 4vh, 40px);
  margin-bottom: clamp(16px, 2vh, 24px);
  opacity: 0;
  animation: authFadeUp 0.6s ease 0.4s forwards;
}

.auth-register-page .form-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.auth-register-page .form-sub {
  margin-top: 6px;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.auth-register-page .auth-register-form .row {
  margin-left: -8px;
  margin-right: -8px;
}

.auth-register-page .auth-register-form .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.auth-register-page .form-group {
  margin-bottom: clamp(12px, 1.5vh, 18px);
}

.auth-register-page .form-label,
.auth-register-page .phone-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.auth-register-page .form-label i,
.auth-register-page .phone-label i {
  margin-right: 6px;
  opacity: 0.8;
}

.auth-register-page .form-control,
.auth-register-page select.form-control {
  width: 100%;
  background: var(--auth-input-bg);
  border: 1px solid var(--auth-border);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 300;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-register-page .form-control::placeholder,
.auth-register-page select.form-control option {
  color: var(--text-muted);
}

.auth-register-page .form-control:focus,
.auth-register-page select.form-control:focus {
  border-color: var(--auth-border-hi);
  background: var(--secondary-bg);
}

.auth-register-page .phone-input-container {
  display: flex;
  align-items: stretch;
}

.auth-register-page .country-select {
  background: var(--auth-input-bg) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--auth-border) !important;
  border-right: 0 !important;
  border-radius: 4px 0 0 4px !important;
  padding: 10px 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: clamp(11px, 1vw, 13px) !important;
  min-width: 100px;
  max-width: 120px;
}

.auth-register-page .phone-input {
  flex: 1 !important;
  border-radius: 0 4px 4px 0 !important;
  border: 1px solid var(--auth-border) !important;
  background: var(--auth-input-bg) !important;
  color: var(--text-primary) !important;
  padding: 10px 14px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: clamp(11px, 1vw, 13px) !important;
}

.auth-register-page .phone-input:focus {
  border-color: var(--auth-border-hi) !important;
  background: var(--secondary-bg) !important;
}

.auth-register-page .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.auth-register-page .form-check-input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--text-primary);
  cursor: pointer;
}

.auth-register-page .form-check-label {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

.auth-register-page .form-check-label a {
  color: var(--text-primary);
  text-decoration: underline;
}

.auth-register-page .form-check-label a:hover {
  color: var(--accent-primary);
}

.auth-register-page .btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--text-primary);
  color: var(--primary-bg);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.auth-register-page .btn-primary:hover:not(:disabled) {
  background: var(--accent-primary);
  transform: translateY(-1px);
}

.auth-register-page .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-register-page .auth-register-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--auth-border);
  text-align: center;
  opacity: 0;
  animation: authFadeUp 0.5s ease 0.6s forwards;
}

.auth-register-page .auth-register-footer p {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.auth-register-page .auth-register-footer a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.auth-register-page .auth-register-footer a:hover {
  color: var(--text-primary);
}

.auth-register-page .text-danger {
  font-size: 11px;
  color: var(--danger-color);
  margin-top: 4px;
  display: block;
}

.auth-register-page .right-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vh, 18px);
  opacity: 0;
  animation: authFadeLeft 0.8s ease 0.6s forwards;
}

.auth-register-page .right-tag {
  font-size: clamp(7px, 0.65vw, 8px);
  font-weight: 500;
  color: var(--auth-right-fg);
  opacity: 0.25;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.auth-register-page .right-title {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  color: var(--auth-right-fg);
  opacity: 0.8;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.auth-register-page .right-title strong {
  font-weight: 700;
  opacity: 0.92;
}

.auth-register-page .right-divider {
  width: clamp(32px, 4vw, 52px);
  height: 1px;
  background: linear-gradient(90deg, var(--auth-right-fg), transparent);
  opacity: 0.25;
}

.auth-register-page .right-desc {
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 300;
  color: var(--auth-right-fg);
  opacity: 0.35;
  letter-spacing: 0.03em;
  line-height: 1.7;
  max-width: 320px;
}

.auth-register-page .right-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.auth-register-page .pill {
  padding: 5px 12px;
  border: 1px solid var(--auth-right-fg);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 500;
  color: var(--auth-right-fg);
  opacity: 0.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .auth-register-page .pill {
  background: rgba(0, 0, 0, 0.04);
}

.auth-register-page .right-coords {
  position: absolute;
  top: clamp(20px, 3vh, 36px);
  right: clamp(20px, 2.5vw, 36px);
  z-index: 1;
  text-align: right;
  opacity: 0;
  animation: authFadeIn 0.6s ease 1s forwards;
}

.auth-register-page .right-coords span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--auth-right-fg);
  opacity: 0.15;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  line-height: 1.8;
}

.auth-register-page #camposPJ {
  margin-top: 8px;
}

.auth-register-page .footer-left {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding-top: clamp(20px, 3vh, 32px);
  opacity: 0;
  animation: authFadeUp 0.5s ease 0.7s forwards;
}

.auth-register-page .footer-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.auth-register-page .footer-sep {
  width: 1px;
  height: 10px;
  background: var(--auth-border);
}

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

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

@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 680px) {
  .auth-register-page {
    overflow-y: auto;
  }

  .auth-register-page #panel-right {
    display: none;
  }

  .auth-register-page #panel-left {
    width: 100%;
    max-height: none;
  }
}
