:root { --primary: #4f46e5; --primary-hover: #4338ca; --dark: #1e293b; --gray: #64748b; --gray-light: #e2e8f0; --light: #f8fafc; --white: #ffffff; --danger: #ef4444; --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12); } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; } body { min-height: 100vh; color: var(--dark); background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 34%), linear-gradient(135deg, #f8fafc 0%, #eef2ff 52%, #f8fafc 100%); } .login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; } .login-panel { width: min(100%, 430px); background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 34px; } .brand-mark { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--white); background: var(--primary); font-size: 1.45rem; margin-bottom: 22px; } .eyebrow { color: var(--primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; } h1 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 10px; } .subtitle { color: var(--gray); line-height: 1.6; margin-bottom: 24px; } .alert-error { display: flex; gap: 10px; align-items: center; color: #991b1b; background-color: #fee2e2; border: 1px solid #fecaca; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 0.9rem; } .login-form { display: grid; gap: 16px; } .input-group { display: grid; gap: 8px; } .input-group span { color: var(--dark); font-size: 0.9rem; font-weight: 700; } .input-shell { height: 48px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--gray-light); border-radius: 12px; background: var(--light); padding: 0 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; } .input-shell:focus-within { background: var(--white); border-color: rgba(79, 70, 229, 0.45); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); } .input-shell i { color: var(--primary); } .input-shell input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--dark); font-size: 0.96rem; } .btn-login { height: 48px; border: 0; border-radius: 12px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-size: 0.98rem; font-weight: 800; margin-top: 4px; transition: background-color 0.2s ease, transform 0.2s ease; } .btn-login:hover { background: var(--primary-hover); transform: translateY(-1px); } .login-hint { color: var(--gray); font-size: 0.86rem; margin-top: 18px; text-align: center; } @media (max-width: 520px) { .login-page { padding: 16px; } .login-panel { padding: 26px; border-radius: 16px; } h1 { font-size: 1.5rem; } }