        * { font-family: 'Inter', sans-serif; }
        body {
            background: radial-gradient(circle at 10% 30%, rgba(66, 153, 225, 0.15) 0%, transparent 30%),
                        radial-gradient(circle at 90% 70%, rgba(159, 122, 234, 0.12) 0%, transparent 35%),
                        linear-gradient(145deg, #f9fafc 0%, #f1f4f9 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin: 0;
            padding: 16px;
            overflow-x: hidden;
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.7);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255,255,255,0.6) inset;
            max-width: 100%;
            overflow: hidden;
        }
        .input-focus-ring:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
        }
        .step {
            display: none;
            max-width: 100%;
            overflow: visible;
        }
        .step.active-step {
            display: block;
        }
        .progress-step {
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.9);
            border: 2px solid #e2e8f0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            position: relative;
            z-index: 10;
            background: white;
            font-size: 14px;
            color: #4a5568;
            transition: all 0.3s ease;
        }
        .progress-step.active {
            border-color: #3b82f6;
            background: #3b82f6;
            color: white;
            transform: scale(1.1);
            box-shadow: 0 10px 15px -3px rgba(59,130,246,0.3);
        }
        .progress-step.completed {
            border-color: #10b981;
            background: #10b981;
            color: white;
        }
        
        /* Стилі для кастомних селектів */
        .custom-select {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1.2em;
            padding-right: 2.5rem;
        }
        
        /* Стилі для опцій селекта */
        .custom-select option {
            padding: 12px;
            font-size: 15px;
        }
        
        /* Стилі для кнопки назад */
        .btn-back {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 14px;
            background: white;
            color: #4a5568;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 8px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        }
        
        .btn-back:hover {
            background: #f8fafc;
            border-color: #cbd5e0;
            transform: translateY(-1px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        }
        
        .btn-back:active {
            transform: translateY(0);
        }
        
        .btn-back svg {
            width: 18px;
            height: 18px;
            transition: transform 0.2s;
        }
        
        .btn-back:hover svg {
            transform: translateX(-3px);
        }
        
        /* Кнопка вибору мови сторінки - по центру */
        .page-language-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 16px;
            width: 100%;
        }
        
        .page-language-selector {
            display: inline-flex;
            gap: 6px;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(8px);
            padding: 6px;
            border-radius: 40px;
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin: 0 auto;
        }
        
        .page-lang-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: transparent;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #4a5568;
            font-weight: 500;
        }
        
        .page-lang-btn:hover {
            background: rgba(59, 130, 246, 0.1);
            transform: scale(1.1);
        }
        
        .page-lang-btn.active {
            background: #3b82f6;
            color: white;
            box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
        }
        
        /* Стилі для вибору мови */
        .language-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .language-option {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
        }
        .language-option:hover {
            border-color: #3b82f6;
            background: #f0f9ff;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        }
        .language-option.selected {
            border-color: #3b82f6;
            background: #eff6ff;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
        }
        .language-option input[type="radio"] {
            width: 18px;
            height: 18px;
            margin-right: 12px;
            accent-color: #3b82f6;
        }
        
        /* Стилі для радіо кнопок валюти */
        .currency-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .currency-option {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
        }
        .currency-option:hover {
            border-color: #3b82f6;
            background: #f0f9ff;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        }
        .currency-option.selected {
            border-color: #3b82f6;
            background: #eff6ff;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
        }
        .currency-option input[type="radio"] {
            width: 18px;
            height: 18px;
            margin-right: 12px;
            accent-color: #3b82f6;
        }
        .currency-symbol {
            font-size: 18px;
            font-weight: 600;
            margin-right: 10px;
            min-width: 32px;
            color: #4a5568;
        }
        .currency-name {
            color: #718096;
            font-size: 13px;
            margin-left: 5px;
        }
        
        /* Примітка */
        .note {
            font-size: 12px;
            color: #718096;
            margin-top: 6px;
            padding-left: 4px;
            font-style: italic;
        }
        
        /* Стилі для перевірки пароля */
        .password-match {
            font-size: 13px;
            margin-top: 6px;
            padding-left: 4px;
        }
        .match-success {
            color: #10b981;
        }
        .match-error {
            color: #ef4444;
        }
        
        .password-strength-bar {
            height: 6px;
            border-radius: 3px;
            margin: 10px 0 8px;
            background: #e2e8f0;
            overflow: hidden;
        }
        
        .password-strength-fill {
            height: 100%;
            width: 0;
            transition: all 0.3s ease;
            border-radius: 3px;
        }
        
        .strength-0 { width: 0%; background: #e2e8f0; }
        .strength-1 { width: 20%; background: #ef4444; }
        .strength-2 { width: 40%; background: #f97316; }
        .strength-3 { width: 60%; background: #eab308; }
        .strength-4 { width: 80%; background: #10b981; }
        .strength-5 { width: 100%; background: #10b981; }
        
        .password-requirements {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-top: 12px;
            padding: 12px;
            background: #f8fafc;
            border-radius: 12px;
            font-size: 12px;
        }
        
        .requirement {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #64748b;
        }
        
        .requirement.met {
            color: #10b981;
        }
        
        .requirement i {
            font-style: normal;
            font-size: 14px;
        }
        
        .loading {
            display: none;
            text-align: center;
            margin-top: 20px;
        }
        .loading.active {
            display: block;
        }
        .spinner {
            border: 3px solid rgba(59,130,246,0.2);
            border-top: 3px solid #3b82f6;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 10px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(to right, #2563eb, #4f46e5);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 10px 15px -3px rgba(37,99,235,0.2);
        }
        .btn:hover {
            transform: scale(1.02);
            box-shadow: 0 20px 25px -5px rgba(37,99,235,0.3);
        }
        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        
        .error {
            color: #ef4444;
            font-size: 14px;
            margin-top: 12px;
            padding: 12px;
            background: #fef2f2;
            border: 1px solid #fee2e2;
            border-radius: 12px;
            display: none;
        }
        .error.active {
            display: block;
        }
        .debug-info {
            margin-top: 16px;
            padding: 12px;
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 12px;
            font-size: 12px;
            font-family: monospace;
            color: #e2e8f0;
            display: none;
            max-height: 200px;
            overflow-y: auto;
        }
        
        /* Виправлений блок телефону */
        .phone-group {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            width: 100%;
        }
        
        .country-code-select {
            width: 110px;
            flex-shrink: 0;
            padding: 12px 8px 12px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            font-size: 14px;
            background: white;
            transition: all 0.2s;
        }
        
        .phone-input {
            flex: 1;
            min-width: 0; /* Важливо для flexbox */
            width: auto;
            padding: 12px 16px;
        }
        
        /* Для мобільних пристроїв */
        @media (max-width: 480px) {
            .country-code-select {
                width: 90px;
                font-size: 13px;
                padding: 12px 4px 12px 8px;
            }
            .phone-input {
                padding: 12px 8px;
                font-size: 14px;
            }
        }
        
        .terms {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 20px 0;
            padding: 12px;
            background: #f8fafc;
            border-radius: 12px;
        }
        .terms input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #3b82f6;
            flex-shrink: 0;
        }
        .terms label {
            color: #4a5568;
            font-size: 14px;
        }
        .terms a {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
        }
        .terms a:hover {
            text-decoration: underline;
        }
        input, select {
            border: 1px solid #e2e8f0;
            transition: all 0.2s;
        }
        input:focus, select:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
        }
        
        /* Запобігання прокрутці */
        .register-container {
            max-width: 100%;
            overflow: hidden;
        }
        
        #step1, #step1Form {
            max-width: 100%;
            overflow: visible;
        }