:root {
            --primary-50: #f0f4f8;
            --primary-100: #d9e2ec;
            --primary-200: #bcccdc;
            --primary-300: #9fb3cc;
            --primary-400: #829ab9;
            --primary-500: #627d98;
            --primary-600: #486581;
            --primary-700: #334e68;
            --primary-800: #243b53;
            --primary-900: #102a43;
            
            --accent-400: #f0d06e;
            --accent-500: #e5b83c;
            --accent-600: #d4af37;
            --accent-700: #b8961e;
            
            --success: #10b981;
            --success-light: #d1fae5;
            --error: #ef4444;
            --error-light: #fee2e2;
            --warning: #f59e0b;
            --warning-light: #fef3c7;
            --info: #3b82f6;
            --info-light: #dbeafe;
            
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            
            --font-heading: 'Manrope', -apple-system, sans-serif;
            --font-body: 'Inter', -apple-system, sans-serif;
            
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-2xl: 1.5rem;
            --radius-full: 9999px;
            
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
            --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--font-body);
            color: var(--gray-800);
            background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.2;
            color: var(--gray-900);
        }
        
        /* Register Container */
        .register-wrapper {
            width: 100%;
            max-width: 1200px;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            background: white;
            border-radius: var(--radius-2xl);
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            animation: fadeInUp 0.5s ease-out;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Left Panel - Branding (Större) */
        .register-brand {
            background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
            padding: 3rem 2.5rem;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }
        
        .register-brand::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
        }
        
        .brand-content {
            position: relative;
            z-index: 1;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .brand-logo {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 2rem;
        }
        
        .brand-logo span {
            color: var(--accent-600);
        }
        
        .brand-text {
            flex: 1;
        }
        
        .brand-text h2 {
            color: white;
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .brand-text p {
            color: var(--primary-100);
            font-size: 1.125rem;
            margin-bottom: 2rem;
        }
        
        .brand-features {
            list-style: none;
            padding: 0;
        }
        
        .brand-features li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--primary-100);
            margin-bottom: 1rem;
            font-size: 1rem;
        }
        
        .brand-features li span {
            color: var(--accent-600);
            font-size: 1.25rem;
        }
        
        .brand-testimonial {
            margin-top: 2rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            border-left: 4px solid var(--accent-600);
        }
        
        .brand-testimonial p {
            color: white;
            font-style: italic;
            margin-bottom: 0.75rem;
        }
        
        .brand-testimonial .author {
            color: var(--primary-200);
            font-size: 0.875rem;
            font-style: normal;
        }
        
        .brand-footer {
            color: var(--primary-300);
            font-size: 0.875rem;
            margin-top: auto;
        }
        
        .brand-footer a {
            color: white;
            text-decoration: none;
        }
        
        .brand-footer a:hover {
            text-decoration: underline;
        }

        .brand-footer-links {
            margin-top: 0.5rem;
        }
        
        /* Right Panel - Form */
        .register-form {
            padding: 2.5rem 2rem;
            display: flex;
            flex-direction: column;
            max-height: 100vh;
            overflow-y: auto;
        }
        
        .form-header {
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .form-header h1 {
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }
        
        .form-header p {
            color: var(--gray-600);
            font-size: 0.9375rem;
        }
        
        .form-header a {
            color: var(--primary-600);
            text-decoration: none;
            font-weight: 600;
        }
        
        .form-header a:hover {
            text-decoration: underline;
        }
        
        /* Back to home link */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.875rem;
            margin-bottom: 1rem;
            transition: color 0.2s;
        }
        
        .back-link:hover {
            color: var(--primary-600);
        }
        
        /* Progress Steps */
        .progress-steps {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        
        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .step-number {
            width: 32px;
            height: 32px;
            border-radius: var(--radius-full);
            background: var(--gray-200);
            color: var(--gray-500);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
            transition: all 0.2s;
        }
        
        .step.active .step-number {
            background: var(--primary-900);
            color: white;
        }
        
        .step.completed .step-number {
            background: var(--success);
            color: white;
        }
        
        .step-label {
            font-size: 0.75rem;
            color: var(--gray-500);
        }
        
        .step.active .step-label {
            color: var(--primary-900);
            font-weight: 600;
        }
        
        .step-line {
            width: 40px;
            height: 2px;
            background: var(--gray-200);
            margin: 0 0.5rem 1.5rem;
        }
        
        /* Form Steps */
        .form-step {
            display: none;
        }
        
        .form-step.active {
            display: block;
        }
        
        /* Form Elements */
        .form-group {
            margin-bottom: 1.25rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.375rem;
            font-weight: 500;
            color: var(--gray-700);
            font-size: 0.875rem;
        }
        
        .form-input-wrapper {
            position: relative;
        }
        
        .form-input-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-400);
            font-size: 1rem;
        }
        
        .form-input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            border: 2px solid var(--gray-200);
            border-radius: var(--radius-lg);
            font-family: var(--font-body);
            font-size: 0.9375rem;
            transition: all 0.2s;
            background: white;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary-500);
            box-shadow: 0 0 0 3px var(--primary-100);
        }
        
        .form-input.error {
            border-color: var(--error);
        }
        
        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray-400);
            cursor: pointer;
            font-size: 1rem;
            padding: 0.25rem;
        }
        
        .password-toggle:hover {
            color: var(--gray-600);
        }
        
        .form-error {
            color: var(--error);
            font-size: 0.75rem;
            margin-top: 0.25rem;
            display: none;
        }
        
        .form-group.error .form-error {
            display: block;
        }
        
        /* Password Strength */
        .password-strength {
            margin-top: 0.5rem;
        }
        
        .strength-bar {
            height: 4px;
            background: var(--gray-200);
            border-radius: var(--radius-full);
            overflow: hidden;
            margin-bottom: 0.25rem;
        }
        
        .strength-fill {
            height: 100%;
            width: 0%;
            transition: width 0.3s, background 0.3s;
            border-radius: var(--radius-full);
        }
        
        .strength-text {
            font-size: 0.75rem;
            color: var(--gray-500);
        }
        
        /* Password Requirements */
        .password-requirements {
            margin-top: 0.5rem;
            padding: 0.75rem;
            background: var(--gray-50);
            border-radius: var(--radius-md);
        }
        
        .requirement {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: var(--gray-500);
            margin-bottom: 0.25rem;
        }
        
        .requirement:last-child {
            margin-bottom: 0;
        }
        
        .requirement.met {
            color: var(--success);
        }
        
        .requirement span {
            font-size: 0.875rem;
        }
        
        /* Terms Checkbox */
        .terms-checkbox {
            margin: 1.5rem 0;
        }
        
        .checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            cursor: pointer;
            font-size: 0.875rem;
            color: var(--gray-700);
        }
        
        .checkbox-label input[type="checkbox"] {
            width: 1.125rem;
            height: 1.125rem;
            border: 2px solid var(--gray-300);
            border-radius: var(--radius-sm);
            cursor: pointer;
            accent-color: var(--primary-600);
            margin-top: 0.125rem;
            flex-shrink: 0;
        }
        
        .checkbox-label a {
            color: var(--primary-600);
            text-decoration: none;
        }
        
        .checkbox-label a:hover {
            text-decoration: underline;
        }
        
        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.875rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            border-radius: var(--radius-lg);
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            font-family: var(--font-body);
            width: 100%;
        }
        
        .btn-primary {
            background: var(--primary-900);
            color: white;
            box-shadow: var(--shadow-md);
        }
        
        .btn-primary:hover {
            background: var(--primary-800);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .btn-primary:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--primary-700);
            border: 2px solid var(--primary-200);
        }
        
        .btn-secondary:hover {
            background: var(--primary-50);
            border-color: var(--primary-400);
        }
        
        .form-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        /* Alert Messages */
        .alert {
            padding: 0.875rem;
            border-radius: var(--radius-lg);
            margin-bottom: 1.25rem;
            display: none;
            animation: fadeIn 0.3s ease-out;
            font-size: 0.875rem;
        }
        
        .alert.show {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .alert-error {
            background: var(--error-light);
            color: var(--error);
            border-left: 4px solid var(--error);
        }
        
        .alert-success {
            background: var(--success-light);
            color: #047857;
            border-left: 4px solid var(--success);
        }
        
        /* Loading Spinner */
        .spinner {
            display: inline-block;
            width: 1.25rem;
            height: 1.25rem;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.6s linear infinite;
            margin-right: 0.5rem;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Success Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: var(--radius-2xl);
            padding: 2.5rem;
            max-width: 450px;
            width: 90%;
            text-align: center;
            animation: slideIn 0.3s ease-out;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .modal-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }
        
        .modal-content h3 {
            font-size: 1.75rem;
            margin-bottom: 0.75rem;
        }
        
        .modal-content p {
            color: var(--gray-600);
            margin-bottom: 1.5rem;
        }
        
        /* Responsive */
        @media (max-width: 900px) {
            body {
                padding: 1rem;
                align-items: flex-start;
            }
            
            .register-wrapper {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin: 0 auto;
            }
            
            .register-brand {
                display: none;
            }
            
            .register-form {
                padding: 2rem 1.5rem;
                max-height: none;
                overflow-y: visible;
            }
            
            .form-header h1 {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 0.5rem;
            }
            
            .register-wrapper {
                border-radius: var(--radius-xl);
            }
            
            .register-form {
                padding: 1.5rem 1.25rem;
            }
            
            .form-actions {
                flex-direction: column;
            }
            
            .step-line {
                width: 30px;
            }
        }
