        :root {
            --primary: #006be5;
            --bg: #f4f6f9;
            --card: #ffffff;
            --text: #1a1a1a;
            --success: #28a745;
            --error: #dc3545;
            --warning: #ffc107;
            --border: #e0e0e0;
            --accent: #0381fe;
            --line-height: 1.6;
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background: var(--bg);
            color: var(--text);
            margin: 0;
            padding: 20px;
            transition: direction 0.3s ease;
            line-height: var(--line-height);
            font-size: 16px;
        }

        /* Main Nav Container */
        .lang-bar {
            display: flex;
            align-items: center;
            /* Force Left-to-Right layout: Lang (Left) -> Auth (Right) */
            gap: 10px;
            margin-bottom: 20px;
            position: relative;
            background: #fff;
            /* Ensure background for dropdown */
        }

        /* Wrappers for Desktop Layout */
        .nav-content-wrapper {
            display: flex;
            align-items: center;
            flex-grow: 1;
            gap: 10px;
        }

        /* Groups */
        .nav-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-items-row {
            display: flex;
            gap: 10px;
        }

        .nav-guides {
            flex-grow: 1;
            justify-content: center;
        }

        .nav-auth {
            margin-left: auto !important;
            margin-right: 0 !important;
        }

        .mobile-nav-label {
            display: none;
            /* Hidden on desktop */
            margin: 15px 0 5px 0;
            color: #888;
            font-size: 0.8rem;
            text-transform: uppercase;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
        }

        /* Toggle Buttons (Hidden on Desktop) */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 5px;
        }

        .mobile-spacer {
            display: none;
        }

        .lang-btn {
            padding: 5px 15px;
            border: 1px solid var(--primary);
            background: white;
            cursor: pointer;
            border-radius: 20px;
            font-weight: bold;
            transition: 0.3s;
        }

        .lang-btn:hover,
        .lang-btn.active {
            background: var(--primary);
            color: white;
        }

        .btn-nav-link {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            font-size: 0.95rem;
            padding: 5px 15px;
            border: 1px solid var(--primary);
            background: white;
            border-radius: 20px;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            white-space: nowrap;
        }

        .btn-nav-link:hover {
            background-color: var(--primary);
            color: white;
        }

        /* MOBILE STYLES */
        @media (max-width: 768px) {
            #mobile-menu-toggle {
                display: block;
                /* Show hamburger */
                margin-left: auto;
                /* Push to right (LTR logic) */
            }

            .lang-bar {
                flex-wrap: wrap;
                /* Allow wrapping for dropdown */
                padding: 10px;
                border-radius: 8px;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            }

            /* Hide all groups by default on mobile */
            .nav-group {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                /* Full width items */
            }

            /* Show labels on mobile */
            .mobile-nav-label {
                display: block;
            }

            /* OPEN STATE */
            .lang-bar.open .nav-group {
                display: flex;
            }

            .nav-items-row {
                justify-content: center;
                /* Center lang buttons */
            }

            .btn-nav-link {
                justify-content: center;
            }

            .nav-auth {
                margin: 0 !important;
                /* Reset auto margin */
            }

            .auth-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn-auth {
                width: 100%;
                text-align: center;
                margin-bottom: 5px;
            }
        }

        header {
            background: #fff;
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid var(--border);
            position: relative;
            /* For absolute positioning of logo */
        }

        .floating-logo {
            position: absolute;
            top: -20px;
            left: 130px;
            height: 45px;
            /* Adjust size as needed */
            width: auto;
        }

        header h1 {
            margin: 0;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .subtitle {
            font-size: 0.95rem;
            color: #666;
            margin-top: 5px;
        }

        .btn-info-link {
            background: none;
            border: none;
            color: var(--accent);
            cursor: pointer;
            font-size: 0.9rem;
            text-decoration: underline;
            margin-top: 10px;
            display: inline-block;
        }

        .content {
            border-radius: 2%;
            padding-bottom: 2%;
            padding-left: 2%;
            padding-right: 2%;

            max-width: 600px;
            margin: 0 auto;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

        }

        /* Wizard Steps */
        .wizard-step {
            display: none;
            animation: fadeIn 0.4s ease;
        }

        .wizard-step.active {
            display: block;
            margin-top: 5%;
            padding-top: 2%;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group {
            margin-bottom: 20px;
            text-align: center;
        }

        input[type="text"],
        select {
            width: 100%;
            max-width: 280px;
            padding: 12px;
            font-size: 1.1rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            text-align: center;
            text-transform: uppercase;
            font-weight: bold;
            letter-spacing: 1px;
            transition: 0.3s;
            margin-bottom: 10px;
            background: #fff;
        }

        input[type="text"]:focus,
        select:focus {
            border-color: var(--primary);
            outline: none;
        }

        .btn-main {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            font-weight: 600;
            width: 100%;
            max-width: 280px;
            margin-top: 10px;
        }

        .btn-main:hover {
            background: #0056b3;
            transform: translateY(-2px);
        }

        .choice-btn {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 100%;
            padding: 20px;
            margin-bottom: 15px;
            background: #fff;
            border: 2px solid var(--border);
            border-radius: 12px;
            cursor: pointer;
            transition: 0.2s;
            text-align: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .choice-btn:hover {
            border-color: var(--primary);
            background: #f9fbff;
        }

        .choice-icon {
            font-size: 1.8rem;
            background: #eef4fc;
            padding: 10px;
            border-radius: 50%;
        }

        /* Results */
        .result-section {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
            position: relative;
        }

        .result-title {
            font-weight: bold;
            font-size: 1.1rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .check-badge {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #fff;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .badge-pending {
            background: #e0e0e0;
            color: #555;
        }

        .badge-success {
            background: var(--success);
        }

        .badge-error {
            background: var(--error);
        }

        .badge-warning {
            background: var(--warning);
            color: #444;
        }

        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
            max-height: 200px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .country-tag {
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.85rem;
            border: 1px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 60px;
            text-align: center;
        }

        .tag-yes {
            background: #d4edda;
            color: #155724;
            border-color: #c3e6cb;
        }

        .tag-no {
            background: #f8d7da;
            color: #721c24;
            border-color: #f5c6cb;
            opacity: 0.7;
            text-decoration: line-through;
        }

        .tag-warning {
            background: #fff3cd;
            color: #856404;
            border-color: #ffeeba;
        }

        .diag-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
            transition: 0.3s;
            flex-wrap: nowrap;
            /* Prevent wrapping */
        }

        .diag-info {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1;
            /* Allow it to take available space */
            min-width: 0;
            /* Prevent flex item from overflowing */
        }

        .diag-icon {
            font-size: 1.5rem;
            width: 40px;
            text-align: center;
            flex-shrink: 0;
        }

        .diag-text h3 {
            margin: 0;
            font-size: 1rem;
            color: #333;
        }

        .diag-text p {
            margin: 3px 0 0;
            font-size: 0.85rem;
            color: #666;
        }

        .diag-status {
            font-weight: bold;
            font-size: 1rem;
            min-width: 80px;
            /* Keep minimum width */
            text-align: center;
            white-space: nowrap;
            flex-shrink: 0;
            /* Never shrink */
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 5px;
            width: auto;
            /* Ensure it doesn't take 100% */
            margin-left: 10px;
        }

        .status-ok {
            color: var(--success);
        }

        .status-fail {
            color: var(--error);
        }

        .status-warn {
            color: #d39e00;
        }

        .status-loading {
            color: #888;
        }

        .btn-guide {
            background: var(--primary);
            color: white;
            border: none;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            cursor: pointer;
            margin-top: 5px;
            display: none;
        }

        .btn-guide:hover {
            background: #0056b3;
        }

        .flash-msg-ok {
            background: #fff3cd;
            color: #856404;
            padding: 10px;
            border-radius: 5px;
            font-size: 0.9rem;
            border: 1px solid #ffeeba;
        }

        .flash-msg-bad {
            background: #f8d7da;
            color: #721c24;
            padding: 10px;
            border-radius: 5px;
            font-size: 0.9rem;
            border: 1px solid #f5c6cb;
        }

        .spinner {
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 3px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 0.8s infinite linear;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Guide & Footer */
        #section-guide {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 2px solid #eee;
            display: none;
        }

        h2.guide-title {
            color: var(--primary);
            margin-bottom: 20px;
            text-align: center;
        }

        h3.step-title {
            color: var(--accent);
            margin-top: 30px;
            margin-bottom: 15px;
        }

        .checklist-item {
            display: block;
            padding: 20px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            background: #fff;
            border-radius: 6px;
            margin-bottom: 12px;
            border: 1px solid #eee;
            font-size: 1.05rem;
        }

        .item-header {
            display: flex;
            align-items: flex-start;
        }

        .item-header input {
            transform: scale(1.3);
            margin: 5px 15px 5px 15px;
            cursor: pointer;
        }

        body[dir="ltr"] .item-header input {
            margin: 5px 15px 5px 0;
        }

        .checklist-item.completed .item-header {
            text-decoration: line-through;
            color: #aaa;
            opacity: 0.8;
        }

        .toggle-link {
            color: var(--primary);
            text-decoration: underline;
            cursor: pointer;
            font-weight: bold;
            font-size: 0.9rem;
            display: block;
            margin-top: 5px;
        }

        .hidden-info-content {
            display: none;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px dashed #ccc;
            font-size: 0.9rem;
        }

        .troubleshoot-box {
            background-color: #fff3cd;
            color: #856404;
            padding: 15px;
            border-radius: 5px;
            margin-top: 10px;
            font-size: 0.9rem;
            border: 1px solid #ffeeba;
            display: none;
            cursor: default;
        }

        .btn-download {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 8px 15px;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            margin-top: 5px;
            font-size: 0.9rem;
        }

        /* Accordion Styles */
        .step-desc {
            display: none;
        }

        .checklist-item .toggle-link,
        .checklist-item .hidden-info-content,
        .checklist-item .btn-download,
        .checklist-item br {
            display: none;
        }

        .checklist-item.expanded .step-desc {
            display: inline;
        }

        .checklist-item.expanded .toggle-link {
            display: block;
        }

        .checklist-item.expanded .btn-download {
            display: inline-block;
        }

        .checklist-item.expanded br {
            display: inline;
        }

        details {
            margin-bottom: 10px;
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
        }

        summary {
            padding: 15px;
            background: #f8f9fa;
            cursor: pointer;
            font-weight: bold;
            color: var(--primary);
        }

        .faq-answer {
            padding: 15px;
            background: #fff;
            border-top: 1px solid #eee;
        }

        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            height: 0;
            background: #000;
            border-radius: 8px;
            overflow: hidden;
            margin-top: 20px;
        }

        .video-container iframe,
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            object-fit: contain;
        }

        .community-section {
            background: #eef4ff;
            border: 1px solid #d0d7de;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin-top: 40px;
        }

        .copyright {
            text-align: center;
            font-size: 1rem;
            color: #000;
            margin-top: 30px;
        }

        /* Modal Styles - Premium Redesign */
        .modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            /* Darker overlay */
            backdrop-filter: blur(5px);
            /* Blur effect */
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .modal-content {
            background: #ffffff;
            margin: 5% auto;
            padding: 30px;
            border-radius: 20px;
            width: 90%;
            max-width: 320px;
            /* Smaller width */
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: slideUp 0.3s ease-out;
        }

        @keyframes slideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-content h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
            font-size: 1.8rem;
            font-weight: 700;
        }

        /* Form Styling */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #555;
            font-size: 0.95rem;
        }

        .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #e1e1e1;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #fdfdfd;
        }


        /* Samsung Settings Mock */
        .settings-mock {
            background-color: #000;
            color: #fff;
            font-family: 'Segoe UI', sans-serif;
            border-radius: 15px;
            text-align: left;
            overflow: hidden;
            position: relative;
            font-size: 0.9rem;
            direction: ltr;
            /* Always LTR for technical settings usually, but we can make it adapt */
        }

        /* Force LTR for the mock to match screenshots structure usually, 
   but for Hebrew user experience it might be better to follow the phone's language.
   Real Samsung phones in Hebrew are RTL. Let's respect the parent direction or force it if needed.
   The screenshots showed English/Hebrew/Russian. 
   We will rely on the app's global direction.
*/

        .mock-header {
            background-color: #000;
            padding: 15px 20px;
            font-size: 1.2rem;
            font-weight: bold;
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .mock-back-arrow {
            font-size: 1.2rem;
        }

        .mock-list {
            padding: 10px 20px;
        }

        .mock-item {
            margin-bottom: 20px;
            position: relative;
        }

        .mock-label {
            font-size: 0.9rem;
            color: #fff;
            /* Main text color */
            display: block;
            margin-bottom: 2px;
        }

        .mock-value {
            font-size: 0.85rem;
            color: #999;
            /* Subtext color */
            display: block;
        }

        /* Highlight Box */
        .highlight-box {
            border: 2px solid #ff0000;
            border-radius: 4px;
            padding: 2px 4px;
            display: inline-block;
            margin: -4px;
            /* Offset the padding */
            position: relative;
            box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
        }

        /* Specific adjustments for RTL if needed */
        [dir="rtl"] .settings-mock {
            text-align: right;
        }


        /* Google Button Styling (User Spec) */
        .rounded-button {
            background: white;
            border: 1px solid #ddd;
            width: 100%;
            padding: 12px;
            margin-top: 15px;
            border-radius: 50px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .rounded-button:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
            border-color: #ccc;
        }

        .button-icon {
            width: 24px;
            height: 24px;
            display: block;
        }

        /* Close Button Styling */
        .close {
            position: absolute;
            top: 15px;
            left: 15px;
            /* RTL default */
            width: 32px;
            height: 32px;
            background: #f0f0f0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            color: #555;
            cursor: pointer;
            transition: all 0.2s ease;
            line-height: 1;
        }

        .close:hover {
            background: #e0e0e0;
            color: #333;
            transform: scale(1.1);
        }

        .close:active {
            transform: scale(0.95);
            background: #d0d0d0;
        }

        body[dir="ltr"] .close {
            left: auto;
            right: 15px;
        }

        .about-section {
            margin-bottom: 25px;
            text-align: start;
        }

        .about-section h3 {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 8px;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
        }

        .about-section p {
            font-size: 0.95rem;
            margin: 0 0 10px 0;
            color: #555;
        }

        .about-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .about-list li {
            margin-bottom: 8px;
            padding-inline-start: 15px;
            position: relative;
            font-size: 0.9rem;
            color: #444;
        }

        .about-list li::before {
            content: "•";
            color: var(--accent);
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-inline-start: -1em;
        }

        /* Preserved Auth Styles */
        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-right: auto;
        }

        .btn-auth {
            padding: 6px 15px;
            border: 1px solid var(--primary);
            background: white;
            color: var(--primary);
            cursor: pointer;
            border-radius: 20px;
            font-weight: bold;
            transition: 0.3s;
            font-size: 0.9rem;
        }

        .btn-auth:hover {
            background: var(--primary);
            color: white;
        }

        .btn-google {
            background: #4285f4;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
            width: 100%;
        }

        .btn-google:hover {
            background: #357ae8;
        }

        /* CORRECTED MOBILE STYLES (SEPARATE TOGGLES) */
        @media (max-width: 768px) {
            .lang-bar {
                flex-wrap: wrap;
                padding: 10px;
                border-radius: 8px;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            }

            .mobile-toggle {
                display: block;
            }

            .mobile-spacer {
                display: block;
            }

            /* Containers hidden by default */
            .nav-group.nav-lang,
            .nav-content-wrapper {
                display: none;
                width: 100%;
                flex-direction: column;
                margin-top: 10px;
            }

            /* Inner groups in wrapper */
            .nav-content-wrapper .nav-group {
                display: flex;
                flex-direction: column;
                width: 100%;
                align-items: stretch;
            }

            /* Show labels on mobile */
            .mobile-nav-label {
                display: block;
            }

            /* STATE: Lang Open */
            .lang-bar.lang-open .nav-group.nav-lang {
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-bottom: 10px;
                border-bottom: 1px solid #eee;
            }

            /* STATE: Menu Open */
            .lang-bar.menu-open .nav-content-wrapper {
                display: flex;
            }

            .nav-items-row {
                justify-content: center;
            }

            .btn-nav-link {
                justify-content: center;
            }

            .nav-auth {
                margin: 0 !important;
            }

            .auth-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn-auth {
                width: 100%;
                text-align: center;
                margin-bottom: 5px;
            }
        }

        /* 3-TOGGLE MOBILE STYLES (FINAL) */
        /* Mobile Toggles Container (Hidden on Desktop) */
        .mobile-toggles-container {
            display: none;
            width: 100%;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-toggle {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
        }

        .toggle-icon {
            font-size: 1.5rem;
        }

        .toggle-label {
            font-size: 0.75rem;
            font-weight: 500;
            color: #555;
        }

        @media (max-width: 768px) {
            .lang-bar {
                flex-wrap: wrap;
                padding: 10px;
                border-radius: 8px;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            }

            .mobile-toggles-container {
                display: flex;
                /* Show container */
            }

            .mobile-toggle {
                display: block;
                font-size: 1.5rem;
                padding: 5px 10px;
                background: #f9f9f9;
                border: 1px solid #eee;
                border-radius: 5px;
                cursor: pointer;
            }

            .mobile-toggle:hover {
                background: #eee;
            }

            /* Hide ALL groups by default on mobile */
            .nav-group {
                display: none;
                width: 100%;
                flex-direction: column;
                margin-top: 10px;
                align-items: stretch;
                animation: slideDown 0.3s ease-out;
            }

            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-5px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            /* Show labels on mobile */
            .mobile-nav-label {
                display: block;
            }

            /* STATE: Lang Open */
            .lang-bar.lang-open .nav-group.nav-lang {
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-bottom: 10px;
                border-bottom: 1px solid #eee;
            }

            /* STATE: Guides Open */
            .lang-bar.guides-open .nav-group.nav-guides {
                display: flex;
                flex-direction: column;
            }

            /* STATE: Auth Open */
            .lang-bar.auth-open .nav-group.nav-auth {
                display: flex;
                flex-direction: column;
            }

            .nav-items-row {
                justify-content: center;
            }

            .btn-nav-link {
                justify-content: center;
            }

            .nav-auth {
                margin: 0 !important;
            }
        }

        /* VALIDATION STYLES (Global) */
        .spinner-small {
            border: 2px solid #f3f3f3;
            border-top: 2px solid var(--primary);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .red-x {
            color: #dc3545;
            margin-right: 5px;
            margin-left: 5px;
        }

        .green-v {
            color: #28a745;
            margin-right: 5px;
            margin-left: 5px;
        }

        .red-text {
            color: #dc3545;
            font-size: 0.9rem;
        }

        .green-text {
            color: #28a745;
            font-size: 0.9rem;
        }

        .validation-msg p {
            margin: 2px 0;
            display: flex;
            align-items: center;
        }

        input.invalid {
            border-color: #dc3545 !important;
            background-color: #fff8f8;
        }

        .validation-icon {
            font-size: 1.2rem;
            font-weight: bold;
        }

        /* Remaining Mobile Styles */
        @media (max-width: 768px) {
            .auth-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn-auth {
                width: 100%;
                text-align: center;
                margin-bottom: 5px;
            }

            .wizard-step.active {
                display: block;
                margin-top: 2%;
                padding-top: 0; 
            }
        }

        /* Sticky New Check Button */
        .new-check-container {
            position: sticky;
            bottom: 0px;
            background: rgba(255, 255, 255, 0.95);
            padding: 15px;
            border-top: 1px solid #eee;
            z-index: 100;
            text-align: center;
            margin-top: 20px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            /* Ensure full width */
            margin-left: -20px;
            margin-right: -20px;
        }

        .text-btn {
            background: none;
            border: none;
            color: var(--primary);
            text-decoration: none;
            cursor: pointer;
            font-size: 0.9rem;
            padding: 0 5px;
            font-family: inherit;
        }

        .text-btn:hover {
            text-decoration: underline;
        }

        /* Legal Pages Styles (Ported from privacy.html) */
        .legal-page {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .legal-page h1 {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
        }

        .legal-page h2 {
            color: #34495e;
            margin-top: 30px;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
            font-size: 1.5rem;
        }

        .legal-page h3 {
            color: #555;
            margin-top: 20px;
            font-size: 1.2rem;
        }

        .legal-page ul {
            margin-bottom: 20px;
            padding-right: 20px;
            /* RTL Support */
        }

        body[dir="ltr"] .legal-page ul {
            padding-right: 0;
            padding-left: 20px;
        }

        .legal-page p {
            margin-bottom: 15px;
        }

        .back-link {
            display: inline-block;
            margin-bottom: 20px;
            color: #007bff;
            text-decoration: none;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Result Section Accordion Styles (Buying Mode) */
        .result-section {
            text-align: center;
            cursor: pointer;
            transition: background 0.2s;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .result-section:hover {
            background: #f9f9f9;
        }

        .result-section .result-title {
            justify-content: center;
            /* Center title */
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            color: var(--primary);
        }

        /* Chevron Indicator */
        .result-section .result-title::after {
            content: '▼';
            font-size: 0.7rem;
            opacity: 0.5;
            transition: transform 0.3s ease;
            margin-inline-start: 10px;
            /* Logical property for LTR/RTL support */
        }

        .result-section.expanded .result-title::after {
            transform: rotate(180deg);
        }

        /* Hide details by default */
        .result-section .check-desc,
        .result-section .hint-text,
        .result-section .tags-container,
        .result-section div[id^="buy-res-"],
        .result-section div[id$="-loading"] {
            display: none;
        }

        /* Show details when expanded */
        .result-section.expanded .check-desc {
            display: block;
            margin-top: 10px;
            color: #666;
        }

        .result-section.expanded div[id^="buy-res-"] {
            display: block;
            margin-top: 10px;
            font-weight: bold;
        }

        .result-section.expanded .hint-text {
            display: block;
        }

        .result-section.expanded .tags-container {
            display: flex !important;
            /* Restore flex for tags */
            flex-wrap: wrap;
            justify-content: center;
            gap: 5px;
            margin-top: 10px;
        }

        .result-section.expanded div[id$="-loading"] {
            display: block;
        }

        /* Guide Button Style */
        .btn-guide {
            display: inline-block;
            background-color: #007bff;
            color: #fff !important;
            padding: 8px 15px;
            border-radius: 20px;
            text-decoration: none !important;
            font-size: 0.9rem;
            margin-top: 10px;
            transition: background 0.3s ease, transform 0.2s;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .btn-guide:hover {
            background-color: #0056b3;
            transform: translateY(-2px);
            color: #fff !important;
        }

        /* Floating Donation Buttons */
        .floating-donation {
            position: fixed;
            bottom: 100px;
            right: 20px;
            display: flex;
            /* Hidden by default, shown only for Israeli users via JS */
            flex-direction: column;
            gap: 10px;
            z-index: 9999;
            animation: floatMove 8s ease-in-out infinite;
        }

        .floating-donation.hidden {
            display: none !important;
        }

        .donation-message {
            position: absolute;
            right: 80px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            padding: 10px 15px;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            white-space: nowrap;
            font-size: 14px;
            font-weight: 500;
            color: #333;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .donation-message.show {
            opacity: 1;
        }

        .donation-message::after {
            content: '';
            position: absolute;
            left: 100%;
            border: 8px solid transparent;
            border-left-color: white;
        }

        .tel-message {
            position: absolute;
            right: 80px;
            transform: translateY(-50%);
            background: white;
            padding: 10px 15px;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            white-space: nowrap;
            font-size: 14px;
            font-weight: 500;
            color: #333;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .telegram-message {
            position: absolute;
            right: 80px;
            transform: none;
            margin-top: 0;
            bottom: 8%;
            opacity: 1;
            pointer-events: auto;
        }

        .telegram-message::after {
            content: '';
            position: absolute;
            left: 100%;
            bottom: 8%;
            transform: translateY(-50%);
            border: 8px solid transparent;
            border-left-color: white;
        }

        @keyframes floatMove {

            0%,
            100% {
                transform: translateY(0);
            }

            25% {
                transform: translateY(-15px);
            }

            50% {
                transform: translateY(0);
            }

            75% {
                transform: translateY(-10px);
            }
        }

        .donation-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            padding: 8px;
            text-decoration: none;
        }

        .donation-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }

        .donation-icon {
            width: 80%;
            height: 80%;
            object-fit: contain;
            border-radius: 50%;
        }

        /* Donation Buttons - Mobile/Tablet Layout */
        @media (max-width: 1024px) {
            .floating-donation {
                flex-direction: row;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                justify-content: space-around;
                padding: 10px 20px 20px 20px;
                /* Extra bottom padding for safe area */
                background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
                pointer-events: none;
                /* Let clicks pass through the container background */
            }

            .floating-donation>* {
                pointer-events: auto;
                /* Re-enable clicks on buttons */
            }

            .donation-btn {
                width: 50px;
                height: 50px;
                margin: 0 5px;
            }

            /* Adjust Messages to appear ABOVE the buttons */
            .donation-message,
            .tel-message {
                right: auto;
                left: 50%;
                transform: translateX(-50%);
                top: auto;
                bottom: 70px;
                /* Position above the buttons */
                white-space: nowrap;
            }

            .donation-message::after,
            .tel-message::after {
                left: 50%;
                top: 100%;
                /* Point down */
                right: auto;
                bottom: auto;
                transform: translateX(-50%);
                border-left-color: transparent;
                border-top-color: white;
                /* Arrow points down */
                border-top-width: 8px;
                border-bottom-width: 0;
            }

            /* Telegram specific message adjustment if needed */
            .telegram-message {
                right: auto;
                left: 20%;
                transform: translateX(-50%);
                bottom: 70px;
            }

            .telegram-message::after {
                left: 50%;
                top: 100%;
                transform: translateX(-50%);
                border: 8px solid transparent;
                border-top-color: white;
            }

            /* Hide Header Subtitle on Mobile/Tablet */
            header .subtitle {
                display: none;
            }
        }

        /* Responsive Logo - Show logo.png on mobile, logo2.png on desktop */
        @media (max-width: 768px) {
            .responsive-logo {
                content: url('logo.png');
            }
        }