 .auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; position: relative; overflow: hidden; } .auth-card { background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(108, 99, 255, 0.15); padding: 3rem 2.5rem; width: 100%; max-width: 480px; position: relative; overflow: hidden; animation: cardFadeIn 0.6s ease-out; } .auth-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 70%); animation: rotateGlow 20s linear infinite; pointer-events: none; } @keyframes cardFadeIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .auth-header { text-align: center; margin-bottom: 2.5rem; position: relative; z-index: 1; } .auth-title { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #6c63ff 0%, #ff64c7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; letter-spacing: -0.5px; animation: titlePulse 3s ease-in-out infinite; } @keyframes titlePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.9; } } .auth-subtitle { color: var(--text-muted); font-size: 0.95rem; font-weight: 400; margin: 0; } .auth-icon { width: 70px; height: 70px; margin: 0 auto 1.5rem; background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(255, 100, 199, 0.2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--glass-border); animation: iconFloat 3s ease-in-out infinite; } .auth-icon i { font-size: 2rem; background: linear-gradient(135deg, #6c63ff, #ff64c7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } @keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .auth-form { position: relative; z-index: 1; } .form-group { margin-bottom: 1.5rem; position: relative; } .form-label { color: var(--text-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; display: flex; align-items: center; letter-spacing: 0.3px; } .form-label i { margin-right: 0.5rem; color: var(--primary-color); font-size: 0.85rem; } .magic-input { width: 100%; background: rgba(255, 255, 255, 0.05); border: 2px solid var(--glass-border); border-radius: 12px; padding: 0.9rem 1.2rem; color: var(--text-color); font-size: 0.95rem; transition: all 0.3s ease; font-weight: 400; } .magic-input:focus { outline: none; background: rgba(255, 255, 255, 0.08); border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1), 0 0 20px rgba(108, 99, 255, 0.2); transform: translateY(-2px); } .magic-input::placeholder { color: var(--text-muted); opacity: 0.6; } .magic-input.is-invalid { border-color: #ff4757; animation: shake 0.5s; } @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } } .invalid-feedback { color: #ff4757; font-size: 0.85rem; margin-top: 0.5rem; display: flex; align-items: center; animation: fadeIn 0.3s ease; } .invalid-feedback i { margin-right: 0.4rem; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } .auth-submit-btn { width: 100%; background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%); border: none; border-radius: 12px; padding: 1rem 2rem; color: white; font-weight: 700; font-size: 1rem; letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3); position: relative; overflow: hidden; margin-top: 0.5rem; } .auth-submit-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s; } .auth-submit-btn:hover::before { left: 100%; } .auth-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(108, 99, 255, 0.5); } .auth-submit-btn:active { transform: translateY(-1px); } .auth-submit-btn i { margin-right: 0.6rem; } .auth-divider { text-align: center; margin: 2rem 0 1.5rem; position: relative; } .auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: linear-gradient(to right, transparent, var(--glass-border), transparent); } .auth-divider::before { left: 0; } .auth-divider::after { right: 0; } .auth-divider span { background: var(--dark-bg); padding: 0 1rem; color: var(--text-muted); font-size: 0.85rem; position: relative; z-index: 1; } .auth-footer { text-align: center; margin-top: 1.5rem; position: relative; z-index: 1; } .auth-footer-text { color: var(--text-muted); font-size: 0.9rem; margin: 0; } .auth-link { color: var(--primary-color); text-decoration: none; font-weight: 700; transition: all 0.3s ease; position: relative; } .auth-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; } .auth-link:hover { color: var(--primary-light); } .auth-link:hover::after { width: 100%; } .password-toggle { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.5rem; transition: color 0.3s ease; z-index: 10; } .password-toggle:hover { color: var(--primary-color); } .input-wrapper { position: relative; } @media (max-width: 576px) { .auth-card { padding: 2rem 1.5rem; border-radius: 20px; margin: 1rem; } .auth-title { font-size: 2rem; } .auth-icon { width: 60px; height: 60px; margin-bottom: 1rem; } .auth-icon i { font-size: 1.6rem; } .magic-input { padding: 0.8rem 1rem; font-size: 0.9rem; } .auth-submit-btn { padding: 0.9rem 1.5rem; font-size: 0.95rem; } .form-group { margin-bottom: 1.2rem; } .auth-header { margin-bottom: 2rem; } } @media (max-width: 380px) { .auth-card { padding: 1.5rem 1rem; } .auth-title { font-size: 1.75rem; } .magic-input { padding: 0.75rem 0.9rem; } } .magic-input:-webkit-autofill, .magic-input:-webkit-autofill:hover, .magic-input:-webkit-autofill:focus { -webkit-text-fill-color: var(--text-color); -webkit-box-shadow: 0 0 0 1000px rgba(30, 30, 30, 0.9) inset; transition: background-color 5000s ease-in-out 0s; border-color: var(--glass-border); } .magic-input:-webkit-autofill:focus { border-color: var(--primary-color); }