Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #f5f6fa;
+ --text-color: #2c3e50;
+ --border-color: #dcdde1;
+ --animation-duration: 0.3s;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ background: linear-gradient(135deg, #667eea, #764ba2);
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: var(--text-color);
+ }
+
+ .login-container {
+ width: 100%;
+ max-width: 400px;
+ padding: 20px;
+ }
+
+ .login-box {
+ background: white;
+ border-radius: 20px;
+ box-shadow: 0 15px 30px rgba(0,0,0,0.1);
+ overflow: hidden;
+ }
+
+ .login-switcher {
+ display: flex;
+ border-bottom: 1px solid var(--border-color);
+ }
+
+ .login-switcher button {
+ flex: 1;
+ padding: 20px;
+ border: none;
+ background: none;
+ cursor: pointer;
+ font-size: 16px;
+ color: var(--text-color);
+ position: relative;
+ transition: var(--animation-duration);
+ }
+
+ .login-switcher button.active {
+ color: var(--primary-color);
+ }
+
+ .login-switcher button.active::after {
+ content: '';
+ position: absolute;
+ bottom: -1px;
+ left: 0;
+ width: 100%;
+ height: 2px;
+ background: var(--primary-color);
+ animation: slideIn var(--animation-duration) ease;
+ }
+
+ .login-forms {
+ position: relative;
+ height: 400px;
+ }
+
+ .login-form {
+ padding: 30px;
+ position: absolute;
+ width: 100%;
+ opacity: 0;
+ transform: translateX(50px);
+ transition: all var(--animation-duration);
+ visibility: hidden;
+ }
+
+ .login-form.active {
+ opacity: 1;
+ transform: translateX(0);
+ visibility: visible;
+ }
+
+ .input-group {
+ position: relative;
+ margin-bottom: 20px;
+ }
+
+ .input-group input {
+ width: 100%;
+ padding: 12px;
+ border: 1px solid var(--border-color);
+ border-radius: 8px;
+ font-size: 16px;
+ transition: var(--animation-duration);
+ }
+
+ .input-group label {
+ position: absolute;
+ left: 12px;
+ top: 50%;
+ transform: translateY(-50%);
+ color: #999;
+ transition: var(--animation-duration);
+ pointer-events: none;
+ }
+
+ .input-group input:focus + label,
+ .input-group input:valid + label {
+ top: 0;
+ font-size: 12px;
+ background: white;
+ padding: 0 5px;
+ }
+
+ .options {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin: 20px 0;
+ }
+
+ .remember {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ cursor: pointer;
+ }
+
+ .login-button {
+ width: 100%;
+ padding: 15px;
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 8px;
+ font-size: 16px;
+ cursor: pointer;
+ transition: var(--animation-duration);
+ }
+
+ .login-button:hover {
+ background: #357abd;
+ }
+
+ .qr-container {
+ position: relative;
+ width: 200px;
+ height: 200px;
+ margin: 30px auto;
+ }
+
+ .qr-code {
+ width: 100%;
+ height: 100%;
+ background:
+ linear-gradient(90deg, black 25%, transparent 25%) 0 0,
+ linear-gradient(90deg, black 25%, transparent 25%) 0 100%,
+ linear-gradient(0deg, black 25%, transparent 25%) 0 0,
+ linear-gradient(0deg, black 25%, transparent 25%) 100% 0;
+ background-repeat: no-repeat;
+ background-size: 50px 2px, 50px 2px, 2px 50px, 2px 50px;
+ }
+
+ .scan-animation {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 4px;
+ background: var(--primary-color);
+ animation: scan 2s linear infinite;
+ }
+
+ @keyframes scan {
+ 0% { top: 0; }
+ 100% { top: 100%; }
+ }
+
+ @keyframes slideIn {
+ from { transform: scaleX(0); }
+ to { transform: scaleX(1); }
+ }
+
+ @media (max-width: 480px) {
+ .login-container {
+ padding: 10px;
+ }
+
+ .login-form {
+ padding: 20px;
+ }
+ }