
        body {
            font-family: 'Inter', sans-serif;
            position: relative;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            color: #d1d5db;
            padding: 0;
            margin: 0;

            /* Background image */
            background: url('../img/nexa-space.png') no-repeat center center fixed;
            background-size: cover;
        }

        /* Overlay to ensure text readability over image */
        .background-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: -1;
        }

        /* Centering content on the page */
        .content-wrapper {
            position: relative;
            z-index: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            width: 100%;
            padding: 1rem;
            overflow-y: scroll;
        }

        /* Form container styling */
        .auth-container {
            background-color: #1e293b;
            padding: 2.5rem;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
            width: 100%;
            max-width: 450px;
            margin-top: 15em;
            border: rgb(255, 255, 255) 3px solid;
        }

        /* Input field styling */
        .auth-input {
            width: 100%;
            padding: 0.75rem;
            border-radius: 0.5rem;
            border: 1px solid #475569;
            background-color: #0f172a;
            color: #d1d5db;
            margin-bottom: 1rem;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .auth-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
        }

        /* Button styling */
        .auth-button {
            width: 100%;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            color: white;
            background-color: #3b82f6;
            transition: background-color 0.2s;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .auth-button:hover {
            background-color: #2563eb;
        }
        .auth-button:disabled {
            background-color: #475569;
            cursor: not-allowed;
        }

        /* Secondary button styling (e.g., for register/login toggle) */
        .secondary-button {
            background-color: #475569;
        }
        .secondary-button:hover {
            background-color: #374151;
        }

        /* Form navigation tabs */
        .form-tabs {
            display: flex;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #475569;
        }
        .form-tab-button {
            flex: 1;
            padding: 0.75rem;
            text-align: center;
            font-weight: 600;
            color: #9ca3af;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
        }
        .form-tab-button:hover {
            color: #d1d5db;
        }
        .form-tab-button.active {
            color: #3b82f6;
            border-color: #3b82f6;
        }

        /* Hidden utility class */
        .hidden {
            display: none;
        }

        /* Generic Message Modal styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0s, opacity 0.3s ease-in-out;
        }

        .modal-overlay.active {
            visibility: visible;
            opacity: 1;
        }

        .modal-content {
            background: #1e293b;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
            max-width: 350px;
            width: 90%;
            transform: translateY(-20px);
            transition: transform 0.3s ease-in-out;
            position: relative;
            text-align: center;
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        #message-modal .modal-content h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            color: #ffffff;
        }
        #message-modal .modal-content p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            color: #d1d5db;
        }
        #message-modal .modal-close-btn {
            background-color: #3b82f6;
            color: white;
            padding: 0.625rem 1.25rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: background-color 0.2s;
        }
        #message-modal .modal-close-btn:hover {
            background-color: #2563eb;
        }

        /* Loader inside buttons */
        .loader {
            border: 3px solid #f3f3f3; /* Light grey */
            border-top: 3px solid #3b82f6; /* Blue */
            border-radius: 50%;
            width: 16px;
            height: 16px;
            animation: spin 1s linear infinite;
            margin-left: 8px; /* Space between text and loader */
            display: none; /* Hidden by default */
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }