﻿html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
.login-left {
background: linear-gradient(160deg, var(--qs-inverse-surface-2) 0%, var(--qs-primary) 55%, var(--qs-primary-hover) 100%);
display: flex;
align-items: stretch;
position: relative;
overflow: hidden;
}
.login-left__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.login-left__content h1 {
font-size: 34px;
font-weight: 800;
color: var(--qs-inverse-fg);
margin-bottom: 14px;
line-height: 1.3;
}
.login-right {
background: var(--qs-surface);
display: flex;
align-items: center;
justify-content: center;
padding: var(--qs-space-7) 44px;
box-shadow: -8px 0 40px rgba(0,0,0,0.08);
position: relative;
overflow-y: auto;
}
.login-right__header { margin-bottom: var(--qs-space-6); text-align: center; }
.login-right__header h2 {
font-size: 28px;
font-weight: 800;
color: var(--qs-primary);
margin-bottom: 6px;
}
.login-right__header p { font-size: 14px; color: var(--qs-text-faint); }
.login-field { margin-bottom: 22px; }
.login-field label {
display: block;
font-size: 13px;
font-weight: 700;
color: var(--qs-text);
margin-bottom: var(--qs-space-2);
text-align: right;
}
.login-input-wrap .l-icon {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
color: var(--qs-primary);
font-size: 16px;
pointer-events: none;
z-index: 2;
}
[dir="ltr"] .login-input-wrap .l-icon { right: auto; left: 16px; }
.login-input {
width: 100%;
padding: 14px 50px 14px 18px;
border: 2px solid var(--qs-border);
border-radius: var(--qs-radius-lg);
font-size: 14px;
background: var(--qs-bg);
color: var(--qs-text);
transition: all 0.2s ease;
outline: none;
box-shadow: none;
}
[dir="ltr"] .login-input { padding: 14px 18px 14px 50px; }
.login-input:focus {
border-color: var(--qs-primary-active);
background: var(--qs-surface);
box-shadow: 0 0 0 4px rgba(30,58,138,0.12);
}
.login-eye {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
color: var(--qs-text-faint);
font-size: 14px;
transition: color 0.15s;
z-index: 2;
}
[dir="ltr"] .login-eye { left: auto; right: 16px; }
.login-error { display: block; font-size: 12px; color: var(--qs-danger-solid); margin-top: 5px; }
.login-forgot { text-align: left; margin-bottom: 28px; }
[dir="rtl"] .login-forgot { text-align: right; }
.login-forgot a { font-size: 13px; color: var(--qs-primary); font-weight: 600; text-decoration: none; }
.login-forgot a:hover { text-decoration: underline; }
.login-btn {
width: 100%;
height: 40px;
padding: 0 15px;
background: var(--qs-primary);
color: var(--qs-inverse-fg);
border: none;
border-radius: 10px;
font-size: 15px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
box-shadow: none;
transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
letter-spacing: 0.3px;
position: relative;
overflow: hidden;
}
.login-register {
text-align: center;
margin-top: var(--qs-space-5);
font-size: 14px;
color: var(--qs-text-muted);
}
.login-register a {
color: var(--qs-primary);
font-weight: 700;
text-decoration: none;
margin-inline-start: 6px;
cursor: pointer;
}
.login-register a:hover {
text-decoration: underline;
color: var(--qs-primary-hover);
}
.login-left {
background-size: 220% 220%;
animation: qsLoginSheen 20s ease-in-out infinite;
}
@@keyframes qsLoginSheen {
0%   { background-position: 0% 50%; }
50%  { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.login-left::before { animation: qsFloatA 14s ease-in-out infinite; }
.login-left::after  { animation: qsFloatB 18s ease-in-out infinite; }
.login-left__circle { animation: qsFloatC 11s ease-in-out infinite; }
@@keyframes qsFloatA {
0%, 100% { transform: translate(0, 0); }
50%      { transform: translate(24px, 30px) scale(1.06); }
}
@@keyframes qsFloatB {
0%, 100% { transform: translate(0, 0); }
50%      { transform: translate(-28px, -22px) scale(1.08); }
}
@@keyframes qsFloatC {
0%, 100% { transform: translate(0, 0); }
50%      { transform: translate(-18px, 26px); }
}
.login-input-wrap .l-icon { transition: transform .2s cubic-bezier(.22,1,.36,1), color .2s ease; }
.login-input-wrap:focus-within .l-icon { transform: translateY(-50%) scale(1.18); color: var(--qs-primary-active); }
.login-btn:active { transform: translateY(0) scale(.985); }
@@media (prefers-reduced-motion: reduce) {
.login-left, .login-left::before, .login-left::after, .login-left__circle {
animation: none !important;
}
.login-input-wrap .l-icon { transition: none !important; }
}