body { font-family: Arial, sans-serif; background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff; text-align: center; margin: 0; padding: 0; } .container { max-width: 600px; margin: 50px auto; background: rgba(0, 0, 0, 0.4); padding: 20px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); } .header { margin-bottom: 20px; } .form-box input { padding: 10px; margin: 10px 0; width: 80%; border: none; border-radius: 10px; } button { padding: 10px 20px; border: none; border-radius: 10px; background: #00c6ff; color: white; cursor: pointer; transition: transform 0.2s ease, background 0.3s ease; } button:hover { transform: scale(1.05); background: #0072ff; } .btn { display: inline-block; padding: 10px 20px; margin: 10px; border-radius: 10px; background: #00c6ff; color: white; text-decoration: none; transition: all 0.3s ease-in-out; } .btn:hover { background: #0072ff; transform: translateY(-3px); } .logout { background: #ff4b5c; } .logout:hover { background: #ff2e44; } .result { margin-top: 20px; font-size: 1.2em; animation: fadeIn 1s ease-in-out; } /* Flash messages */ .flash-messages { margin: 15px 0; } .flash { padding: 10px; border-radius: 8px; margin-bottom: 10px; animation: slideDown 0.5s ease forwards; } .flash.success { background: #28a745; color: white; } .flash.error { background: #dc3545; color: white; } .flash.info { background: #17a2b8; color: white; } /* Animations */ .fade-in { animation: fadeIn 1s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }