@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } } body { font-family: Arial, sans-serif; background: linear-gradient(135deg, #0f0f0f, #1a1a1a); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; color: #fff; } .login-container { background-color: #1e1e1e; padding: 40px 30px; border-radius: 10px; box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); width: 500px; text-align: center; position: relative; animation: fadeSlideIn 0.8s ease-out forwards; opacity: 0; } .login-container::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80%; height: 5px; background: red; box-shadow: 0 0 20px red, 0 0 40px red, 0 0 60px red; border-radius: 5px; } h2 { margin-bottom: 25px; font-size: 26px; } form { display: flex; flex-direction: column; align-items: center; gap: 15px; } input { width: 80%; padding: 10px; background-color: #2b2b2b; border: 1px solid #444; border-radius: 5px; color: #fff; font-size: 15px; transition: box-shadow 0.3s ease, transform 0.2s ease; } input::placeholder { color: #aaa; } input:focus { outline: none; box-shadow: 0 0 10px rgba(255, 0, 0, 0.6); transform: scale(1.02); } button { width: 80%; padding: 10px; background-color: #ff1a1a; border: none; color: white; border-radius: 5px; cursor: pointer; font-size: 15px; transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease; } button:hover { background-color: #e60000; box-shadow: 0 0 10px red, 0 0 20px red; transform: scale(1.03); } #error-message { color: #ff4d4d; margin-top: 10px; }