        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        /* --- Base Styles (Consistent with Quiz/Results Page) --- */
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #e6f1ff;
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            position: relative;
        }

        /* Adds the subtle background pattern from the other pages */
        body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 10% 20%, rgba(25, 130, 196, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(142, 68, 173, 0.1) 0%, transparent 25%);
            z-index: -1;
        }

        /* --- Back Arrow (Styled like quiz header button) --- */
        .back-arrow {
            position: absolute;
            top: 25px;
            left: 25px;
            font-size: 24px; /* A good size for the arrow symbol */
            color: #71c9f8; /* Primary accent color */
            text-decoration: none;
            padding: 8px 15px; /* Pill shape padding */
            background-color: rgba(113, 201, 248, 0.12);
            border-radius: 30px; /* Pill shape */
            transition: background-color 0.3s, transform 0.2s;
        }

        .back-arrow:hover {
            background-color: rgba(113, 201, 248, 0.2);
            transform: scale(1.05);
        }

        /* --- Main Container (Consistent with Quiz/Results Page) --- */
        .container {
            background: rgba(26, 29, 49, 0.6);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 35px 45px;
            border-radius: 20px; /* Consistent radius */
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
            border: none;
            width: 100%;
            max-width: 500px;
            text-align: center;
        }

        h1 {
            color: #71c9f8; /* Primary accent color */
            margin-bottom: 30px;
            font-size: 2.1em;
            font-weight: 700;
        }

        .form-group {
            margin-bottom: 25px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            color: #ecf0f1;
            font-weight: 600;
            font-size: 1.05em;
        }

        /* --- Input Field (Adapted for dark theme, consistent with quiz options) --- */
        .form-group input[type="number"] {
            width: 100%;
            padding: 14px;
            border: 1px solid rgba(113, 201, 248, 0.2);
            border-radius: 12px;
            font-size: 1em;
            background-color: rgba(255, 255, 255, 0.04);
            color: #e6f1ff; /* Light text color for dark input */
            box-sizing: border-box;
            transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        }

        .form-group input[type="number"]::placeholder {
            color: #a3b1c6;
        }

        .form-group input[type="number"]:focus {
            border-color: #71c9f8; /* Primary accent color */
            outline: 0;
            box-shadow: 0 0 0 3px rgba(113, 201, 248, 0.4); /* Matching focus ring */
        }

        /* Input with error (class added by JS) */
        .input-error {
            border-color: #e74c3c !important;
        }

        .input-error:focus {
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4) !important;
        }

        /* --- Submit Button (Consistent with Quiz/Results Page) --- */
        button[type="submit"] {
            background: linear-gradient(45deg, #71c9f8, #8e44ad);
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 15px; /* Consistent radius */
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(113, 201, 248, 0.3);
            margin-top: 10px;
        }

        button[type="submit"]:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(113, 201, 248, 0.4);
        }

        .error-messages {
            margin-bottom: 20px;
            text-align: left;
        }

        .error-messages p {
            color: #e74c3c;
            font-size: 0.9em;
            margin: 8px 0 0 0;
            font-weight: 500;
        }

        /* --- Responsive Adjustments --- */
        @media (max-width: 768px) {
            .container {
                padding: 25px 20px;
            }
            h1 {
                font-size: 1.9em;
            }
            .back-arrow {
                top: 15px;
                left: 15px;
                font-size: 22px;
                padding: 6px 12px;
            }
            button[type="submit"] {
                font-size: 1em;
                padding: 12px 20px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 20px 15px;
            }
            h1 {
                font-size: 1.7em;
                margin-bottom: 25px;
            }
            .form-group input[type="number"] {
                padding: 12px;
                font-size: 0.95em;
            }
            button[type="submit"] {
                font-size: 1em;
            }
            .back-arrow {
                top: 10px;
                left: 10px;
            }
                                }
