body.customer-layout-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fbff;
}

body.customer-layout-body > .site-header,
body.customer-layout-body > .customer-page-flow,
body.customer-layout-body > .site-footer {
  width: 100%;
}

body.customer-layout-body > .customer-page-flow {
  flex: 1 0 auto;
}

body.customer-layout-body > .site-footer {
  flex: 0 0 auto;
  margin-top: 0;
}

body.auth-rion-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f3f5f9;
}

html:has(body.auth-rion-body) {
  background-color: #f3f5f9;
}

body.auth-rion-body > .site-header,
body.auth-rion-body > .customer-page-flow,
body.auth-rion-body > .site-footer {
  width: 100%;
}

body.auth-rion-body > .customer-page-flow {
  flex: 1 0 auto;
}

body.auth-rion-body > .site-footer {
  flex: 0 0 auto;
}

body.auth-rion-body > :not(.modal):not(.modal-backdrop) {
  position: relative;
  z-index: 1;
}

body.auth-rion-body > .modal {
  z-index: 1055;
}

body.auth-rion-body > .modal-backdrop {
  z-index: 1050;
}

body.auth-rion-body .modal-backdrop.show {
  opacity: 0.58;
}

body.auth-rion-body .auth-legal-modal {
  z-index: 1060;
}

body.auth-rion-body .site-header {
  position: relative;
  z-index: 30;
}

body.auth-rion-body .customer-page-flow {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.375rem 0;
}

body.auth-rion-body .auth-split-page {
  display: flex;
  align-items: center;
}

body.auth-rion-body .auth-split-section {
  display: flex;
  align-items: center;
  width: 100%;
}

body.auth-rion-body .auth-split-section > .site-container {
  margin-top: auto;
  margin-bottom: auto;
}

body.auth-rion-body .site-container {
  max-width: var(--container-width, 1440px);
  margin-inline: auto;
}

body.auth-rion-body .auth-split-page .site-container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

body.auth-rion-body .auth-split-section > .site-container {
  width: 100%;
  justify-content: flex-start;
}

body.auth-rion-body .auth-split-page,
body.auth-rion-body .auth-solo-page,
body.auth-rion-body .auth-split-section,
body.auth-rion-body .auth-solo-section,
body.auth-rion-body .auth-split-section > .site-container,
body.auth-rion-body .auth-solo-section > .site-container,
body.auth-rion-body .auth-split-shell,
body.auth-rion-body .auth-solo-shell,
body.auth-rion-body .auth-split-panel,
body.auth-rion-body .auth-solo-panel {
  width: 100%;
}

body.auth-rion-body .auth-split-section,
body.auth-rion-body .auth-solo-section {
  padding: 0;
}

body.auth-rion-body .auth-split-section > .site-container {
  min-height: clamp(440px, calc(100vh - 140px), 560px);
  display: flex;
  align-items: stretch;
}

body.auth-rion-body .auth-split-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.74fr);
  gap: 0.95rem;
  align-items: stretch;
}

body.auth-rion-body .auth-split-panel {
  display: flex;
  min-width: 0;
  align-self: center;
}

body.auth-rion-body .auth-login-modern-form-panel,
body.auth-rion-body .auth-login-modern-brand-panel {
  display: flex;
  align-items: center;
}

body.auth-rion-body .auth-login-modern-form-panel {
  justify-content: flex-start;
}

body.auth-rion-body .auth-login-modern-brand-panel {
  justify-content: flex-end;
}

body.auth-rion-body .auth-login-modern-form-card,
body.auth-rion-body .auth-login-modern-brand-card {
  width: 100%;
}

body.auth-rion-body .site-footer {
  margin-top: 0.625rem;
}

@media (max-width: 991.98px) {
  body.auth-rion-body .site-container,
  body.auth-rion-body .auth-split-shell {
    max-width: none;
  }

  body.auth-rion-body .auth-split-shell {
    grid-template-columns: 1fr;
  }
}

body.auth-rion-body .auth-solo-shell {
  display: flex;
  justify-content: center;
}

body.auth-rion-body .auth-solo-panel {
  max-width: 760px;
  margin-inline: auto;
}

body.auth-rion-body .auth-split-panel > .auth-split-card,
body.auth-rion-body .auth-split-login-card,
body.auth-rion-body .auth-split-info-card,
body.auth-rion-body .auth-split-card,
body.auth-rion-body .auth-solo-card {
  flex: 1 1 auto;
}

body.auth-rion-body .auth-split-login-card,
body.auth-rion-body .auth-split-info-card,
body.auth-rion-body .auth-solo-card,
body.auth-rion-body .auth-login-v2-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
}

body.auth-rion-body .auth-split-card,
body.auth-rion-body .auth-solo-card,
body.auth-rion-body .auth-login-v2-card {
  padding: clamp(1.55rem, 2vw, 2.35rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.8);
}

body.auth-rion-body .auth-split-info-card {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-color: rgba(30, 41, 59, 0.85);
}

body.auth-rion-body .auth-split-login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(247, 250, 252, 0.985) 100%);
}

body.auth-rion-body .auth-solo-card {
  background: rgba(255, 255, 255, 0.98);
}

body.auth-rion-body .auth-login-v2-head,
body.auth-rion-body .auth-login-v2-form,
body.auth-rion-body .customer-auth-alert,
body.auth-rion-body .auth-split-info-content,
body.auth-rion-body .auth-split-cta,
body.auth-rion-body .auth-login-v2-card > * {
  position: relative;
  z-index: 1;
}

body.auth-rion-body .auth-split-login-card .customer-auth-alert,
body.auth-rion-body .auth-solo-card .customer-auth-alert {
  margin-bottom: 1.1rem;
}

body.auth-rion-body .auth-login-v2-input,
body.auth-rion-body .auth-split-input,
body.auth-rion-body .auth-solo-input,
body.auth-rion-body .auth-login-v2-submit,
body.auth-rion-body .auth-split-submit,
body.auth-rion-body .auth-solo-submit,
body.auth-rion-body .auth-split-cta-link {
  box-sizing: border-box;
}

body.auth-rion-body .auth-login-v2-input:focus,
body.auth-rion-body .auth-split-input:focus,
body.auth-rion-body .auth-solo-input:focus {
  outline: none;
}

body.auth-rion-body .auth-login-v2-submit,
body.auth-rion-body .auth-split-submit,
body.auth-rion-body .auth-solo-submit,
body.auth-rion-body .auth-split-cta-link {
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.auth-rion-body .auth-login-v2-input,
body.auth-rion-body .auth-split-input,
body.auth-rion-body .auth-solo-input {
  width: 100%;
  max-width: 100%;
}

body.auth-rion-body .auth-split-submit:hover,
body.auth-rion-body .auth-solo-submit:hover,
body.auth-rion-body .auth-split-cta-link:hover,
body.auth-rion-body .auth-login-v2-submit:hover {
  transform: translateY(-1px);
}

body.auth-rion-body .auth-split-submit:active,
body.auth-rion-body .auth-solo-submit:active,
body.auth-rion-body .auth-split-cta-link:active,
body.auth-rion-body .auth-login-v2-submit:active {
  transform: translateY(0);
}

body.auth-rion-body .auth-login-v2-card,
body.auth-rion-body .auth-split-login-card,
body.auth-rion-body .auth-split-info-card,
body.auth-rion-body .auth-solo-card,
body.auth-rion-body .auth-login-v2-card::before,
body.auth-rion-body .auth-login-v2-card::after,
body.auth-rion-body .auth-split-login-card::before,
body.auth-rion-body .auth-split-login-card::after,
body.auth-rion-body .auth-split-info-card::before,
body.auth-rion-body .auth-split-info-card::after,
body.auth-rion-body .auth-solo-card::before,
body.auth-rion-body .auth-solo-card::after {
  isolation: isolate;
}

body.auth-rion-body .auth-login-v2-form,
body.auth-rion-body .auth-split-info-card .auth-split-cta,
body.auth-rion-body .auth-split-login-card .auth-split-submit,
body.auth-rion-body .auth-login-v2-submit {
  width: 100%;
}

.auth-login-v2-card {
  position: relative;
  overflow: hidden;
  padding: 2.35rem;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12) 0%, transparent 32%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7f5;
}

.auth-login-v2-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #0f172a 0%, #1d4ed8 100%);
  z-index: 0;
}

.auth-login-v2-card::after {
  z-index: 0;
}

.auth-login-v2-card,
.auth-login-v2-card > *,
.auth-login-v2-head,
.auth-login-v2-form,
.auth-login-v2-field,
.auth-login-v2-input-wrap,
.auth-login-v2-input,
.auth-login-v2-submit,
.auth-login-v2-footnote,
.auth-login-v2-badge,
.auth-login-v2-input-icon {
  position: relative;
}

.auth-login-v2-card .customer-auth-alert {
  max-width: 100%;
}

.auth-login-v2-card {
  display: flex;
  flex-direction: column;
}

.auth-login-v2-card > *,
.auth-login-v2-head,
.auth-login-v2-form,
.auth-login-v2-footnote {
  width: 100%;
}

.auth-login-v2-card .customer-auth-alert {
  width: 100%;
}

.auth-login-v2-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.7rem;
}

.auth-login-v2-head h1 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.auth-login-v2-head p {
  margin: 0;
  max-width: 48ch;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.75;
}

.auth-register-v2-head {
  margin-bottom: 1.55rem;
}

.auth-register-v2-head p {
  max-width: 56ch;
}

.auth-login-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.09) 0%, rgba(37, 99, 235, 0.14) 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-login-v2-form {
  display: grid;
  gap: 1.15rem;
}

.auth-login-v2-field {
  display: grid;
  gap: 0.6rem;
}

.auth-split-label {
  color: #334155;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.auth-login-v2-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-login-v2-input-icon {
  position: absolute;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  pointer-events: none;
}

.auth-login-v2-input {
  min-height: 64px;
  padding: 1rem 1.05rem 1rem 2.95rem;
  border-radius: 16px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
}

.auth-login-v2-input::placeholder {
  color: #94a3b8;
}

.auth-login-v2-input:focus {
  border-color: #94a3b8;
}

.auth-login-v2-footnote {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
}

.auth-login-v2-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  margin-top: 0.2rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.auth-login-v2-submit:hover {
  background: linear-gradient(135deg, #111827 0%, #1e40af 100%);
}

.auth-split-info-card {
  padding: 1.5rem;
}

.auth-split-info-backdrop {
  position: absolute;
  inset: auto -14% -18% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0) 70%);
  pointer-events: none;
  opacity: 0.3;
}

.auth-split-info-content {
  display: grid;
  gap: 1rem;
}

.auth-split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-split-eyebrow-light {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.auth-split-info-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 1.9vw, 1.9rem);
  line-height: 1.12;
  color: #f8fafc;
  font-weight: 800;
}

.auth-split-info-card .auth-split-info-content > p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.98rem;
  line-height: 1.75;
}

.auth-split-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.auth-split-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
}

.auth-split-benefits {
  display: grid;
  gap: 0.72rem;
  padding: 0;
  margin: 0.15rem 0 0;
  list-style: none;
}

.auth-split-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.68rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-split-benefits li i {
  color: #93c5fd;
  margin-top: 0.1rem;
}

.auth-split-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.auth-split-cta-dark span {
  color: #cbd5e1;
}

.auth-split-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-split-cta-link:hover {
  background: #eff6ff;
  color: #0f172a;
}

.customer-auth-alert {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.93rem;
  line-height: 1.6;
}

.auth-inline-link {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-inline-link:hover {
  color: #1d4ed8;
}

.auth-legal-modal .modal-content {
  border-radius: 24px;
  border: 0;
}

.auth-legal-modal .modal-header {
  padding: 1.5rem 1.8rem;
  border-bottom-color: #e2e8f0;
}

.auth-legal-modal .modal-title {
  font-weight: 700;
  color: #0f172a;
}

.auth-legal-modal .btn-close {
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 0.8rem;
}

.auth-legal-modal .modal-body {
  padding: 1.8rem;
  max-height: 60vh;
  overflow-y: auto;
  color: #475569;
  line-height: 1.7;
}

.customer-panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  border: 1px solid #e2e8f0;
  border-radius: 24px;
}

.customer-panel-topbar-copy {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.customer-panel-topbar-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  font-size: 1.75rem;
  border-radius: 20px;
}

.customer-panel-topbar-text h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.customer-panel-topbar-text .customer-auth-kicker {
  margin-bottom: 0.4rem;
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
  padding: 0.25rem 0.75rem;
}

.customer-panel-balance-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
}

.customer-panel-balance-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 1.25rem;
  border-radius: 14px;
}

.customer-panel-balance-copy {
  display: flex;
  flex-direction: column;
}

.customer-panel-balance-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customer-panel-balance-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.customer-panel-balance-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid #e2e8f0;
}

.customer-panel-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.customer-panel-balance-btn {
  background: #0f172a;
  color: #fff;
}

.customer-panel-balance-btn:hover {
  background: #1e293b;
  color: #fff;
  transform: translateY(-1px);
}

.customer-panel-logout {
  width: 44px;
  padding: 0;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.customer-panel-logout:hover {
  background: #fee2e2;
  color: #b91c1c;
  transform: translateY(-1px);
}

.customer-dashboard-nav {
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
}

.customer-dashboard-nav ul,
.customer-dashboard-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.customer-dashboard-nav li {
  flex: 1 1 calc(100% / 8 - 0.5rem);
  min-width: 120px;
}

.dh-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
}

.dh-nav-item i {
  font-size: 1.4rem;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.dh-nav-item .text {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.dh-nav-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

.dh-nav-item:hover i {
  color: #3b82f6;
  transform: translateY(-2px);
}

.dh-nav-item.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.dh-nav-item.active i {
  color: #2563eb;
}

.customer-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.customer-dashboard-stat-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.customer-dashboard-stat-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.customer-dashboard-stat-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.customer-dashboard-stat-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #475569;
  font-size: 1.4rem;
  border-radius: 16px;
}

.customer-dashboard-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.customer-dashboard-stat-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.customer-dashboard-stat-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.customer-dashboard-stat-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: #f8fafc;
  color: #3b82f6;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.customer-dashboard-stat-link:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.customer-panel-topbar-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.customer-panel-topbar-copy-minimal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.customer-panel-topbar-copy-minimal .customer-panel-topbar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.4rem;
  background: #f1f5f9;
  color: #0f172a;
}

.customer-panel-topbar-copy-minimal .customer-panel-topbar-text h1 {
  font-size: 1.3rem;
  font-weight: 700;
}

.customer-panel-topbar-copy-minimal .customer-panel-topbar-text .customer-auth-kicker {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.2rem;
  background: transparent;
  border: none;
  color: #64748b;
  padding-left: 0;
}

.customer-panel-topbar-minimal .customer-panel-balance-card {
  padding: 0.5rem;
  border: none;
  background: transparent;
  gap: 1rem;
}

.customer-panel-topbar-minimal .customer-panel-balance-icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
}

.customer-panel-topbar-minimal .customer-panel-balance-amount {
  font-size: 1.15rem;
}

.customer-panel-topbar-minimal .customer-panel-action-btn {
  height: 38px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.customer-panel-topbar-minimal .customer-panel-logout {
  width: 38px;
}

.auth-register-v2-card {
  padding: 2.6rem;
}

.auth-register-v2-form {
  gap: 1.25rem;
}

.auth-register-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-register-v2-field-full {
  grid-column: 1 / -1;
}

.auth-register-v2-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.2rem 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.auth-register-v2-consent input {
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.auth-register-v2-consent span {
  display: inline;
}

.auth-register-v2-submit {
  margin-top: 0.25rem;
}

.customer-layout-body .customer-dashboard-nav-mobile {
  display: block;
}

.customer-layout-body .customer-dashboard-nav-mobile summary {
  list-style: none;
}

.customer-layout-body .customer-dashboard-nav-mobile summary::-webkit-details-marker {
  display: none;
}

.customer-layout-body .customer-dashboard-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.customer-layout-body .customer-dashboard-detail-column {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.customer-layout-body .customer-dashboard-detail-card {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
}

.customer-layout-body .customer-dashboard-detail-head {
  margin-bottom: 1rem;
}

.customer-layout-body .customer-dashboard-detail-head h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 800;
}

.customer-layout-body .customer-dashboard-detail-title-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1rem;
  flex: 0 0 auto;
}

.customer-layout-body .customer-dashboard-detail-list {
  display: grid;
  gap: 0.85rem;
}

.customer-layout-body .customer-dashboard-detail-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.customer-layout-body .customer-dashboard-detail-copy {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
  flex: 1 1 auto;
}

.customer-layout-body .customer-dashboard-detail-copy strong {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.customer-layout-body .customer-dashboard-detail-copy > span {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.customer-layout-body .customer-dashboard-detail-item-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  flex: 0 0 auto;
}

.customer-layout-body .customer-dashboard-detail-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-start;
  flex: 0 0 auto;
}

.customer-layout-body .customer-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.customer-layout-body .customer-status-badge.is-open {
  background: #dcfce7;
  color: #166534;
}

.customer-layout-body .customer-status-badge.is-waiting {
  background: #fef3c7;
  color: #92400e;
}

.customer-layout-body .customer-status-badge.is-answered {
  background: #dbeafe;
  color: #1d4ed8;
}

.customer-layout-body .customer-status-badge.is-queued,
.customer-layout-body .customer-status-badge.is-processing {
  background: #e0e7ff;
  color: #4338ca;
}

.customer-layout-body .customer-status-badge.is-resolved {
  background: #e2e8f0;
  color: #334155;
}

.customer-layout-body .customer-dashboard-activity-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0 0.1rem;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.customer-layout-body .customer-dashboard-activity-meta-head {
  text-align: right;
}

.customer-layout-body .customer-dashboard-activity-list {
  gap: 0.75rem;
}

.customer-layout-body .customer-dashboard-activity-row {
  align-items: center;
}

.customer-layout-body .customer-dashboard-activity-description {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
  flex: 1 1 auto;
}

.customer-layout-body .customer-dashboard-activity-description strong {
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 700;
}

.customer-layout-body .customer-dashboard-activity-description span {
  color: #64748b;
  font-size: 0.87rem;
  line-height: 1.55;
}

.customer-layout-body .customer-dashboard-activity-meta-col {
  display: grid;
  justify-items: end;
  gap: 0.28rem;
  flex: 0 0 auto;
  text-align: right;
}

.customer-layout-body .customer-dashboard-activity-date-col,
.customer-layout-body .customer-dashboard-activity-ip {
  color: #475569;
  font-size: 0.83rem;
  font-weight: 600;
}

.customer-layout-body .customer-dashboard-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customer-layout-body .customer-dashboard-promo-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex: 1 1 auto;
}

.customer-layout-body .customer-dashboard-promo-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.customer-layout-body .customer-dashboard-promo-copy {
  display: grid;
  gap: 0.25rem;
}

.customer-layout-body .customer-dashboard-promo-copy strong {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}

.customer-layout-body .customer-dashboard-promo-copy span {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.customer-layout-body .customer-dashboard-promo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.customer-layout-body .customer-dashboard-promo-link:hover {
  background: #dbeafe;
  color: #1e40af;
}

body.auth-rion-body .auth-login-v2-card,
body.auth-rion-body .auth-register-v2-card,
body.auth-rion-body .auth-split-login-card,
body.auth-rion-body .auth-split-info-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.auth-rion-body .auth-login-v2-head,
body.auth-rion-body .auth-register-v2-head,
body.auth-rion-body .auth-login-v2-form,
body.auth-rion-body .auth-register-v2-form,
body.auth-rion-body .auth-login-v2-footnote,
body.auth-rion-body .customer-auth-alert,
body.auth-rion-body .auth-split-info-content,
body.auth-rion-body .auth-split-cta {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.auth-rion-body .auth-login-v2-head p,
body.auth-rion-body .auth-register-v2-head p {
  white-space: normal;
  overflow-wrap: anywhere;
}

body.auth-rion-body .auth-login-v2-input-wrap,
body.auth-rion-body .auth-login-v2-input,
body.auth-rion-body .auth-login-v2-submit,
body.auth-rion-body .auth-register-v2-submit {
  width: 100%;
  max-width: 100%;
}

body.auth-rion-body .auth-register-v2-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

body.auth-rion-body .auth-register-v2-consent .auth-inline-link {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

body.auth-rion-body .auth-register-v2-consent .auth-inline-link:hover {
  background: transparent;
}

body.auth-rion-body .auth-register-v2-consent input {
  width: 18px;
  height: 18px;
}

body.customer-layout-body .customer-dashboard-nav-mobile {
  display: block;
}

body.customer-layout-body .customer-dashboard-nav-mobile > summary {
  display: none;
}

body.customer-layout-body .customer-dashboard-nav-mobile > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.customer-layout-body .customer-dashboard-detail-layout {
  align-items: start;
}

body.customer-layout-body .customer-dashboard-detail-copy.has-item-icon strong > span:last-child {
  min-width: 0;
}

body.customer-layout-body .customer-dashboard-detail-item,
body.customer-layout-body .customer-dashboard-activity-row,
body.customer-layout-body .customer-dashboard-promo-card {
  min-width: 0;
}

body.customer-layout-body .customer-dashboard-promo-link,
body.customer-layout-body .customer-dashboard-stat-link {
  flex: 0 0 auto;
}

@media (max-width: 1200px) {
  .customer-panel-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .customer-panel-balance-card {
    justify-content: space-between;
  }

  .customer-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.auth-rion-body .customer-page-flow {
    display: block;
    padding: 0.9rem 0 1.2rem;
  }

  body.auth-rion-body .auth-split-section > .site-container,
  body.auth-rion-body .auth-solo-section > .site-container {
    min-height: auto;
    display: block;
  }

  body.auth-rion-body .auth-split-shell {
    grid-template-columns: 1fr;
  }

  body.auth-rion-body .auth-split-panel,
  body.auth-rion-body .auth-split-panel > .auth-split-card,
  body.auth-rion-body .auth-split-login-card,
  body.auth-rion-body .auth-split-info-card,
  body.auth-rion-body .auth-solo-card {
    min-height: auto;
    height: auto;
  }

  .customer-panel-topbar-minimal {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
  }

  .customer-panel-topbar-minimal .customer-panel-balance-card {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }

  .auth-register-v2-grid,
  .customer-layout-body .customer-dashboard-detail-grid {
    grid-template-columns: 1fr;
  }

  body.customer-layout-body .customer-dashboard-nav-mobile > summary {
    display: flex;
  }

  body.customer-layout-body .customer-dashboard-nav-mobile > ul {
    display: none;
  }

  body.customer-layout-body .customer-dashboard-nav-mobile[open] > ul {
    display: flex;
  }

  body.customer-layout-body .customer-dashboard-detail-column-left,
  body.customer-layout-body .customer-dashboard-detail-column-right {
    display: grid;
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .customer-dashboard-nav ul {
    gap: 0.25rem;
  }

  .customer-dashboard-nav li {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }

  .dh-nav-item {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }

  .dh-nav-item i {
    font-size: 1.2rem;
  }

  .customer-layout-body .customer-dashboard-detail-item,
  .customer-layout-body .customer-dashboard-promo-card,
  .customer-layout-body .customer-dashboard-activity-row {
    flex-direction: column;
    align-items: stretch;
  }

  .customer-layout-body .customer-dashboard-detail-side,
  .customer-layout-body .customer-dashboard-activity-meta-col {
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
  }

  .customer-layout-body .customer-dashboard-activity-table-head {
    display: none;
  }
}

.auth-login-modern-shell {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: stretch;
}

.auth-login-modern-brand-panel,
.auth-login-modern-form-panel {
  position: relative;
  z-index: 1;
}

.auth-login-modern-brand-card,
.auth-login-modern-form-card {
  position: relative;
  min-height: 540px;
  height: 100%;
  max-height: 540px;
  border-radius: 24px;
  overflow: hidden;
}

.auth-login-modern-brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.4rem, 2vw, 2rem);
  background:
    radial-gradient(420px 220px at 15% 18%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(280px 180px at 82% 16%, rgba(56, 189, 248, 0.1), transparent 58%),
    linear-gradient(145deg, #0f172a 0%, #132238 48%, #0b1220 100%);
  border: 1px solid rgba(30, 41, 59, 0.62);
  color: #f8fafc;
}

.auth-login-modern-form-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 2vw, 1.85rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(247, 250, 252, 0.985) 100%);
  border: 1px solid rgba(203, 213, 225, 0.86);
  box-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.22);
}

.auth-login-modern-form-head {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 1.05rem;
}

.auth-login-modern-form-head h2 {
  margin: 0;
  font-size: clamp(1.42rem, 1.8vw, 1.78rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.auth-login-modern-form-head p {
  margin: 0;
  max-width: 42ch;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.52;
}

.auth-login-modern-alert {
  border-radius: 14px;
}

.auth-login-modern-form {
  display: grid;
  gap: 0.95rem;
  width: 100%;
}

.auth-login-modern-fields {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.auth-login-modern-field {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.auth-login-modern-label {
  color: #334155;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.auth-login-modern-input-wrap {
  position: relative;
  width: 100%;
}

.auth-login-modern-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  pointer-events: none;
}

.auth-login-modern-input {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 1rem 0.8rem 2.9rem;
  border-radius: 14px;
  border: 1px solid #d7e1ec;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.auth-login-modern-input::placeholder {
  color: #94a3b8;
}

.auth-login-modern-input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.18);
}

.auth-login-modern-footnote {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.4;
}

.auth-login-modern-footnote i {
  color: #2563eb;
}

.auth-login-modern-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-login-modern-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -22px rgba(29, 78, 216, 0.55);
  background: linear-gradient(135deg, #111827 0%, #1e40af 100%);
}

.auth-login-modern-brand-card h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.28rem, 1.7vw, 1.72rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.auth-login-modern-brand-card > p {
  margin: 0;
  max-width: 38ch;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.8rem;
  line-height: 1.45;
}

.auth-login-modern-points {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.auth-login-modern-point {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.62rem 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-login-modern-point-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #bfdbfe;
  font-size: 0.92rem;
}

.auth-login-modern-point strong {
  display: block;
  margin-bottom: 0.14rem;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-login-modern-point span:last-child {
  display: block;
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.76rem;
  line-height: 1.35;
}

.auth-login-modern-kicker,
.auth-login-modern-badge,
.auth-login-modern-register {
  display: none !important;
}

@media (max-width: 991.98px) {
  .auth-login-modern-shell {
    grid-template-columns: 1fr !important;
  }

  .auth-login-modern-brand-card,
  .auth-login-modern-form-card {
    min-height: auto;
    max-height: none;
  }

  .auth-login-modern-brand-card h1 {
    max-width: 100%;
    font-size: clamp(1.32rem, 4vw, 1.85rem);
  }

  .auth-login-modern-brand-card > p {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .auth-login-modern-brand-card,
  .auth-login-modern-form-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .auth-login-modern-brand-card h1 {
    font-size: 1.2rem;
  }

  .auth-login-modern-brand-card > p {
    font-size: 0.76rem;
  }

  .auth-login-modern-point {
    padding: 0.58rem 0.6rem;
    gap: 0.58rem;
  }

  .auth-login-modern-point span:last-child {
    font-size: 0.72rem;
  }
}
@media (max-width: 575.98px) {
  .auth-login-v2-card,
  body.auth-rion-body .auth-login-v2-card,
  .auth-register-v2-card {
    padding: 1.25rem;
  }

  .auth-login-v2-head h1,
  body.auth-rion-body .auth-login-v2-head h1,
  body.auth-rion-body .auth-register-v2-head h1 {
    font-size: 1.6rem;
  }

  .auth-login-v2-input,
  body.auth-rion-body .auth-login-v2-input,
  body.auth-rion-body .auth-login-v2-submit,
  body.auth-rion-body .auth-register-v2-submit {
    min-height: 52px;
  }

  .auth-login-premium-head h1 {
    font-size: 1.7rem;
    line-height: 1.06;
  }

  .auth-login-premium-form-block {
    padding: 0;
    border-radius: 0;
  }

  .auth-login-premium-input-wrap .auth-login-v2-input,
  .auth-login-premium-submit {
    min-height: 52px;
  }

  .auth-split-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-split-cta-link {
    width: 100%;
  }

  .customer-inline-section.panel-mode {
    padding-top: 0;
  }

  .customer-panel-topbar {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .customer-panel-topbar-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .customer-panel-balance-card,
  .customer-panel-topbar-minimal .customer-panel-balance-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }

  .customer-panel-balance-actions,
  .customer-panel-topbar-minimal .customer-panel-balance-actions {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
  }

  .customer-panel-balance-btn {
    flex: 1;
  }

  .customer-dashboard-stats {
    grid-template-columns: 1fr;
  }

  .customer-layout-body .customer-dashboard-detail-card {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .customer-layout-body .customer-dashboard-detail-item {
    padding: 0.95rem;
  }

  .customer-layout-body .customer-dashboard-stat-card {
    align-items: stretch;
  }

  .customer-layout-body .customer-dashboard-stat-link,
  .customer-layout-body .customer-status-badge,
  body.customer-layout-body .customer-dashboard-promo-link {
    align-self: flex-start;
  }

  .customer-layout-body .customer-dashboard-activity-card-mobile-last {
    order: 99;
  }
}

