        :root {
            --primary-color: #4361ee;
            --primary-light: rgba(67, 97, 238, 0.1);
            --success-color: #06d6a0;
            --success-light: rgba(6, 214, 160, 0.1);
            --danger-color: #ef476f;
            --danger-light: rgba(239, 71, 111, 0.1);
            --warning-color: #fbbf24;
            --warning-light: rgba(251, 191, 36, 0.1);
            --bg-color: #f8f9fa;
            --card-bg: #ffffff;
            --text-color: #2b2d42;
            --text-secondary: #6c757d;
            --border-color: #e9ecef;
            --border-radius: 10px;
            --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
            --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
        }

        body {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--bg-color);
            padding: 1rem;
            font-size: 0.9rem;
        }

        /* 🔔 Enhanced Notification System */
        .notification-container {
            position: fixed;
            top: 1rem;
            right: 1rem;
            z-index: 10000;
            pointer-events: none;
            max-width: 320px;
            width: calc(100vw - 2rem);
        }

        .notification {
            background: white;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            border-radius: 12px;
            margin-bottom: 0.75rem;
            pointer-events: all;
            opacity: 0;
            transform: translateX(100%) scale(0.95);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.06);
            backdrop-filter: blur(8px);
        }

        .notification.show {
            opacity: 1;
            transform: translateX(0) scale(1);
        }

        .notification.hide {
            opacity: 0;
            transform: translateX(100%) scale(0.95);
        }

        .notification-content {
            display: flex;
            align-items: flex-start;
            padding: 1rem;
            gap: 0.75rem;
        }

        .notification-icon {
            flex-shrink: 0;
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .notification-success .notification-icon {
            background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
            color: #059669;
        }

        .notification-error .notification-icon {
            background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
            color: #dc2626;
        }
        
        .notification-warning .notification-icon {
            background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
            color: #d97706;
        }
        
        .notification-info .notification-icon {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            color: #2563eb;
        }

        .notification-body {
            flex: 1;
            min-width: 0;
        }

        .notification-title {
            font-weight: 600;
            font-size: 0.875rem;
            color: #111827;
            margin-bottom: 0.25rem;
            letter-spacing: -0.01em;
            line-height: 1.3;
        }
        
        .notification-message {
            font-size: 0.8125rem;
            color: #4b5563;
            line-height: 1.4;
            letter-spacing: -0.005em;
            word-wrap: break-word;
        }
        
        .notification-close {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: transparent;
            border: none;
            color: #9ca3af;
            cursor: pointer;
            font-size: 0.875rem;
            width: 1.75rem;
            height: 1.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            transition: all 0.2s;
            opacity: 0;
        }

        .notification:hover .notification-close {
            opacity: 1;
        }

        .notification-close:hover {
            background: #f3f4f6;
            color: #374151;
        }

        .notification-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #6366f1, #8b5cf6);
            border-radius: 0 0 12px 12px;
            transition: width 0.1s linear;
        }

        /* 🏠 Enhanced Register Container */
        .register-container {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            border: 1px solid var(--border-color);
            width: 100%;
            max-width: 432px;
            overflow: hidden;
        }

        .register-header {
            padding: 1.35rem 1.8rem;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }
        
        .register-header .logo-container {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 63px;
            height: 63px;
            background-color: var(--primary-light);
            color: var(--primary-color);
            border-radius: 50%;
            margin-bottom: 0.9rem;
            font-size: 2.25rem;
        }

        .register-header .logo-container img {
            width: 63px;
            height: auto;
        }
        
        .register-header h1 {
            font-size: 1.35rem;
            font-weight: 600;
            color: var(--text-color);
            margin: 0;
        }
        
        .register-header p {
            font-size: 0.81rem;
            color: var(--text-secondary);
            margin-top: 0.225rem;
        }

        .register-body {
            padding: 1.8rem;
        }

        .form-group {
            margin-bottom: 1.125rem;
            position: relative;
        }
        
        .input-label {
            display: block;
            font-size: 0.7875rem;
            font-weight: 500;
            color: var(--text-color);
            margin-bottom: 0.45rem;
        }

        .input-helper {
            font-size: 0.675rem;
            color: var(--text-secondary);
            margin-top: 0.225rem;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .form-control {
            width: 100%;
            padding: 0.675rem 0.9rem;
            padding-left: 2.475rem;
            border-radius: 7.2px;
            border: 1px solid var(--border-color);
            font-size: 0.81rem;
            color: var(--text-color);
            transition: var(--transition-all);
            background-color: #f9fafb;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px var(--primary-light);
        }
        
        .form-control::placeholder {
            color: var(--text-secondary);
            opacity: 0.7;
        }

        .input-icon {
            position: absolute;
            left: 0.9rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 0.99rem;
        }

        .form-control.is-invalid {
            border-color: var(--danger-color);
        }
        
        .form-control.is-invalid:focus {
            border-color: var(--danger-color);
            box-shadow: 0 0 0 3px var(--danger-light);
        }

        .custom-validation-message {
            display: none; 
            width: 100%;
            margin-top: 0.315rem;
            font-size: 0.72rem;
            color: var(--danger-color);
        }
        
        .custom-validation-message.visible {
            display: block;
        }

        .password-strength {
            margin-top: 0.45rem;
            height: 3.6px;
            background-color: var(--border-color);
            border-radius: 1.8px;
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            width: 0;
            transition: width 0.3s ease, background-color 0.3s ease;
        }

        .password-strength-text {
            font-size: 0.675rem;
            margin-top: 0.225rem;
            color: var(--text-secondary);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            padding: 0.675rem 1.125rem;
            border-radius: 7.2px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition-all);
            text-decoration: none;
            font-size: 0.81rem;
            width: 100%;
        }

        .btn-primary {
            background-color: #4f46e5;
            color: white;
            border: none;
        }

        .btn-primary:hover:not(:disabled) {
            filter: brightness(1.1);
            transform: translateY(-1.8px);
        }
        
        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .auth-links {
            text-align: center;
            margin-top: 1.35rem;
        }

        .auth-links a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.7875rem;
            margin: 0 0.45rem;
            transition: var(--transition-all);
        }
        
        .auth-links a:hover {
            text-decoration: underline;
            filter: brightness(0.9);
        }

        .otp-input-group {
            display: flex;
            gap: 0.45rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .otp-input-wrapper {
            flex: 1;
            min-width: 200px;
        }

        .btn-otp {
            width: auto;
            padding: 0.675rem 0.9rem;
            font-size: 0.765rem;
            white-space: nowrap;
            flex-shrink: 0;
            min-width: 100px;
            background-color: #4f46e5;
            color: white;
            border: none;
            border-radius: 7.2px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.2s;
        }
        
        .btn-otp:hover {
            background-color: #4338ca;
            transform: translateY(-1px);
        }
        
        .btn-otp:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .btn-otp-success {
            background-color: #10b981;
            color: white;
        }

        .btn-otp-warning {
            background-color: #f59e0b;
            color: white;
        }

        .btn-otp-danger {
            background-color: #ef4444;
            color: white;
        }

        .loading-spinner {
            display: inline-block;
            width: 14.4px;
            height: 14.4px;
            border: 1.8px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* 📱 Enhanced Responsive Design */
        @media (max-width: 480px) {
            .register-body {
                padding: 1.35rem;
            }
            .register-header {
                padding: 1.125rem 1.35rem;
            }
            .register-header h1 {
                font-size: 1.17rem;
            }
            
            .otp-input-group {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                gap: 0.45rem;
                align-items: center;
            }
            
            .otp-input-wrapper {
                flex: 1;
                min-width: 0;
            }
            
            .btn-otp {
                width: auto;
                white-space: nowrap;
                padding: 0.675rem 0.675rem;
                margin-top: 0;
                min-width: auto;
                font-size: 0.75rem;
            }
        }
        
        @media (max-width: 640px) {
            .notification-container {
                top: 0.75rem;
                right: 0.75rem;
                left: 0.75rem;
                max-width: none;
                width: auto;
            }

            .notification {
                margin-bottom: 0.5rem;
                border-radius: 10px;
            }

            .notification-content {
                padding: 0.875rem;
                gap: 0.625rem;
            }

            .notification-icon {
                width: 1.75rem;
                height: 1.75rem;
                font-size: 0.8125rem;
                border-radius: 6px;
            }

            .notification-title {
                font-size: 0.8125rem;
                margin-bottom: 0.1875rem;
            }

            .notification-message {
                font-size: 0.75rem;
                line-height: 1.35;
            }

            .notification-close {
                top: 0.375rem;
                right: 0.375rem;
                width: 1.5rem;
                height: 1.5rem;
                font-size: 0.8125rem;
            }

            .notification-progress {
                height: 2px;
                border-radius: 0 0 10px 10px;
            }
        }

        /* 🖥️ High DPI screens */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .notification {
                box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
            }
        }

        /* ♿ Reduced motion accessibility */
        @media (prefers-reduced-motion: reduce) {
            .notification {
                transition: opacity 0.2s ease;
                transform: none;
            }

            .notification.show {
                transform: none;
            }

            .notification.hide {
                transform: none;
            }
        }