/* Google Font */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #667eea, #764ba2); } /* Login Container */ .login-container { background: rgba(255, 255, 255, 0.15); padding: 30px; border-radius: 15px; backdrop-filter: blur(10px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); text-align: center; width: 350px; color: white; } /* Heading */ h2 { font-size: 24px; font-weight: 600; } /* Input Fields */ .input-group { position: relative; margin: 15px 0; } .input-group i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #555; font-size: 16px; } input { width: 100%; padding: 12px 40px; border: none; border-radius: 8px; outline: none; font-size: 16px; color: #333; background: rgba(255, 255, 255, 0.8); } input::placeholder { color: #666; } input:focus { background: white; box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); } /* Button */ .btn { width: 100%; padding: 12px; background: #ff6b6b; border: none; border-radius: 8px; cursor: pointer; font-size: 16px; color: white; font-weight: bold; transition: 0.3s; } .btn:hover { background: #ff4757; } /* Links */ .forgot-password, .register-link { margin-top: 10px; font-size: 14px; } .forgot-password a, .register-link a { color: white; text-decoration: none; font-weight: bold; } .forgot-password a:hover, .register-link a:hover { text-decoration: underline; } /* Responsive */ @media (max-width: 400px) { .login-container { width: 90%; padding: 20px; } } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } /* Body */ body { display: flex; flex-direction: column; height: 100vh; background: linear-gradient(135deg, #667eea, #764ba2); color: white; text-align: center; } /* Header */ header { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 15px 0; position: fixed; top: 0; left: 0; display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; z-index: 1000; } header h1 { font-size: 22px; } nav ul { list-style: none; display: flex; } nav ul li { margin: 0 15px; } nav ul li a { text-decoration: none; color: white; font-size: 16px; transition: 0.3s; } nav ul li a i { margin-right: 5px; } nav ul li a:hover { color: #ff6b6b; } /* Main Content */ main { flex-grow: 1; display: flex; justify-content: center; align-items: center; padding: 80px 20px 60px; /* Adjust for header & footer */ } .content-box { background: rgba(255, 255, 255, 0.15); padding: 30px; border-radius: 15px; backdrop-filter: blur(10px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); text-align: center }