    
        :root {
            --epulse-color-primary: #4f46e5; /* Indigo */
            --epulse-color-primary-light: #6366f1;
            --epulse-color-primary-lighter: #818cf8;
            --epulse-color-success: #10b981; /* Green */
            --epulse-color-error: #ef4444; /* Red */
            --epulse-color-background-light: #f9fafb; /* Very light gray */
            --epulse-color-background-page: #ffffff; /* White */
            --epulse-color-text-primary: #1f2937; /* Darker Gray */
            --epulse-color-text-secondary: #6b7280; /* Medium Gray */
            --epulse-color-border: #e5e7eb; /* Light Gray Border */
            
            --epulse-border-radius-medium: 10px; /* For general elements */
            --epulse-border-radius-large: 20px; /* For cards, main containers */
            --epulse-border-radius-pill: 50px; /* For pill buttons */

            --epulse-shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
            --epulse-shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
       
            
            --epulse-transition-fast: all 0.2s ease-in-out;
            --epulse-transition-normal: all 0.3s ease-in-out;
        }

        /* Base HTML font size for scalable typography */
        html {
            font-size: 60%; /* 1rem = 16px * 0.60 = 9.6px. Adjust rem values if needed or use 62.5% for 1rem=10px */
            scroll-behavior: smooth;
        }

        body {

            background-color: var(--epulse-color-background-light);
            color: var(--epulse-color-text-primary);
            line-height: 1.6;
            font-size: 1.6rem; /* Approx 15.36px (1.6 * 9.6px) */
            margin: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Typography Hierarchy */
        h1, h2, h3 {
            font-weight: 700;
            color: var(--epulse-color-primary);
            margin-top: 0;
        }

        h1 { font-size: 3.8rem; margin-bottom: 2.5rem; } /* Page Title - if any outside form */
        h2 { font-size: 3.2rem; margin-bottom: 2rem; }
        h3 { font-size: 2.8rem; margin-bottom: 1.5rem; } /* Form Title */

        p {
            margin-bottom: 1.5rem;
            color: var(--epulse-color-text-secondary);
            font-size: 1.7rem; /* Slightly larger for readability */
        }

        a {
            color: var(--epulse-color-primary-light);
            text-decoration: none;
            transition: var(--epulse-transition-fast);
        }
        a:hover {
            color: var(--epulse-color-primary);
            text-decoration: underline;
        }

        /* Main Content Area */
        .page-content-wrapper {
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4rem 2rem; /* Responsive padding */
        }

        /* Authentication Form Styling */
        .auth-form-card {
            background-color: var(--epulse-color-background-page);
            padding: 3.5rem 3rem;
            border-radius: var(--epulse-border-radius-large); /* 20px */
            box-shadow: var(--epulse-shadow-medium);
            text-align: center;
            width: 100%;
            max-width: 500px; /* Max width of the form */
            animation: authFormAppear 0.6s ease-out forwards;
        }

        @keyframes authFormAppear {
            0% { opacity: 0; transform: translateY(30px) scale(0.98); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .auth-form-card__title {
            font-size: 3rem; /* Adjusted for new base */
            color: var(--epulse-color-primary);
            margin-bottom: 2.5rem;
            position: relative;
            padding-bottom: 1rem;
        }
        .auth-form-card__title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 3px;
            background: linear-gradient(to right, var(--epulse-color-primary-light), var(--epulse-color-primary-lighter));
            border-radius: var(--epulse-border-radius-pill);
        }
        
        .auth-form-card__prompt {
            font-size: 1.7rem; /* Adjusted */
            color: var(--epulse-color-text-secondary);
            margin: 2rem 0 1rem;
        }

        /* Form Input Fields */
        .form-input-group {
            margin-bottom: 2rem; /* Space between input groups */
        }
        .form-input-field {
            width: 100%;
            padding: 1.6rem 1.8rem; /* Adjusted padding */
            font-size: 1.8rem; /* Adjusted font size */
            color: var(--epulse-color-text-primary);
            background-color: var(--epulse-color-background-light);
            border: 1px solid var(--epulse-color-border);
            border-radius: var(--epulse-border-radius-medium); /* 10px corners for inputs */
            transition: var(--epulse-transition-normal);
            box-shadow: var(--epulse-shadow-soft);
            box-sizing: border-box; /* Important for width 100% */
        }
        .form-input-field:focus {
            border-color: var(--epulse-color-primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); /* Focus ring */
            outline: none;
            transform: translateY(-1px);
        }
        .form-input-field::placeholder {
            color: var(--epulse-color-text-secondary);
            opacity: 0.8;
        }
        .form-input-field[readonly] {
            background-color: #e9ecef; /* Slightly different bg for readonly */
            cursor: not-allowed;
        }

        /* Form Step Sections */
        .form-step {
            display: none; /* Hidden by default, shown by JS */
            animation: formStepSlideIn 0.5s ease-out forwards;
        }
        .form-step.is-active {
            display: block;
        }

        @keyframes formStepSlideIn {
            0% { opacity: 0; transform: translateX(20px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        
        /* Buttons */
        .button-base {
            display: inline-block;
            padding: 1.5rem 3rem; /* Adjusted padding */
            font-size: 1.8rem; /* Adjusted font size */
            font-weight: 600;
            border-radius: var(--epulse-border-radius-pill); /* Pill shape */
            border: none;
            cursor: pointer;
            text-align: center;
            transition: var(--epulse-transition-normal);
            box-shadow: var(--epulse-shadow-soft);
            width: 100%; /* Full width buttons in form */
            margin-top: 1rem;
        }
        .button-primary {
            background-color: var(--epulse-color-primary);
            color: var(--epulse-color-background-page);
        }
        .button-primary:hover {
            background-color: var(--epulse-color-primary-light);
            transform: translateY(-2px);
            box-shadow: var(--epulse-shadow-medium);
        }
        .button-secondary-link {
            background-color: transparent;
            color: var(--epulse-color-primary);
            font-size: 1.6rem; /* Adjusted */
            padding: 1rem 0;
            margin-top: 2rem;
            box-shadow: none;
            display: inline-block; /* Not full width */
            width: auto;
        }
        .button-secondary-link:hover {
            text-decoration: underline;
            color: var(--epulse-color-primary-light);
            box-shadow: none;
            transform: none;
        }

        /* Feedback Message Styling */
        .form-feedback-message {
            margin: 2rem 0;
            padding: 1.5rem;
            border-radius: var(--epulse-border-radius-medium);
            font-size: 1.7rem; /* Adjusted */
            text-align: center;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
        }
        .form-feedback-message.is-visible {
            opacity: 1;
            max-height: 100px; /* Adjust if messages can be longer */
            padding: 1.5rem; /* Ensure padding is applied when visible */
        }
        .form-feedback-message--success {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--epulse-color-success);
            border: 1px solid rgba(16, 185, 129, 0.2);
        }
        .form-feedback-message--error {
            background-color: rgba(239, 68, 68, 0.1);
            color: var(--epulse-color-error);
            border: 1px solid rgba(239, 68, 68, 0.2);
        }
        
        /* Site Footer */
        .site-footer {
            background-color: var(--epulse-color-background-page);
            padding: 4rem 2rem;
            border-top: 1px solid var(--epulse-color-border);
            text-align: center; /* Center footer content by default */
        }
        .site-footer__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            text-align: left; /* Align text left within columns */
        }
        .site-footer__column-title {
            font-size: 2rem; /* Adjusted */
            color: var(--epulse-color-primary);
            margin-bottom: 1.8rem;
            text-transform: capitalize;
            font-weight: 600;
        }
        .site-footer__link {
            display: block;
            font-size: 1.6rem; /* Adjusted */
            color: var(--epulse-color-text-secondary);
            padding: 0.8rem 0;
            transition: var(--epulse-transition-fast);
        }
        .site-footer__link:hover {
            color: var(--epulse-color-primary);
            transform: translateX(4px);
            text-decoration: none;
        }
        .site-footer__link i {
            margin-right: 1rem;
            width: 1.5em; /* Ensure icons align well */
            text-align: center;
            transition: transform 0.3s ease;
        }
        .site-footer__link:hover i {
            transform: rotate(5deg); /* Subtle icon animation */
        }
        .site-footer__credits {
            grid-column: 1 / -1; /* Span all columns if using grid for single line */
            padding-top: 3rem;
            margin-top: 3rem;
            border-top: 1px solid var(--epulse-color-border);
            font-size: 1.6rem; /* Adjusted */
            color: var(--epulse-color-text-secondary);
        }
        .site-footer__credits-brand {
            color: var(--epulse-color-primary);
            font-weight: 600;
        }

        /* Scroll to Top Button */
        .scroll-to-top-button {
            position: fixed;
            bottom: 2.5rem;
            right: 2.5rem;
            background-color: var(--epulse-color-primary);
            color: var(--epulse-color-background-page);
            width: 5rem; /* Adjusted */
            height: 5rem; /* Adjusted */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: var(--epulse-transition-normal), transform 0.3s ease;
            z-index: 1000;
            box-shadow: var(--epulse-shadow-medium);
        }
        .scroll-to-top-button.is-visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .scroll-to-top-button:hover {
            background-color: var(--epulse-color-primary-light);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        .scroll-to-top-button i {
            font-size: 2.2rem; /* Adjusted */
        }

        /* Responsive Design Adjustments */
        @media (max-width: 991px) { /* Tablets */
            h1 { font-size: 3.4rem; }
            h2 { font-size: 2.8rem; }
            h3 { font-size: 2.5rem; } /* Form Title */
            .auth-form-card { padding: 3rem 2.5rem; max-width: 450px; }
        }

        @media (max-width: 768px) { /* Large Mobile / Small Tablets */
            html { font-size: 58%; } /* Slightly smaller base for smaller screens */
            .page-content-wrapper { padding: 3rem 1.5rem; }
            .auth-form-card { padding: 2.5rem 2rem; }
            .auth-form-card__title { font-size: 2.6rem; }
            .site-footer__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
        }

        @media (max-width: 576px) { /* Mobile */
            html { font-size: 55%; } /* Further adjustment */
            .page-content-wrapper { padding: 2.5rem 1rem; }
            .auth-form-card { padding: 2.5rem 1.5rem; }
            .auth-form-card__title { font-size: 2.4rem; margin-bottom: 2rem; }
            .form-input-field { padding: 1.5rem 1.6rem; font-size: 1.7rem; }
            .button-base { padding: 1.4rem 2.5rem; font-size: 1.7rem; }
            .form-feedback-message { font-size: 1.6rem; padding: 1.2rem; }
            
            .site-footer__column-title { font-size: 1.9rem; }
            .site-footer__link { font-size: 1.55rem; }
            .site-footer__credits { font-size: 1.5rem; }
            .scroll-to-top-button { width: 4.5rem; height: 4.5rem; bottom: 1.5rem; right: 1.5rem; }
            .scroll-to-top-button i { font-size: 2rem; }
        }
    
