/* 众安在线 · 浅色通透建筑美学登录页、个人安全中心与 RBAC 权限管理样式 */

/* ===== Flagship Luminous Daylight Architectural Login ===== */
.zm-auth-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(150deg, #f8fafd 0%, #edf3fa 46%, #f5f8fc 100%);
  color: #0f172a;
}

/* Subtle architectural column hairlines on wide screens */
.zm-auth-shell::before,
.zm-auth-shell::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0) 0%, rgba(148, 163, 184, 0.18) 18%, rgba(148, 163, 184, 0.18) 82%, rgba(148, 163, 184, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.zm-auth-shell::before {
  left: max(28px, calc(50% - 660px));
}

.zm-auth-shell::after {
  right: max(28px, calc(50% - 660px));
}

.zm-auth-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.zm-auth-backdrop svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes zmTrailFlow {
  0% { stroke-dashoffset: 1380; }
  100% { stroke-dashoffset: 0; }
}

@keyframes zmFloatPrism {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes zmFloatPlateA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4.5px); }
}

@keyframes zmFloatPlateB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(4.5px); }
}

@keyframes zmPulseDot {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes zmSpinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes zmShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

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

.zm-trail-1, .zm-trail-1-glow {
  stroke-dasharray: 220 1160;
  animation: zmTrailFlow 13.5s linear infinite;
}

.zm-trail-2, .zm-trail-2-glow {
  stroke-dasharray: 170 1210;
  animation: zmTrailFlow 18.5s linear infinite reverse;
}

.zm-trail-3 {
  stroke-dasharray: 130 1250;
  animation: zmTrailFlow 22s linear infinite;
}

.zm-float-prism {
  animation: zmFloatPrism 7.2s ease-in-out infinite;
}

.zm-float-plate-a {
  animation: zmFloatPlateA 8.6s ease-in-out infinite;
}

.zm-float-plate-b {
  animation: zmFloatPlateB 9.2s ease-in-out infinite;
}

.zm-btn-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  animation: zmSpinSlow 0.7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .zm-trail-1, .zm-trail-1-glow, .zm-trail-2, .zm-trail-2-glow, .zm-trail-3,
  .zm-float-prism, .zm-float-plate-a, .zm-float-plate-b {
    animation: none;
  }
}

/* Top Institutional Bar */
.zm-auth-topbar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.zm-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.zm-brand-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: #0f172a;
}

.zm-brand-sep {
  width: 1px;
  height: 13px;
  background: #cbd5e1;
}

.zm-brand-en {
  font-size: 11px;
  letter-spacing: 2.3px;
  color: #64748b;
  font-weight: 600;
}

.zm-top-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(203, 213, 225, 0.74);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.zm-top-status::before {
  content: "";
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.16);
}

/* Main Stage Grid */
.zm-auth-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 20px 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(404px, 452px);
  gap: clamp(34px, 4.8vw, 80px);
  align-items: center;
}

/* Left Daylight Architectural Showcase */
.zm-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: zmFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zm-showcase-copy {
  max-width: 575px;
}

.zm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 11px 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.9px;
  color: #1d4ed8;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zm-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.zm-showcase-copy h1 {
  margin: 0 0 11px;
  font-size: clamp(35px, 3.3vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.032em;
  background: linear-gradient(132deg, #070b14 0%, #172554 58%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zm-showcase-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #475569;
}

.zm-sculpture-frame {
  width: 100%;
  max-width: 616px;
  margin: -2px 0 -4px;
  will-change: transform;
}

.zm-sculpture-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

.zm-parallax-layer {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Porcelain Capability Micro-Chips with Tinted Icon Wells */
.zm-showcase-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.zm-cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(203, 213, 225, 0.72);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12.5px;
  font-weight: 500;
  color: #1e293b;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.zm-cap-chip:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.07), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.zm-chip-well {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
}

.zm-chip-well.blue { background: #eff6ff; color: #2563eb; }
.zm-chip-well.teal { background: #f0fdfa; color: #0d9488; }
.zm-chip-well.indigo { background: #eef2ff; color: #4f46e5; }

/* Right Nested Frosted Glass Bezel + Inner Porcelain Login Card */
.zm-card-bezel {
  width: 100%;
  padding: 7px;
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.34) 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 34px 80px -24px rgba(15, 23, 42, 0.15),
    0 10px 28px -10px rgba(30, 58, 138, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  animation: zmFadeUp 0.52s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zm-glass-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 21px;
  padding: 34px 32px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Luminous optical prism hairline along top edge of card */
.zm-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.65) 36%, rgba(14, 165, 233, 0.72) 64%, rgba(16, 185, 129, 0) 100%);
  pointer-events: none;
}

.zm-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.zm-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.zm-card-title-group > svg {
  flex: none;
}

.zm-card-head h2 {
  margin: 0 0 3px;
  font-size: 20.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  white-space: nowrap;
}

.zm-card-head p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
}

.zm-card-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 2px;
}

/* Sliding Segmented Switcher */
.zm-auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.045);
  margin-bottom: 22px;
}

.zm-tab-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.zm-auth-tabs[data-mode="key"] .zm-tab-slider {
  transform: translateX(100%);
}

.zm-auth-tabs button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: color 0.18s;
}

.zm-auth-tabs button:hover {
  color: #0f172a;
}

.zm-auth-tabs button.active {
  color: #0f172a;
  font-weight: 600;
}

.zm-glass-card .field {
  margin-bottom: 16px;
  gap: 6px;
}

.zm-glass-card .field > span {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

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

.zm-input-ico {
  position: absolute;
  left: 13px;
  color: #94a3b8;
  pointer-events: none;
  display: inline-flex;
  transition: color 0.16s;
}

.zm-input-wrap:focus-within .zm-input-ico {
  color: #2563eb;
}

.zm-input-wrap input {
  width: 100%;
  height: 46px;
  padding: 10px 42px 10px 38px;
  border: 1px solid #d5dee8;
  border-radius: 11px;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.16s, background-color 0.16s, box-shadow 0.16s;
}

.zm-input-wrap input::placeholder {
  color: #94a3b8;
}

.zm-input-wrap input:hover {
  border-color: #b4c2d2;
  background: #ffffff;
}

.zm-input-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12), inset 0 1px 1px rgba(15, 23, 42, 0.02);
}

.zm-input-wrap.no-trail input {
  padding-right: 14px;
}

.zm-eye-btn {
  position: absolute;
  right: 7px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, color 0.15s;
}

.zm-eye-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Remember username + Forgot password helper row */
.zm-form-aux {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 16px;
  font-size: 12.5px;
  color: #64748b;
}

.zm-check-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  color: #475569;
}

.zm-check-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #0f172a;
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
}

.zm-help-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12.5px;
  color: #475569;
  cursor: pointer;
  transition: color 0.15s;
}

.zm-help-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.zm-help-popover {
  margin: -6px 0 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  line-height: 1.55;
  color: #475569;
}

.zm-help-popover[hidden] {
  display: none;
}

/* Anodized Midnight Ink Primary Button with Optical Sheen & Arrow Micro-Slide */
.zm-auth-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 46px;
  margin-top: 2px;
  border: 0;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(180deg, #1e293b 0%, #0b1220 100%);
  box-shadow:
    0 12px 26px -10px rgba(15, 23, 42, 0.5),
    0 2px 6px rgba(37, 99, 235, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.18s, filter 0.16s, opacity 0.16s;
}

.zm-auth-submit svg {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.zm-auth-submit:hover:not([disabled]) svg {
  transform: translateX(3px);
}

.zm-auth-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.14) 50%, transparent 75%);
  transform: translateX(-125%);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.zm-auth-submit:hover:not([disabled])::after {
  transform: translateX(125%);
}

.zm-auth-submit:hover:not([disabled]) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px -10px rgba(15, 23, 42, 0.52),
    0 4px 12px rgba(37, 99, 235, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.zm-auth-submit:active:not([disabled]) {
  transform: translateY(0);
}

.zm-auth-submit[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.zm-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.zm-auth-alert.is-shake {
  animation: zmShake 0.36s ease;
}

.zm-auth-alert[hidden] {
  display: none;
}

.zm-auth-foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  text-align: center;
}

/* Bottom Institutional Bar */
.zm-auth-bottombar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #94a3b8;
}

/* ===== Top Header Brand & User Pill ===== */
.zm-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.zm-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.zm-user-pill:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
  text-decoration: none;
}

.zm-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #0f172a;
  flex: none;
}

.zm-avatar.lg {
  width: 52px;
  height: 52px;
  font-size: 20px;
  border-radius: 14px;
}

.zm-avatar.role-admin {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.zm-avatar.role-member {
  background: linear-gradient(135deg, #0369a1, #0f766e);
}

.zm-avatar.role-customer {
  background: linear-gradient(135deg, #b45309, #92400e);
}

/* ===== Profile Security Center (#profile) & Upgraded RBAC Console (#users) ===== */
.zm-profile-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  align-items: start;
}

.zm-profile-banner {
  background: linear-gradient(145deg, #0b0f19 0%, #152238 100%);
  color: #f8fafc;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.zm-profile-ident {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zm-profile-ident h2 {
  margin: 0 0 4px;
  font-size: 19px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zm-profile-ident p {
  margin: 0;
  font-size: 12.5px;
  color: #cbd5e1;
}

.zm-pwd-meter {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 6px;
}

.zm-pwd-meter > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s, background-color 0.2s;
}

.zm-matrix-table td.perm-cell {
  text-align: center;
  width: 120px;
}

.zm-perm-yes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #15803d;
  font-weight: 600;
  font-size: 12px;
  background: #dcfce7;
  padding: 2px 9px;
  border-radius: 999px;
}

.zm-perm-no {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 12px;
  background: #f1f5f9;
  padding: 2px 9px;
  border-radius: 999px;
}

.zm-session-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zm-session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  flex-wrap: wrap;
}

.zm-session-item.is-current {
  border-color: #93c5fd;
  background: #f8fbff;
}

.zm-session-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.zm-session-meta strong {
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.zm-session-meta small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.zm-pillar-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.zm-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zm-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--muted);
}

.zm-cred-box {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: Consolas, Monaco, monospace;
  font-size: 12.5px;
  white-space: pre-wrap;
  line-height: 1.65;
  margin-top: 8px;
}

@media (max-width: 1040px) {
  .zm-auth-shell::before,
  .zm-auth-shell::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .zm-auth-topbar {
    padding: 18px 20px 0;
  }
  .zm-brand-sep, .zm-brand-en {
    display: none;
  }
  .zm-auth-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px 16px 26px;
  }
  .zm-showcase-copy h1 {
    font-size: 29px;
  }
  .zm-sculpture-frame {
    max-width: 440px;
    margin: 0 auto;
  }
  .zm-card-bezel {
    padding: 5px;
    border-radius: 22px;
  }
  .zm-glass-card {
    padding: 26px 20px 22px;
    border-radius: 17px;
  }
  .zm-auth-bottombar {
    padding: 0 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .zm-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .zm-auth-topbar {
    padding: 16px 16px 0;
  }
  .zm-top-status {
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .zm-glass-card {
    padding: 22px 16px 20px;
  }
  .zm-card-head {
    gap: 8px;
    margin-bottom: 18px;
  }
  .zm-card-title-group {
    gap: 10px;
  }
  .zm-card-title-group > svg {
    width: 32px;
    height: 32px;
  }
  .zm-card-head h2 {
    font-size: 17px;
  }
  .zm-card-head p {
    font-size: 11.5px;
  }
  .zm-card-badge {
    padding: 3px 8px;
    font-size: 11px;
    gap: 4px;
  }
}
