:root{
  --slry-accent: #5ea6f8;
  --slry-accent-2: #6f9bf6;
  --slry-text: #0f172a;
  --slry-muted: #64748b;
  --slry-border: rgba(15, 23, 42, 0.12);
  --slry-card: rgba(255,255,255,0.92);
}

.slry-login-html,
.slry-login-body{
  height: 100%;
}

.slry-login-body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Microsoft YaHei", sans-serif;
  color: var(--slry-text);
  background:
    radial-gradient(1200px 700px at 15% 20%, rgba(94,166,248,0.20), transparent 60%),
    radial-gradient(900px 600px at 85% 30%, rgba(111,155,246,0.16), transparent 55%),
    linear-gradient(135deg, #eef7ff, #f7fbff 40%, #eef6ff);
}

.slry-login-wrap{
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.slry-login-card{
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: 360px 1fr;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.10);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.slry-login-left{
  position: relative;
  padding: 0;
  background:
    linear-gradient(135deg, #4aa1ff, #3b7ef2);
  color: #fff;
}

.slry-login-left:after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='0.18'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0.06'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 70 C70 40 120 120 210 90 C300 60 340 140 420 110 L420 0 L0 0Z' fill='url(%23g)'/%3E%3Cpath d='M0 170 C80 130 140 210 220 175 C310 140 350 220 420 190 L420 0 L0 0Z' fill='%23ffffff' opacity='0.08'/%3E%3Cpath d='M0 300 C90 250 160 340 240 305 C320 270 360 340 420 320 L420 420 L0 420Z' fill='%23ffffff' opacity='0.10'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 1;
  pointer-events: none;
}

.slry-login-left-inner{
  position: relative;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.slry-login-title{
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 30px;
  line-height: 1.15;
  text-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.slry-login-right{
  padding: 28px 40px 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slry-login-alert{
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #991b1b;
  font-size: 13px;
}

.slry-login-form{
  display: grid;
  gap: 14px;
}

.slry-field{
  display: grid;
  gap: 8px;
}

.slry-label{
  font-size: 13px;
  color: var(--slry-muted);
}

.slry-input{
  height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.slry-input:focus{
  border-color: rgba(94,166,248,0.85);
  box-shadow: none;
}

.slry-field-error{
  font-size: 12px;
  color: #b91c1c;
}

.slry-captcha{
  margin-top: -4px;
  width: 100%;
}

.slry-captcha-img{
  height: 44px;
  width: 100%;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #eef6ff;
  display: block;
  object-fit: cover;
  user-select: none;
}

.slry-submit{
  height: 44px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #5ea6f8, #6f9bf6);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  box-shadow: none;
}

.slry-submit:hover{
  filter: brightness(1.02);
}

.slry-submit:active{
  transform: translateY(1px);
}

.slry-help{
  margin: 8px 0 0;
  font-size: 12px;
}

.slry-help a{
  color: #1d4ed8;
  text-decoration: none;
}

.slry-help a:hover{
  text-decoration: underline;
}

@media (max-width: 820px){
  .slry-login-card{
    grid-template-columns: 1fr;
  }
  .slry-login-left-inner{
    min-height: 180px;
  }
}

