:root {
  --sidebar-width: 220px;
  --sidebar-collapsed: 64px;
  --header-height: 56px;
  --bg: #f0f2f5;
  --panel: #ffffff;
  --ink: #1f1f1f;
  --muted: #8c8c8c;
  --line: #f0f0f0;
  --accent: #1677ff;
  --accent-soft: #e6f4ff;
  --sidebar: #001529;
  --sidebar-hover: rgba(255, 255, 255, 0.08);
  --sidebar-active: #1677ff;
  --danger: #ff4d4f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 16px rgba(0, 0, 0, 0.04);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

.layout {
  min-height: 100vh;
  display: flex;
}

.sidebar-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: var(--sidebar);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: width 0.2s ease;
  overflow: hidden;
}

.brand {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
}

.brand-text strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.brand-text p {
  margin: 2px 0 0;
  font-size: 11px;
  opacity: 0.55;
}

.menu-group-label {
  padding: 16px 20px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 8px 0;
  overflow-y: auto;
  flex: 1;
}

.menu-item,
.foot-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.menu-item:hover,
.foot-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}

.menu-item.active {
  background: var(--sidebar-active);
  color: #fff;
}

.menu-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex-shrink: 0;
}

.menu-icon svg {
  width: 18px;
  height: 18px;
}

.menu-label {
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-foot {
  margin-top: auto;
  padding: 12px 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.health {
  margin-top: 8px;
  padding: 0 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.2s ease;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #595959;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: #f5f5f5;
  color: var(--accent);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb .sep { opacity: 0.5; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }

.content {
  padding: 20px;
}

.panel { display: none; }
.panel.active { display: block; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat {
  background: var(--panel);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.stat strong {
  font-size: 28px;
  font-weight: 600;
}

.card {
  background: var(--panel);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.card h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

input, select, textarea, button {
  font: inherit;
}

input, select, textarea {
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 6px;
  padding: 8px 11px;
  min-width: 160px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.15);
}

textarea { width: 100%; resize: vertical; }

.btn {
  border: 0;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.05); }

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d9d9d9;
}

.btn.danger { background: var(--danger); }

.btn.ghost {
  background: #f5f5f5;
  color: var(--ink);
}

.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.table-wrap table {
  min-width: 640px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  background: #fafafa;
}

.badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.badge.lost {
  background: #fff7e6;
  color: #d46b08;
  border-color: #ffd591;
}

.badge.external {
  background: #e6f4ff;
  color: #0958d9;
  border-color: #91caff;
}

.badge.off {
  background: #fafafa;
  color: #8c8c8c;
  border-color: #d9d9d9;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.form { display: grid; gap: 12px; }

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
  grid-template-columns: none !important;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.meta {
  margin-bottom: 12px;
  color: var(--muted);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pager-info {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.pager-info strong {
  color: var(--text);
}

.pager-range {
  margin-left: 8px;
  white-space: nowrap;
}

.pager-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pager-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-right: 4px;
}

.pager-size select {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  background: #fff;
  font-size: 13px;
}

.pager-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.pager-page.is-active {
  background: var(--primary, #1677ff);
  color: #fff;
  border-color: transparent;
}

.pager-ellipsis {
  color: var(--muted);
  padding: 0 2px;
  font-size: 13px;
}

.pager-controls .btn {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 13px;
}

.pager-controls .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.2s ease;
  pointer-events: none;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* 折叠侧栏：只留图标 */
.layout.collapsed .sidebar {
  width: var(--sidebar-collapsed);
}

.layout.collapsed .main {
  margin-left: var(--sidebar-collapsed);
}

.layout.collapsed .brand-text,
.layout.collapsed .menu-label,
.layout.collapsed .menu-group-label,
.layout.collapsed .health {
  opacity: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.layout.collapsed .menu-item,
.layout.collapsed .foot-link {
  justify-content: center;
  padding: 0;
}

.layout.collapsed .brand {
  justify-content: center;
  padding: 0;
}

.layout.collapsed .menu-group-label {
  height: 0;
  padding: 0;
  margin: 0;
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
    width: min(84vw, 280px) !important;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.2);
  }

  .layout.mobile-open .sidebar {
    transform: translateX(0);
  }

  .layout.mobile-open .sidebar-mask {
    display: block;
  }

  .main {
    margin-left: 0 !important;
  }

  .layout.collapsed .brand-text,
  .layout.collapsed .menu-label,
  .layout.collapsed .menu-group-label,
  .layout.collapsed .health {
    opacity: 1;
    width: auto;
    pointer-events: auto;
  }

  .layout.collapsed .menu-item,
  .layout.collapsed .foot-link {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .stats,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    padding: 0 12px;
    gap: 8px;
  }

  .topbar-right {
    gap: 6px;
  }

  .admin-user {
    display: none;
  }

  .breadcrumb span:first-child,
  .breadcrumb .sep {
    display: none;
  }

  .content {
    padding: 12px;
  }

  .card {
    padding: 14px;
    border-radius: 10px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar input,
  .toolbar select,
  .toolbar .btn {
    width: 100%;
    min-width: 0;
  }

  .pager {
    flex-direction: column;
    align-items: stretch;
  }

  .pager-info {
    text-align: center;
  }

  .pager-range {
    display: block;
    margin: 4px 0 0;
  }

  .pager-controls {
    justify-content: center;
  }

  .pager-size {
    width: 100%;
    justify-content: center;
    margin: 0 0 4px;
  }

  .pager-controls > .btn {
    flex: 1 1 auto;
    min-width: 72px;
    justify-content: center;
  }

  .pager-pages {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .pager-page {
    min-width: 36px;
    min-height: 36px;
  }

  .source-page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .source-page-head .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
    justify-content: center;
  }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-panel,
  .source-modal-panel,
  .source-logs-panel {
    width: 100%;
    max-width: 100%;
    max-height: min(92vh, 100%);
    border-radius: 16px 16px 0 0;
    margin: 0;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .stats,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stat strong {
    font-size: 22px;
  }

  .topbar-right .btn {
    padding: 6px 10px;
    font-size: 13px;
  }

  #refreshBtn {
    display: none;
  }

  .table-wrap table {
    min-width: 560px;
    font-size: 13px;
  }

  .source-form-grid {
    grid-template-columns: 1fr;
  }

  .source-form-grid .span-2 {
    grid-column: auto;
  }

  .source-page-head {
    flex-direction: column;
  }

  .source-form-actions {
    flex-direction: column-reverse;
  }

  .source-form-actions .btn {
    width: 100%;
  }
}


.is-hidden { display: none !important; }

.login-gate {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #071a1f;
}

.login-visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #e7fff8;
}

.login-visual-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: loginDrift 18s ease-in-out infinite alternate;
}

.login-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(11, 61, 58, 0.88), rgba(7, 26, 31, 0.92) 55%, rgba(7, 26, 31, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.25), transparent 40%);
}

.login-visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.login-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #2dd4bf;
  color: #042f2e;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.25);
}

.login-logo-text {
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: 30px;
  letter-spacing: 0.04em;
}

.login-eyebrow {
  margin: 0 0 14px;
  color: rgba(153, 246, 228, 0.9);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.login-visual-copy h1 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
}

.login-lead {
  margin: 18px 0 0;
  max-width: 360px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
}

.login-visual-foot {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(153, 246, 228, 0.35), transparent 32%),
    radial-gradient(circle at 90% 85%, rgba(186, 230, 253, 0.35), transparent 28%),
    #f4faf8;
  animation: loginRise 0.7s ease-out;
}

.login-card {
  width: min(100%, 420px);
  display: grid;
  gap: 16px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.login-card-head h2 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: 34px;
  color: #0f172a;
  font-weight: 400;
}

.login-card-head p {
  margin: 8px 0 8px;
  color: #64748b;
  font-size: 14px;
}

.login-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.login-card input {
  width: 100%;
  height: 48px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  padding: 0 14px 0 44px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card input:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.login-submit {
  margin-top: 4px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.login-submit:hover {
  background: #1e293b;
}

.login-submit:active {
  transform: translateY(1px);
}

.admin-user {
  color: var(--muted);
  font-size: 13px;
  margin-right: 4px;
}

.source-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.source-page-head h2 {
  margin: 0;
}

.source-table-wrap table {
  width: 100%;
}

.source-table-wrap td code {
  font-size: 12px;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
}

.source-modal-panel {
  width: min(680px, 100%);
}

.source-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.source-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #595959;
}

.source-form-grid .span-2 {
  grid-column: 1 / -1;
}

.source-form-grid input,
.source-form-grid select,
.source-form-grid textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.source-form-grid input:focus,
.source-form-grid select:focus,
.source-form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.source-enabled {
  margin: 14px 0 8px;
}

.source-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.source-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}

.source-empty p {
  margin: 0 0 16px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: var(--panel);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-logs-panel {
  width: min(960px, 96vw);
  max-height: min(88vh, 900px);
}

.log-table-wrap {
  overflow: auto;
  max-height: min(70vh, 640px);
}

.log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.log-table th,
.log-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.log-table th {
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1;
  white-space: nowrap;
}

.log-table .nowrap {
  white-space: nowrap;
}

.log-msg {
  word-break: break-word;
}

.log-detail {
  margin: 6px 0 0;
  padding: 8px;
  max-height: 140px;
  overflow: auto;
  font-size: 11px;
  line-height: 1.4;
  background: rgba(220, 38, 38, 0.06);
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-row.log-error td {
  background: rgba(220, 38, 38, 0.04);
}


.modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.modal-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-body {
  padding: 16px 20px 20px;
}

.detail-grid {
  display: grid;
  gap: 12px;
}

.detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
}

.detail-label {
  color: var(--muted);
  padding-top: 1px;
}

.detail-value {
  color: var(--ink);
  word-break: break-word;
  white-space: pre-wrap;
}

.detail-value.muted {
  color: var(--muted);
}

.detail-image {
  max-width: 100%;
  max-height: 280px;
  border-radius: 8px;
  object-fit: contain;
  background: #f5f5f5;
  border: 1px solid var(--line);
}

@media (max-width: 520px) {
  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

@keyframes loginDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

/* 必须放在登录基础样式之后，否则会被桌面双栏覆盖 */
@media (max-width: 960px) {
  .login-gate {
    display: block;
    min-height: 100dvh;
    background: #f4faf8;
  }

  .login-visual {
    display: none !important;
  }

  .login-panel {
    display: flex;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 15% 15%, rgba(153, 246, 228, 0.35), transparent 32%),
      radial-gradient(circle at 90% 85%, rgba(186, 230, 253, 0.35), transparent 28%),
      #f4faf8;
  }

  .login-card {
    width: min(100%, 400px);
    margin: 0 auto;
  }

  .login-card-head h2 {
    font-size: 28px;
  }

  .login-card input,
  .login-submit {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }
}
