/* Scoped Styles for the Widget */
        .mk-widget-container {
            --primary-color: #F08300;
            --primary-hover: #D47300;
            --text-color: #000000;
            --bg-color: #FFFFFF;
            --border-color: #E0E0E0;
            --border-radius: 8px;
            --font-family: 'Roboto', sans-serif;

            font-family: var(--font-family);
            color: var(--text-color);
            background: var(--bg-color);
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            box-sizing: border-box;
            /* Optional: Add a subtle shadow for standalone viewing */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: var(--border-radius);
        }

        .mk-widget-container * {
            box-sizing: border-box;
        }

        /* Typography */
        .mk-step-title {
            font-weight: 700;
            font-size: 28px;
            /* Adjusted for Roboto */
            line-height: 1.3;
            margin-bottom: 24px;
            color: var(--text-color);
            text-align: center;
        }

        .mk-step-subtitle {
            font-weight: 500;
            font-size: 18px;
            line-height: 1.4;
            color: var(--primary-color);
            margin-bottom: 20px;
            text-align: center;
        }

        /* Progress Bar */
        .mk-progress-bar {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 30px;
        }

        .mk-progress-dot {
            width: 10px;
            height: 10px;
            background-color: #E0E0E0;
            border-radius: 50%;
            transition: background-color 0.3s ease;
        }

        .mk-progress-dot.active {
            background-color: var(--primary-color);
        }

        /* Grid Layouts */
        .mk-grid-3x2 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .mk-grid-4x1 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .mk-grid-3x1 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        /* Tile Component */
        .mk-tile {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 20px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            min-height: 120px;
            position: relative;
        }

        .mk-tile:hover {
            background-color: rgba(240, 131, 0, 0.05);
            border-color: var(--primary-color);
        }

        .mk-tile.selected {
            border: 2px solid var(--primary-color);
            background-color: rgba(240, 131, 0, 0.08);
        }

        /* Check icon for selected state */
        .mk-tile .mk-check-icon {
            position: absolute;
            top: 8px;
            right: 8px;
            color: var(--primary-color);
            display: none;
            width: 16px;
            height: 16px;
        }

        .mk-tile.selected .mk-check-icon {
            display: block;
        }

        .mk-tile-icon {
            width: 32px;
            height: 32px;
            margin-bottom: 12px;
            color: #333;
            transition: color 0.2s;
        }

        .mk-tile:hover .mk-tile-icon,
        .mk-tile.selected .mk-tile-icon {
            color: var(--primary-color);
        }

        .mk-tile-label {
            font-weight: 500;
            font-size: 15px;
            line-height: 1.2;
        }

        /* Step Visibility */
        .mk-step {
            display: none;
            animation: fadeIn 0.3s ease-out;
        }

        .mk-step.active {
            display: block;
        }

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

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

        /* Responsive */
        @media (max-width: 768px) {

            /* Tablet */
            .mk-grid-3x2 {
                grid-template-columns: repeat(2, 1fr);
            }

            .mk-grid-4x1 {
                grid-template-columns: repeat(2, 1fr);
            }

            .mk-grid-3x1 {
                grid-template-columns: repeat(1, 1fr);
            }
        }

        @media (max-width: 480px) {

            /* Mobile */
            .mk-grid-3x2 {
                grid-template-columns: repeat(2, 1fr);
            }

            .mk-grid-4x1 {
                grid-template-columns: repeat(2, 1fr);
            }

            /* Stacked 2x2 */
            .mk-grid-3x1 {
                grid-template-columns: 1fr;
            }

            .mk-tile {
                min-height: 100px;
                padding: 15px 5px;
            }

            .mk-step-title {
                font-size: 24px;
            }

            .mk-tile-icon {
                width: 28px;
                height: 28px;
            }
        }

        /* Helper for icons */
        svg {
            pointer-events: none;
            /* Let clicks pass through to button */
        }

        /* Navigation Buttons (Hidden mostly, but good for testing) */
        .mk-nav-buttons {
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
        }

        .mk-btn-back {
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            font-family: inherit;
            font-size: 14px;
            padding: 10px 0;
            text-decoration: underline;
        }

        /* Form Styles */
        .mk-form-group {
            margin-bottom: 16px;
            text-align: left;
        }

        .mk-label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            font-size: 14px;
        }

        .mk-input {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            font-family: var(--font-family);
            font-size: 16px;
            transition: border-color 0.2s;
        }

        .mk-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(240, 131, 0, 0.1);
        }

        .mk-error-msg {
            color: #d32f2f;
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }

        .mk-input.error {
            border-color: #d32f2f;
        }

        .mk-input.error+.mk-error-msg {
            display: block;
        }

        .mk-btn-submit {
            width: 100%;
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 14px;
            font-size: 18px;
            font-weight: 600;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: background-color 0.2s;
            margin-top: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
        }

        .mk-btn-submit:hover {
            background-color: var(--primary-hover);
        }

        .mk-btn-submit:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .mk-trust-badge {
            font-size: 13px;
            color: #666;
            text-align: center;
            margin-top: 12px;
            line-height: 1.4;
        }

        /* Confirmation Screen */
        .mk-confirmation-icon {
            color: var(--primary-color);
            width: 64px;
            height: 64px;
            margin-bottom: 16px;
        }

        .mk-confirmation-screen {
            display: none;
            text-align: center;
            animation: fadeIn 0.4s ease-out;
        }

        .mk-confirmation-screen.active {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Spinner */
        .mk-spinner {
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top: 3px solid #fff;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
        }

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

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