/* Full-screen overlay with a blur effect */ body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 9998; } /* Styling for the message box */ .message { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 20px; border-radius: 0.5rem; width: 30%; height: 10%; color: blue; background: white; border: 1px solid blue; z-index: 9999; text-align: center; font-size: 1.3rem; /* Increased font size */ padding-top: 50px; /* Added top padding */ } /* Additional styling for error messages */ .message.error { border-color: red; color: #235295; } /* Additional styling for success messages */ .message.success { border-color: rgb(0, 0, 0); color: #235295; }