.sd-auth-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 60px;
}
.sd-auth-card {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.sd-auth-left {
  padding: 42px 36px;
  background: linear-gradient(160deg, rgba(59,130,246,0.18) 0%, rgba(15,23,42,0.2) 100%);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.sd-auth-brand {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #60a5fa;
}
.sd-auth-sub {
  color: var(--sd-text-muted);
  margin-bottom: 28px;
}
.sd-auth-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sd-auth-features li {
  margin-bottom: 14px;
  color: var(--sd-text-secondary);
  font-size: 14px;
}
.sd-auth-features i {
  color: #3b82f6;
  margin-right: 8px;
}
.sd-auth-right {
  padding: 36px 34px 28px;
  background: rgba(2, 6, 23, 0.35);
}
.sd-auth-tabs {
  margin-bottom: 22px;
  font-weight: 600;
  color: var(--sd-text);
}
.sd-auth-tabs span {
  display: inline-block;
  padding-bottom: 8px;
  margin-right: 18px;
  color: var(--sd-text-muted);
  border-bottom: 2px solid transparent;
}
.sd-auth-tabs span.is-active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}
.sd-auth-tabs-steps span.is-active ~ span {
  color: var(--sd-text-muted);
  border-bottom-color: transparent;
}
.sd-auth-field {
  margin-bottom: 16px;
}
.sd-auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--sd-text-muted);
}
.sd-auth-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: var(--sd-text) !important;
  border-radius: 10px !important;
  height: 42px;
}
.sd-auth-inline {
  display: flex;
  gap: 10px;
}
.sd-auth-inline .sd-auth-input {
  flex: 1;
}
.sd-auth-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #3b82f6;
  color: #fff;
  font-weight: 600;
  margin-top: 6px;
}
.sd-auth-btn:hover, .sd-auth-btn:focus {
  background: #2563eb;
  color: #fff;
}
.sd-auth-inline .sd-auth-btn-code {
  width: auto;
  min-width: 118px;
  margin-top: 0;
  padding: 0 16px;
  height: 42px;
  font-size: 13px;
  white-space: nowrap;
}
.sd-auth-btn-secondary {
  white-space: nowrap;
  height: 42px;
  border-radius: 10px;
  background: rgba(59,130,246,0.28) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(96,165,250,0.55) !important;
  font-weight: 500;
  box-shadow: none;
}
.sd-auth-btn-secondary:hover,
.sd-auth-btn-secondary:focus {
  background: rgba(59,130,246,0.42) !important;
  color: #fff !important;
  border-color: rgba(147,197,253,0.75) !important;
}
[data-theme="light"] .sd-auth-btn-secondary {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #93c5fd !important;
}
[data-theme="light"] .sd-auth-btn-secondary:hover,
[data-theme="light"] .sd-auth-btn-secondary:focus {
  background: #dbeafe !important;
  color: #1e40af !important;
}
.sd-auth-btn-ghost {
  width: 100%;
  margin-top: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--sd-text);
  border-radius: 10px;
  height: 40px;
}
[data-theme="light"] .sd-auth-btn-ghost {
  background: rgba(15,23,42,0.06);
  border-color: rgba(15,23,42,0.14);
  color: #334155;
}
.sd-auth-switch {
  text-align: center;
  margin-top: 18px;
  color: var(--sd-text-muted);
  font-size: 13px;
}
.sd-auth-switch a {
  color: #60a5fa;
}
.sd-storage-bar-wrap {
  margin-bottom: 18px;
  padding: 16px 18px 14px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.35) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.sd-storage-bar-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.sd-storage-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 18px;
  flex-shrink: 0;
}
.sd-storage-bar-info {
  flex: 1;
  min-width: 0;
}
.sd-storage-bar-title {
  font-size: 13px;
  color: var(--sd-text-muted);
  margin-bottom: 4px;
}
.sd-storage-bar-meta {
  font-size: 18px;
  font-weight: 600;
  color: var(--sd-text);
  line-height: 1.2;
}
.sd-storage-used {
  color: #93c5fd;
}
.sd-storage-sep {
  margin: 0 6px;
  color: var(--sd-text-muted);
  font-weight: 400;
}
.sd-storage-total {
  color: var(--sd-text);
}
.sd-storage-bar-remain {
  text-align: right;
  flex-shrink: 0;
}
.sd-storage-remain-label {
  font-size: 12px;
  color: var(--sd-text-muted);
}
.sd-storage-remain-value {
  font-size: 16px;
  font-weight: 600;
  color: #34d399;
}
.sd-storage-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
.sd-storage-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
  transition: width 0.35s ease;
}
.sd-storage-bar-fill.is-warn {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}
.sd-storage-bar-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--sd-text-muted);
}
[data-theme="light"] .sd-storage-bar-wrap {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(255,255,255,0.95) 100%);
  border-color: rgba(59, 130, 246, 0.12);
}
[data-theme="light"] .sd-storage-bar-icon {
  background: rgba(59, 130, 246, 0.1);
}
[data-theme="light"] .sd-storage-bar-track {
  background: rgba(15, 23, 42, 0.06);
}
@media (max-width: 768px) {
  .sd-storage-bar-top {
    flex-wrap: wrap;
  }
  .sd-storage-bar-remain {
    width: 100%;
    text-align: left;
    padding-left: 56px;
  }
  .sd-storage-bar-foot {
    flex-direction: column;
    gap: 4px;
  }
}
.sd-share-vip-lock {
  padding: 18px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--sd-text-secondary);
}
[data-theme="light"] .sd-auth-card {
  background: rgba(255,255,255,0.88);
  border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .sd-auth-left {
  background: linear-gradient(160deg, rgba(59,130,246,0.08) 0%, rgba(241,245,249,0.9) 100%);
}
[data-theme="light"] .sd-auth-right {
  background: rgba(255,255,255,0.92);
}
@media (max-width: 768px) {
  .sd-auth-card {
    grid-template-columns: 1fr;
  }
  .sd-auth-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}
.sd-auth-tabs-switch a:hover {
  color: #60a5fa;
}
.sd-auth-segmented {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.sd-auth-seg-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--sd-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.sd-auth-seg-btn i {
  font-size: 12px;
  opacity: 0.85;
}
.sd-auth-seg-btn:hover {
  color: #93c5fd;
  background: rgba(59,130,246,0.08);
}
.sd-auth-seg-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.sd-auth-forgot {
  margin: 8px 0 0;
  text-align: right;
  font-size: 12px;
}
.sd-auth-forgot a {
  color: #60a5fa;
}
.sd-auth-reset-panel {
  margin-top: 4px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.22);
  background: rgba(59,130,246,0.06);
}
.sd-auth-reset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--sd-text);
}
.sd-auth-reset-head a {
  color: var(--sd-text-muted);
}
.sd-auth-page {
  min-height: calc(100vh - 160px);
}
[data-theme="light"] .sd-auth-segmented {
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .sd-auth-reset-panel {
  background: rgba(59,130,246,0.05);
}
