/* ===== Animated Background ===== */ body { font-family: 'Poppins', sans-serif; background: linear-gradient(-45deg, #667eea, #764ba2, #ff6b6b, #ff9f43); background-size: 400% 400%; animation: gradientBG 12s ease infinite; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 40px 0; } /* ===== Glass Container ===== */ .container { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(20px); padding: 50px 45px; border-radius: 30px; width: 480px; max-width: 95%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); color: white; animation: fadeIn 0.8s ease-in-out; border: 1px solid rgba(255,255,255,0.2); } /* ===== Heading ===== */ .container h2 { text-align: center; margin-bottom: 35px; font-weight: 600; font-size: 28px; letter-spacing: 1px; } /* ===== Inputs & Select ===== */ input, select { width: 100%; margin: 18px 0; padding: 16px; border-radius: 14px; border: none; outline: none; font-size: 15px; background: rgba(255,255,255,0.9); transition: 0.3s ease; } input:focus, select:focus { box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); transform: scale(1.02); } /* ===== Button ===== */ button { width: 100%; padding: 16px; margin-top: 25px; border-radius: 16px; border: none; background: linear-gradient(45deg, #ff6b6b, #ff9f43); color: white; font-size: 17px; font-weight: 600; cursor: pointer; transition: all 0.4s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.3); } button:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); background: linear-gradient(45deg, #ff9f43, #ff6b6b); } /* ===== QR Image Styling ===== */ img { margin-top: 30px; width: 220px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.4); transition: 0.4s ease; } img:hover { transform: scale(1.05); } /* ===== Error Message ===== */ .error { background: rgba(255, 0, 0, 0.2); padding: 12px; border-radius: 12px; margin-top: 15px; text-align: center; font-size: 14px; } /* ===== Animations ===== */ @keyframes fadeIn { from {opacity: 0; transform: translateY(20px);} to {opacity: 1; transform: translateY(0);} } @keyframes gradientBG { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }