        /* Reset & base layout */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-family: 'Poppins', sans-serif;
            margin: 0;
            background-color: #1e1e1e;
            min-height: 100vh;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Mobile-first container */
        .register-container {
            background-color: rgba(30, 30, 30, 0.9);
            padding: 20px;
            width: 500px;
            border-radius: 10px;
            box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.2);
            max-width: 100%;
        }

        /* Headings */
        h2 {
            text-align: center;
            font-size: 22px;
            margin-bottom: 20px;
            color: #ccc;
        }

        p {
            color: #ccc;
        }

        /* Input Fields */
        input[type="text"], input[type="email"], input[type="password"] {
            width: 100%;
            padding: 14px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 8px;
            background: #2c2c2c;
            color: #ccc;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="password"]:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* Submit Button */
        button[type="submit"] {
            width: 100%;
            padding: 12px;
            color: #fff;
            background: #006057;
            font-size: 16px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        button[type="submit"]:hover {
          background-color: #009688;
        }

        /* Messages */
        .error-message {
            color: red;
            font-size: 14px;
            text-align: center;
            margin-bottom: 15px;
        }

        .success-message {
            color: #28a745;
            font-size: 14px;
            text-align: center;
            margin-bottom: 15px;
        }

        /* Footer link */
        .login-link {
            text-align: center;
            margin-top: 15px;
            font-size: 14px;
        }

        .login-link a {
            color: #007bff;
            text-decoration: none;
        }

        .login-link a:hover {
            text-decoration: underline;
        }
        #stars-canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Place behind content */
        background: #1e1e1e; /* Match your existing background */
    }