/* ==========================================================================
   ComerClaro Login — Material Horizon Split
   Archivo: assets/css/login_horizon.css
   ========================================================================== */

.cc-auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

html.dark .cc-auth-page {
  background: #050507;
}

.cc-auth-shell {
  width: min(100%, 1180px);
  position: relative;
  z-index: 2;
  animation: ccAuthIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ccAuthIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cc-auth-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
  padding: clamp(36px, 4vw, 56px);
  min-height: clamp(620px, 72vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html.dark .cc-auth-card {
  background: rgba(17, 17, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.cc-auth-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
  text-align: left;
}

.cc-auth-header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cc-auth-logo {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 52%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.28);
  position: relative;
  flex-shrink: 0;
}

.cc-auth-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 950;
  color: #0f172a;
}

html.dark .cc-auth-title {
  color: #ffffff;
}

.cc-auth-subtitle {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  color: #94a3b8;
}

html.dark .cc-auth-subtitle {
  color: #71717a;
}

.cc-auth-logo::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: rgba(16, 185, 129, 0.16);
  z-index: -1;
}

.cc-auth-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: #0f172a;
}

html.dark .cc-auth-title {
  color: #ffffff;
}

.cc-auth-subtitle {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  color: #94a3b8;
}

html.dark .cc-auth-subtitle {
  color: #71717a;
}

.cc-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(48px, 6vw, 76px);
  align-items: stretch;
}

.cc-auth-left,
.cc-auth-right {
  min-width: 0;
}

.cc-auth-right {
  border-left: 1px solid rgba(226, 232, 240, 0.92);
  padding-left: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

html.dark .cc-auth-right {
  border-left-color: rgba(255, 255, 255, 0.08);
}

.cc-auth-section-label {
  display: block;
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

html.dark .cc-auth-section-label {
  color: #71717a;
}

.cc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cc-auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-auth-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc-auth-label {
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  color: #64748b;
}

html.dark .cc-auth-label {
  color: #a1a1aa;
}

.cc-auth-link {
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  color: #10b981;
  text-decoration: none;
  transition: color 160ms ease;
}

.cc-auth-link:hover {
  color: #059669;
}

html.dark .cc-auth-link:hover {
  color: #34d399;
}

.cc-auth-input-wrap {
  position: relative;
}

.cc-auth-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
  transition: color 160ms ease;
}

.cc-auth-input {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: rgba(248, 250, 252, 0.82);
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  outline: none;
  padding: 0 44px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.cc-auth-input::placeholder {
  color: #94a3b8;
  font-weight: 750;
}

.cc-auth-input:focus {
  border-color: rgba(16, 185, 129, 0.72);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.12),
    0 12px 28px rgba(15, 23, 42, 0.06);
}

.cc-auth-input:focus+.cc-auth-input-icon,
.cc-auth-input-wrap:focus-within .cc-auth-input-icon {
  color: #10b981;
}

html.dark .cc-auth-input {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
}

html.dark .cc-auth-input::placeholder {
  color: #71717a;
}

html.dark .cc-auth-input:focus {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(16, 185, 129, 0.70);
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.22);
}

.cc-auth-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  border-radius: 12px;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.cc-auth-password-toggle:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.cc-auth-remember {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 17px;
  border: 1px solid rgba(203, 213, 225, 0.76);
  background: rgba(248, 250, 252, 0.68);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cc-auth-remember:hover {
  border-color: rgba(16, 185, 129, 0.36);
  background: rgba(236, 253, 245, 0.56);
}

html.dark .cc-auth-remember {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

html.dark .cc-auth-remember:hover {
  border-color: rgba(16, 185, 129, 0.30);
  background: rgba(16, 185, 129, 0.06);
}

.cc-auth-checkbox {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 1px;
  accent-color: #10b981;
  cursor: pointer;
}

.cc-auth-remember-title {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  color: #334155;
}

html.dark .cc-auth-remember-title {
  color: #e5e7eb;
}

.cc-auth-remember-text {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 700;
  color: #94a3b8;
}

html.dark .cc-auth-remember-text {
  color: #71717a;
}

.cc-auth-submit {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.cc-auth-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.18) 50%, transparent 62%);
  transform: translateX(-100%);
  transition: transform 520ms ease;
}

.cc-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(16, 185, 129, 0.30);
  filter: saturate(1.05);
}

.cc-auth-submit:hover::after {
  transform: translateX(100%);
}

.cc-auth-submit:active {
  transform: translateY(0) scale(0.99);
}

.cc-auth-submit:disabled {
  opacity: 0.68;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cc-auth-submit span {
  position: relative;
  z-index: 1;
}

.cc-auth-alert {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: ccAuthAlertIn 260ms ease both;
  min-height: 58px;
  align-items: center;
}

@keyframes ccAuthAlertIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cc-auth-alert__icon {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  align-self: center;
}

.cc-auth-alert__title {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.cc-auth-alert__text {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
  display: flex;
  align-items: center;
  min-height: 34px;
}

.cc-auth-alert--warning {
  background: rgba(255, 251, 235, 0.82);
  border-color: rgba(253, 230, 138, 0.95);
}

.cc-auth-alert--warning .cc-auth-alert__icon {
  background: #fef3c7;
  color: #d97706;
}

.cc-auth-alert--warning .cc-auth-alert__title {
  color: #92400e;
}

.cc-auth-alert--warning .cc-auth-alert__text {
  color: #a16207;
}

.cc-auth-alert--info {
  background: rgba(239, 246, 255, 0.82);
  border-color: rgba(191, 219, 254, 0.95);
}

.cc-auth-alert--info .cc-auth-alert__icon {
  background: #dbeafe;
  color: #2563eb;
}

.cc-auth-alert--info .cc-auth-alert__title {
  color: #1e40af;
}

.cc-auth-alert--info .cc-auth-alert__text {
  color: #2563eb;
}

.cc-auth-alert--error {
  background: rgba(254, 242, 242, 0.82);
  border-color: rgba(254, 202, 202, 0.95);
}

.cc-auth-alert--error .cc-auth-alert__icon {
  background: #fee2e2;
  color: #dc2626;
}

.cc-auth-alert--error .cc-auth-alert__text {
  color: #dc2626;
}

html.dark .cc-auth-alert--warning {
  background: rgba(245, 158, 11, 0.10);
  border-color: rgba(245, 158, 11, 0.22);
}

html.dark .cc-auth-alert--warning .cc-auth-alert__icon {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

html.dark .cc-auth-alert--warning .cc-auth-alert__title {
  color: #fcd34d;
}

html.dark .cc-auth-alert--warning .cc-auth-alert__text {
  color: #fbbf24;
}

html.dark .cc-auth-alert--info {
  background: rgba(59, 130, 246, 0.10);
  border-color: rgba(59, 130, 246, 0.22);
}

html.dark .cc-auth-alert--info .cc-auth-alert__icon {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

html.dark .cc-auth-alert--info .cc-auth-alert__title {
  color: #93c5fd;
}

html.dark .cc-auth-alert--info .cc-auth-alert__text {
  color: #60a5fa;
}

html.dark .cc-auth-alert--error {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.22);
}

html.dark .cc-auth-alert--error .cc-auth-alert__icon {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}

html.dark .cc-auth-alert--error .cc-auth-alert__text {
  color: #f87171;
}

.cc-auth-captcha {
  border-radius: 18px;
  display: flex;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.cc-auth-captcha .h-captcha {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cc-auth-captcha iframe {
  max-width: 100%;
}

.cc-auth-side-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cc-auth-social {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.78);
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.cc-auth-social:hover {
  border-color: rgba(148, 163, 184, 0.82);
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

html.dark .cc-auth-social {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  color: #e5e7eb;
}

html.dark .cc-auth-social:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.cc-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cc-auth-divider::before,
.cc-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(226, 232, 240, 0.92);
}

html.dark .cc-auth-divider {
  color: #52525b;
}

html.dark .cc-auth-divider::before,
html.dark .cc-auth-divider::after {
  background: rgba(255, 255, 255, 0.07);
}

.cc-auth-register {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.74);
  background: rgba(248, 250, 252, 0.78);
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.cc-auth-register:hover {
  border-color: rgba(16, 185, 129, 0.38);
  color: #059669;
  background: rgba(236, 253, 245, 0.72);
  transform: translateY(-1px);
}

html.dark .cc-auth-register {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
}

html.dark .cc-auth-register:hover {
  border-color: rgba(16, 185, 129, 0.30);
  background: rgba(16, 185, 129, 0.07);
  color: #34d399;
}

.cc-auth-oauth-error {
  border-radius: 15px;
  border: 1px solid rgba(254, 202, 202, 0.92);
  background: rgba(254, 242, 242, 0.86);
  color: #dc2626;
  padding: 12px 13px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
}

html.dark .cc-auth-oauth-error {
  border-color: rgba(239, 68, 68, 0.22);
  background: rgba(239, 68, 68, 0.10);
  color: #f87171;
}

.cc-auth-legal {
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.92);
}

html.dark .cc-auth-legal {
  border-top-color: rgba(255, 255, 255, 0.07);
}

.cc-auth-legal p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  color: #94a3b8;
}

html.dark .cc-auth-legal p {
  color: #71717a;
}

.cc-auth-legal a {
  color: #64748b;
  text-decoration: none;
  font-weight: 900;
  transition: color 160ms ease;
}

.cc-auth-legal a:hover {
  color: #10b981;
}

html.dark .cc-auth-legal a {
  color: #a1a1aa;
}

html.dark .cc-auth-legal a:hover {
  color: #34d399;
}

/* Autofill Chrome */
.cc-auth-input:-webkit-autofill {
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px rgba(248, 250, 252, 0.95) inset !important;
}

html.dark .cc-auth-input:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
  box-shadow: 0 0 0 1000px #151518 inset !important;
}

/* Responsive */
@media (max-width: 860px) {
  .cc-auth-shell {
    width: min(100%, 540px);
  }

  .cc-auth-card {
    border-radius: 30px;
    padding: 24px;
  }

  .cc-auth-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cc-auth-right {
    border-left: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.92);
    padding-left: 0;
    padding-top: 24px;
    justify-content: space-between;
    gap: 34px;
  }

  html.dark .cc-auth-right {
    border-top-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 520px) {
  .cc-auth-page {
    min-height: calc(100vh - 80px);
    align-items: flex-start;
    padding: 18px 12px 34px;
  }

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

  .cc-auth-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .cc-auth-title {
    font-size: 24px;
  }

  .cc-auth-subtitle {
    font-size: 12px;
  }

  .cc-auth-input,
  .cc-auth-submit,
  .cc-auth-social {
    height: 48px;
  }

  .cc-auth-remember {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cc-auth-shell,
  .cc-auth-alert {
    animation: none;
  }

  .cc-auth-submit,
  .cc-auth-social,
  .cc-auth-register,
  .cc-auth-input,
  .cc-auth-remember {
    transition: none;
  }
}


/* ==========================================================================
   Register page refinements
   ========================================================================== */

.cc-auth-shell--register {
  width: min(100%, 1180px);
}

.cc-auth-card--register {
  min-height: clamp(680px, 76vh, 820px);
}

.cc-auth-header--register {
  margin-bottom: 34px;
}

.cc-auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 17px;
  border: 1px solid rgba(203, 213, 225, 0.76);
  background: rgba(248, 250, 252, 0.68);
}

html.dark .cc-auth-terms {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cc-auth-terms input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: #10b981;
  cursor: pointer;
}

.cc-auth-terms label {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
  color: #64748b;
  cursor: pointer;
}

html.dark .cc-auth-terms label {
  color: #a1a1aa;
}

.cc-auth-terms a {
  color: #059669;
  font-weight: 950;
  text-decoration: none;
}

.cc-auth-terms a:hover {
  color: #10b981;
}

html.dark .cc-auth-terms a {
  color: #34d399;
}

.cc-auth-strength {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.cc-auth-strength__track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  position: relative;
}

html.dark .cc-auth-strength__track {
  background: rgba(255, 255, 255, 0.07);
}

.cc-auth-strength__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  transition: width 260ms ease, background 260ms ease;
}

.cc-auth-strength__label {
  min-width: 82px;
  text-align: right;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

[data-strength="1"] .cc-auth-strength__bar,
[data-strength="1"] .strength-bar {
  width: 25%;
  background: #ef4444;
}

[data-strength="2"] .cc-auth-strength__bar,
[data-strength="2"] .strength-bar {
  width: 50%;
  background: #f59e0b;
}

[data-strength="3"] .cc-auth-strength__bar,
[data-strength="3"] .strength-bar {
  width: 75%;
  background: #10b981;
}

[data-strength="4"] .cc-auth-strength__bar,
[data-strength="4"] .strength-bar {
  width: 100%;
  background: #059669;
}

.cc-auth-benefit-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 185, 129, 0.16);
  background: rgba(236, 253, 245, 0.55);
}

html.dark .cc-auth-benefit-card {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.18);
}

.cc-auth-benefit-title {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #047857;
  font-size: 13px;
  font-weight: 950;
}

html.dark .cc-auth-benefit-title {
  color: #34d399;
}

.cc-auth-benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cc-auth-benefit-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
  color: #64748b;
}

html.dark .cc-auth-benefit-list li {
  color: #a1a1aa;
}

.cc-auth-benefit-list i {
  margin-top: 2px;
  color: #10b981;
  font-size: 11px;
}

@media (max-width: 860px) {
  .cc-auth-card--register {
    min-height: auto;
  }

  .cc-auth-header--register {
    margin-bottom: 26px;
  }
}

.cc-auth-alert.hidden {
  display: none !important;
}

.cc-auth-page--register {
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px) 18px 64px;
}

.cc-auth-card--register {
  min-height: auto;
}

/* Register success state */
.cc-auth-success {
  min-height: min(520px, 70vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 5vw, 64px);
}

.cc-auth-success__icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(16, 185, 129, 0.10);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.16);
}

.cc-auth-success__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 950;
  color: #0f172a;
}

html.dark .cc-auth-success__title {
  color: #ffffff;
}

.cc-auth-success__text {
  margin: 0;
  max-width: 360px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

html.dark .cc-auth-success__text {
  color: #a1a1aa;
}

.cc-auth-success__bar {
  width: min(240px, 80%);
  height: 7px;
  margin: 28px 0 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
}

html.dark .cc-auth-success__bar {
  background: rgba(255, 255, 255, 0.07);
}

.cc-auth-success__bar div {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  background-size: 200% 100%;
  animation: ccAuthSuccessBar 1.8s linear infinite;
}

@keyframes ccAuthSuccessBar {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 200% 0;
  }
}

.cc-auth-success__meta {
  margin: 0;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html.dark .cc-auth-success__meta {
  color: #71717a;
}

@media (max-width: 520px) {
  .cc-auth-alert {
    min-height: auto;
    padding: 12px;
    gap: 10px;
  }

  .cc-auth-alert__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .cc-auth-alert__text {
    min-height: 30px;
    font-size: 12px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   Register mobile priority: social signup first
   ========================================================================== */

@media (max-width: 860px) {
  .cc-auth-card--register .cc-auth-grid {
    display: flex;
    flex-direction: column;
  }

  .cc-auth-card--register .cc-auth-right {
    order: 1;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 24px;
    margin-bottom: 2px;
  }

  html.dark .cc-auth-card--register .cc-auth-right {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .cc-auth-card--register .cc-auth-left {
    order: 2;
  }

  .cc-auth-card--register .cc-auth-side-main {
    gap: 14px;
  }

  .cc-auth-card--register .cc-auth-benefit-card {
    display: none;
  }
}