/* H5 登录页 */ body.page-login { min-height: 100vh; background: var(--bg); } .page-login .page-subheader { display: flex; border-bottom: 0; } .login-page { min-height: 100vh; padding: 56px 0 32px; box-sizing: border-box; } .login-page__inner { width: 100%; max-width: 440px; margin: 0 auto; padding: 24px var(--h5-gutter); display: flex; flex-direction: column; align-items: center; gap: 24px; box-sizing: border-box; } .login-page__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; } .login-page__logo { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px rgba(236, 35, 127, 0.4); } .login-page__content { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; } .login-page__intro { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } .login-page__title { margin: 0; color: var(--text); font-size: 28px; font-weight: 600; line-height: 38px; } .login-page__desc { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 22px; } .login-page__form { align-self: stretch; display: flex; flex-direction: column; gap: 16px; } .login-page__field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; } .login-page__label { color: var(--text-muted); font-size: 14px; font-weight: 500; line-height: 20px; } .login-page__control { align-self: stretch; height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid transparent; border-radius: 12px; outline: 1px solid transparent; outline-offset: -1px; } .login-page__control:focus-within { outline-color: rgba(236, 35, 127, 0.45); } .login-page__field.is-error .login-page__control { outline-color: #ff5a5f; } .login-page__error { display: inline-flex; align-items: center; gap: 6px; color: #ff5a5f; font-size: 12px; font-weight: 400; line-height: 18px; } .login-page__error[hidden] { display: none !important; } .login-page__error-icon { width: 14px; height: 14px; flex-shrink: 0; } .login-page__control > .icon { width: 18px; height: 18px; flex-shrink: 0; } .login-page__input { flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 15px; line-height: 24px; } .login-page__input::placeholder { color: var(--text-dim); } .login-page__toggle { width: 18px; height: 18px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--text-dim); } .login-page__toggle .icon { width: 18px; height: 18px; } .login-page__meta { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .login-page__remember { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; line-height: 20px; cursor: pointer; } .login-page__checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; } .login-page__check { width: 18px; height: 18px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); } .login-page__checkbox:checked + .login-page__check { border-color: transparent; background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%); } .login-page__checkbox:checked + .login-page__check::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg); } .login-page__forgot { color: #ff4a7b; font-size: 13px; line-height: 20px; } .login-page__submit { align-self: stretch; height: 52px; padding: 0 28px; font-size: 16px; line-height: 24px; } .login-page__switch { margin: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-muted); font-size: 14px; line-height: 22px; } .login-page__switch a { color: #ff4a7b; font-size: 14px; font-weight: 500; line-height: 20px; } .login-page__rule { align-self: stretch; height: 1px; background: var(--line-soft); } .login-page__legal { margin: 0; align-self: stretch; text-align: center; color: var(--text-dim); font-size: 12px; line-height: 18px; } .login-page__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }