        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro SC', 'SF Pro Text', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Segoe UI', Roboto, 'Hiragino Sans GB', arial, 'microsoft yahei ui', 'Microsoft YaHei', SimSun, sans-serif;
            background: #ffffff;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 20px;
        }

        .preloader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            animation: fadeIn 0.3s ease-out;
        }

        .preloader-overlay.hidden {
            display: none;
            animation: fadeOut 0.4s ease-out forwards;
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
            }
            to {
                opacity: 0;
            }
        }

        .preloader-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .preloader-logo {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: bounce 2s ease-in-out infinite;
        }

        .preloader-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        .preloader-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #e8e8e8;
            border-top: 3px solid #2980FE;
            border-radius: 50%;
            animation: spin 1.2s linear infinite;
        }

        .preloader-text {
            font-size: 14px;
            color: #666;
            font-weight: 400;
            letter-spacing: 0.5px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            animation: fadeIn 0.2s ease-out;
        }

        .modal-overlay.hidden {
            display: none;
        }

        .modal-content {
            background: white;
            border-radius: 12px;
            padding: 40px;
            text-align: center;
            max-width: 400px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            animation: slideUp 0.3s ease-out;
        }

        .modal-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #f0f0f0;
            border-top: 3px solid #2980FE;
            border-radius: 50%;
            margin: 0 auto 20px;
            animation: spin 1s linear infinite;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .modal-description {
            font-size: 14px;
            color: #666;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            margin-bottom: 40px;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            user-select: none;
        }

        .back-button {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            transition: color 0.2s;
        }

        .back-button:hover {
            color: #333;
        }

        .back-button.hidden {
            display: none;
        }

        .header-title {
            font-size: 16px;
            color: #333;
            font-weight: 500;
        }

        .language-selector {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #666;
            cursor: pointer;
            user-select: none;
        }

        .language-selector:hover {
            color: #333;
        }

        .language-selector svg {
            width: 16px;
            height: 16px;
        }

        .step-counter {
            font-size: 14px;
            color: #999;
            font-weight: 500;
        }

        .step-counter.hidden {
            display: none;
        }

        .container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            max-width: 900px;
            margin: 0 auto;
            width: 100%;
            animation: fadeInContent 0.3s ease;
        }

        @keyframes fadeInContent {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .logo {
            width: 100px;
            height: 100px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .welcome-text {
            font-size: 18px;
            color: #666;
            margin-bottom: 20px;
            font-weight: 400;
            letter-spacing: 0.3px;
        }

        .button-group {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: auto;
        }

        .btn {
            padding: 16px 24px;
            font-size: 16px;
            font-weight: 500;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
            letter-spacing: 0.3px;
        }

        .btn-primary {
            background-color: #2980FE;
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(41, 128, 254, 0.3);
        }

        .btn-primary:hover {
            background-color: #2170e8;
            box-shadow: 0 6px 16px rgba(41, 128, 254, 0.4);
            transform: translateY(-2px);
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(41, 128, 254, 0.3);
        }

        .btn-secondary {
            background-color: #f5f5f5;
            color: #333;
            border: 1px solid #e8e8e8;
        }

        .btn-secondary:hover {
            background-color: #f0f0f0;
            border-color: #d8d8d8;
            transform: translateY(-2px);
        }

        .btn-secondary:active {
            transform: translateY(0);
        }

        .import-wallet-page {
            width: 100%;
            padding: 0 40px;
        }

        .modal-icon {
            width: 80px;
            height: 80px;
            background: #2980FE;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 32px;
        }

        .modal-icon svg {
            width: 48px;
            height: 48px;
            color: white;
        }

        .info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            background: #f0f0f0;
            border-radius: 50%;
            cursor: help;
            margin-left: 6px;
            color: #666;
            font-size: 12px;
            font-weight: bold;
            position: relative;
            transition: background 0.2s;
        }

        .info-icon:hover {
            background: #e8e8e8;
        }

        .info-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #1a1a1a;
            color: white;
            padding: 10px 12px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            margin-bottom: 8px;
            z-index: 100;
            display: none;
            line-height: 1.4;
        }

        .info-icon:hover .info-tooltip {
            display: block;
        }

        .info-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 4px solid #1a1a1a;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 24px;
            color: #333;
            text-align: left;
        }

        .secure-sharding-section {
            display: none;
            background: #f9f9f9;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 20px;
        }

        .secure-sharding-section.show {
            display: block;
        }

        .sharding-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .sharding-title {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .counter-box {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: flex-end;
        }

        .counter-value {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .counter-button {
            background: white;
            border: 1px solid #e8e8e8;
            width: 28px;
            height: 28px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            color: #2980FE;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .counter-button:hover {
            border-color: #2980FE;
        }

        .advanced-toggle {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            color: #2980FE;
            cursor: pointer;
            transition: color 0.2s;
        }

        .advanced-toggle:hover {
            color: #2170e8;
        }

        .advanced-toggle svg {
            width: 16px;
            height: 16px;
            transition: transform 0.3s;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 14px;
            color: #333;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .large-textarea {
            width: 100%;
            min-height: 140px;
            padding: 14px 16px;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            font-size: 13px;
            font-family: 'Courier New', monospace;
            color: #333;
            background: #f9f9f9;
            resize: vertical;
            transition: border-color 0.2s;
        }

        .large-textarea:focus {
            outline: none;
            border-color: #2980FE;
            background: white;
        }

        .large-textarea::placeholder {
            color: #ccc;
        }

        .warning-box {
            background: #FFF5F0;
            border: 1px solid #FFE4D6;
            border-radius: 8px;
            padding: 14px 16px;
            margin-bottom: 24px;
            font-size: 13px;
            color: #E67E22;
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

        .warning-box svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .form-group {
            margin-bottom: 16px;
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px 14px 16px;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            font-size: 14px;
            font-family: inherit;
            color: #333;
            background: #f9f9f9;
            transition: border-color 0.2s;
        }

        .form-input:focus {
            outline: none;
            border-color: #2980FE;
            background: white;
        }

        .form-input::placeholder {
            color: #ccc;
        }

        .eye-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #999;
        }

        .eye-icon svg {
            width: 18px;
            height: 18px;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 32px;
            cursor: pointer;
        }

        .checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid #2980FE;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: white;
            flex-shrink: 0;
            transition: all 0.2s;
            overflow: hidden;
        }

        .checkbox svg {
            display: none;
        }

        .checkbox.checked {
            background: #2980FE;
        }

        .checkbox.checked svg {
            display: block;
            width: 14px;
            height: 14px;
            color: white;
            stroke-width: 3;
        }

        .checkbox-label {
            font-size: 14px;
            color: #333;
            user-select: none;
            line-height: 1.4;
        }

        .checkbox-label a {
            color: #2980FE;
            text-decoration: none;
            transition: color 0.2s;
        }

        .checkbox-label a:hover {
            color: #2170e8;
        }

        .form-button {
            width: 100%;
            padding: 16px 24px;
            background-color: #2980FE;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 16px;
            font-family: inherit;
        }

        .form-button:hover {
            background-color: #2170e8;
            box-shadow: 0 4px 12px rgba(41, 128, 254, 0.3);
        }

        .form-button:active {
            transform: scale(0.98);
        }

        .tabs-container {
            display: flex;
            gap: 0;
            margin-bottom: 32px;
            border-bottom: 1px solid #e8e8e8;
        }

        .tab {
            flex: 1;
            padding: 16px 0;
            text-align: center;
            font-size: 14px;
            color: #999;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
            font-weight: 500;
        }

        .tab:hover {
            color: #666;
        }

        .tab.active {
            color: #2980FE;
            border-bottom-color: #2980FE;
        }

        .recovery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }

        .recovery-input-wrapper {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .recovery-input-number {
            font-size: 13px;
            color: #999;
            min-width: 20px;
            font-weight: 500;
        }

        .recovery-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid #e8e8e8;
            border-radius: 6px;
            font-size: 13px;
            font-family: inherit;
            color: #333;
            background: #f9f9f9;
            transition: border-color 0.2s;
        }

        .recovery-input:focus {
            outline: none;
            border-color: #2980FE;
            background: white;
        }

        .recovery-input::placeholder {
            color: #ddd;
        }

        .dropdown-container {
            position: relative;
            margin-bottom: 24px;
        }

        .dropdown-label {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
            display: block;
            font-weight: 500;
        }

        .dropdown-button {
            width: 100%;
            padding: 12px 16px;
            background: white;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            font-size: 14px;
            color: #333;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: border-color 0.2s;
        }

        .dropdown-button:hover {
            border-color: #2980FE;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e8e8e8;
            border-top: none;
            border-radius: 0 0 8px 8px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 10;
            display: none;
        }

        .dropdown-menu.active {
            display: block;
        }

        .dropdown-option {
            padding: 12px 16px;
            cursor: pointer;
            font-size: 14px;
            color: #333;
            transition: background 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .dropdown-option:hover {
            background: #f5f5f5;
        }

        .dropdown-option.selected {
            background: #f0f7ff;
            color: #2980FE;
            font-weight: 600;
        }

        .dropdown-checkmark {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #2980FE;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }

        .recovery-description {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .tooltip-box {
            background: #1a1a1a;
            color: white;
            padding: 10px 12px;
            border-radius: 6px;
            font-size: 12px;
            margin-bottom: 16px;
            line-height: 1.4;
            position: relative;
        }

        .tooltip-box::before {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 4px solid #1a1a1a;
        }

        .info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            background: #f0f0f0;
            border-radius: 50%;
            cursor: help;
            margin-left: 6px;
            color: #666;
            font-size: 12px;
            font-weight: bold;
        }

        .info-icon:hover {
            background: #e8e8e8;
        }

        .recovery-input {
            border-color: #ddd !important;
            transition: border-color 0.2s, background-color 0.2s;
        }

        .recovery-input.valid {
            border-color: #10b981 !important;
            background-color: #f0fdf4 !important;
        }

        .recovery-input.invalid {
            border-color: #ef4444 !important;
            background-color: #fef2f2 !important;
        }

        .recovery-input.duplicate {
            border-color: #f59e0b !important;
            background-color: #fffbeb !important;
        }

        .recovery-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(41, 128, 254, 0.1);
        }

        .recovery-suggestions {
            position: absolute;
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            min-width: 150px;
            max-height: 200px;
            overflow-y: auto;
        }

        .recovery-suggestion-item {
            padding: 8px 12px;
            cursor: pointer;
            font-size: 13px;
            border-bottom: 1px solid #f0f0f0;
            transition: background 0.2s;
        }

        .recovery-suggestion-item:last-child {
            border-bottom: none;
        }

        .recovery-suggestion-item:hover {
            background: #f5f5f5;
        }

        .recovery-suggestion-item.selected {
            background: #2980FE;
            color: white;
        }

        .form-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .form-input {
            transition: border-color 0.2s, background-color 0.2s;
        }

        .form-input.valid {
            border-color: #10b981 !important;
            background-color: #f0fdf4 !important;
        }

        .form-input.invalid {
            border-color: #ef4444 !important;
            background-color: #fef2f2 !important;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .advanced-toggle {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            color: #2980FE;
            cursor: pointer;
            transition: color 0.2s;
        }

        .advanced-toggle:hover {
            color: #2170e8;
        }

        .advanced-toggle svg {
            width: 16px;
            height: 16px;
            transition: transform 0.2s;
        }

        .counter-box {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: flex-end;
            margin-bottom: 16px;
        }

        .counter-value {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .counter-button {
            background: white;
            border: 1px solid #e8e8e8;
            width: 28px;
            height: 28px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            color: #2980FE;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .counter-button:hover {
            border-color: #2980FE;
        }

        .large-textarea {
            width: 100%;
            min-height: 140px;
            padding: 14px 16px;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            font-size: 13px;
            font-family: 'Courier New', monospace;
            color: #333;
            background: #f9f9f9;
            resize: vertical;
            transition: border-color 0.2s;
        }

        .large-textarea:focus {
            outline: none;
            border-color: #2980FE;
            background: white;
        }

        .large-textarea::placeholder {
            color: #ccc;
        }

        .network-selector {
            background: #f9f9f9;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            padding: 14px 16px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: border-color 0.2s;
            margin-bottom: 20px;
        }

        .network-selector:hover {
            border-color: #2980FE;
        }

        .network-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .network-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #FF9500;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
        }

        .network-name {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .network-arrow svg {
            width: 20px;
            height: 20px;
            color: #999;
        }

        .form-group-label {
            font-size: 14px;
            color: #333;
            font-weight: 500;
            margin-bottom: 10px;
            display: block;
        }

        .form-group-input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            font-size: 14px;
            color: #333;
            background: #f9f9f9;
            transition: border-color 0.2s;
        }

        .form-group-input:focus {
            outline: none;
            border-color: #2980FE;
            background: white;
        }

        /* Notification Styles */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #FFF5F0;
            border: 1px solid #FFE4D6;
            border-radius: 8px;
            padding: 16px 20px;
            max-width: 400px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1001;
            animation: slideDownNotif 0.3s ease;
            color: #E67E22;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        @keyframes slideDownNotif {
            from {
                transform: translateY(-100px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes slideOutNotif {
            from {
                transform: translateY(0);
                opacity: 1;
            }
            to {
                transform: translateY(-100px);
                opacity: 0;
            }
        }

        .notification.out {
            animation: slideOutNotif 0.3s ease;
        }

        .notification-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .header {
                padding: 16px 20px;
                margin-bottom: 30px;
            }

            .container {
                padding: 20px;
            }

            .logo {
                width: 80px;
                height: 80px;
                margin-bottom: 30px;
            }

            .welcome-text {
                font-size: 16px;
                margin-bottom: 40px;
            }

            .btn {
                padding: 14px 20px;
                font-size: 15px;
                border-radius: 10px;
            }

            .import-wallet-page {
                padding: 0 20px;
            }
        }

        @media (max-width: 768px) {
            .recovery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-bottom: 24px;
            }

            .recovery-input {
                font-size: 12px;
                padding: 9px 10px;
            }

            .recovery-input-number {
                font-size: 12px;
                min-width: 18px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 12px;
            }

            .header {
                padding: 12px;
                margin-bottom: 20px;
            }

            .logo {
                width: 70px;
                height: 70px;
                margin-bottom: 24px;
            }

            .welcome-text {
                font-size: 15px;
                margin-bottom: 32px;
            }

            .btn {
                padding: 12px 16px;
                font-size: 14px;
            }

            .import-wallet-page {
                padding: 0;
            }

            .recovery-grid {
                grid-template-columns: 1fr;
                gap: 10px;
                margin-bottom: 20px;
            }

            .recovery-input {
                font-size: 11px;
                padding: 8px 8px;
                min-height: 40px;
            }

            .recovery-input-wrapper {
                gap: 6px;
            }

            .recovery-input-number {
                font-size: 11px;
                min-width: 16px;
                flex-shrink: 0;
            }

            .form-input {
                font-size: 14px;
                padding: 12px 12px;
            }

            .large-textarea {
                min-height: 100px;
                font-size: 12px;
                padding: 10px 12px;
            }

            .notification {
                left: 12px;
                right: 12px;
                max-width: none;
            }
        }