        /* ==================== XRPL MINI DEX STYLES START ==================== */
        
        /* Container for centering both cards */
        .mini-dex-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 60vh;
            gap: 20px;
            padding: 40px 20px;
        }
        
        /* Card background and container */
        .card-bg {
            background: rgba(15, 23, 42, 0.8) !important;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 212, 255, 0.2);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 600px;
        }
        
        /* Mini DEX card specific styling */
        .mini-dex-card {
            margin-bottom: 0;
        }
        
        /* Title styling - white color */
        .mini-dex-title {
            color: #ffffff !important;
            font-weight: 600;
        }
        
        /* Activity Log card */
        .activity-log-card {
            margin-top: 0;
        }
        
        /* Activity Log content area */
        .activity-log-content {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(0, 212, 255, 0.2);
            border-radius: 8px;
            padding: 12px;
            min-height: 150px;
            max-height: 300px;
            overflow-y: auto;
            font-family: Arial, sans-serif;
            font-size: 15px; /* 2px bigger than 13px */
            line-height: 1.6;
        }
        
        /* Activity Log entry */
        .activity-log-entry {
            margin-bottom: 8px;
            padding: 4px 0;
            border-bottom: 1px solid rgba(0, 212, 255, 0.1);
            font-family: Arial, sans-serif;
            font-size: 15px; /* 2px bigger than 13px */
        }
        
        .activity-log-entry:last-child {
            border-bottom: none;
        }
        
        /* Initial "Ready to swap..." message styling */
        .activity-log-entry.ready-message,
        .activity-log-content > .activity-log-entry:first-child,
        .activity-log-content > div:first-child {
            color: #32ff32 !important; /* High tech lime green */
            font-family: Arial, sans-serif !important;
            font-size: 15px !important; /* 2px bigger */
        }
        
        /* Scrollbar styling for Activity Log */
        .activity-log-content::-webkit-scrollbar {
            width: 6px;
        }
        
        .activity-log-content::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }
        
        .activity-log-content::-webkit-scrollbar-thumb {
            background: rgba(0, 212, 255, 0.4);
            border-radius: 3px;
        }
        
        .activity-log-content::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 212, 255, 0.6);
        }
        
        /* Activity Log text colors */
        .activity-log-entry.text-green-400 {
            color: #4ade80 !important;
        }
        
        .activity-log-entry.text-red-400 {
            color: #f87171 !important;
        }
        
        .activity-log-entry.text-gray-400 {
            color: #9ca3af !important;
        }
        
        .master-offset-dex {
            margin-top: 20px;
            margin-bottom: 20px;
        }
        
        /* XRPL DEX container grid layout */
        .xrpl-dex-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            position: relative;
            margin-top: 5px;
        }

//       .xrpl-title {
//            font-size: 0.95rem !important;  /* Adjust as needed; !important overrides Tailwind */
//        }

    
        /* XRPL DEX input fields */
        .xrpl-input {
            background: rgba(10, 22, 40, 0.8) !important;
            border: 1px solid rgba(0, 212, 255, 0.3) !important;
            color: #ffffff !important;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 14px;
            width: 100%;
            transition: all 0.3s;
        }

        .xrpl-input:focus {
            border-color: #00d4ff !important;
            box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
            outline: none;
        }

        /* XRPL DEX token logo placeholder circles */
        .xrpl-token-logo {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(0, 212, 255, 0.2);
            border: 1px solid #00d4ff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* XRPL DEX flip button (X icon in top right) */
        .xrpl-flip-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: rgba(0, 212, 255, 0.2);
            border: 1px solid #00d4ff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            position: absolute;
            top: 0;
            right: 0;
        }

        .xrpl-flip-btn:hover {
            background: rgba(0, 212, 255, 0.4);
            transform: rotate(180deg);
        }

        /* XRPL DEX "Receive" info box */
        .xrpl-receive-box {
            background: rgba(0, 212, 255, 0.05);
            border: 1px solid rgba(0, 212, 255, 0.3);
            border-radius: 8px;
            padding: 12px;
            //min-height: 38px !important;
            height:35px;
            width: 75%;
            margin-left: 20px;
        }

        /* XRPL Swap button styling */
        .xrpl-swap-btn {
            background: linear-gradient(135deg, #037ffc 0%, #0270e0 100%);
            color: white;
            padding: 5px 20px;
            border-radius: 8px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(3, 127, 252, 0.3);
            height: 35px;
            width: 75%;
            margin-left: 21px;
            margin-top: 7px;
        }

        .xrpl-swap-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(3, 127, 252, 0.5);
            padding: 8px 0 !important;
        }

        /* Compact XRPL DEX layout */
        .xrpl-dex-grid {
            gap: 12px !important;
        }

        .xrpl-token-logo img {
            width: 22px !important;
            height: 22px !important;
        }

        /* Compact inline XRPL DEX refinements */
        .xrpl-dex-grid {
            gap: 10px !important;
            align-items: center;
        }

        .xrpl-input {
            padding: 5px 8px !important;
            font-size: 13px !important;
            min-height: 38px !important;
        }

        .xrpl-input-2 {
            padding: 5px 8px !important;
            font-size: 13px !important;
            min-height: 38px !important;
            max-width: 120px !important;
            border-radius: 6px;
        }
        
        .receive-estimate-text {
            margin-left: 21px;
        }
        
        /* Flip button styling (override Tailwind if not available) */
        #xrplFlipBtn {
            background: #2563eb !important;
            color: white !important;
            padding: 8px !important;
            border-radius: 8px !important;
            border: none !important;
            cursor: pointer !important;
            transition: all 0.3s !important;
            position: absolute !important;
            top: 12px !important;
            right: 12px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 1000 !important; /* Ensure button is above other elements */
            pointer-events: auto !important; /* Make sure it's clickable */
        }
        
        #xrplFlipBtn:hover {
            background: #1d4ed8 !important;
        }
        
        /* Ensure parent container doesn't block clicks */
        .mini-dex-card {
            position: relative;
            z-index: 1;
        }
        
        /* Utility classes (if Tailwind not available) */
        .rounded-lg {
            border-radius: 8px;
        }
        
        .p-4 {
            padding: 1rem;
        }
        
        .relative {
            position: relative;
        }
        
        .absolute {
            position: absolute;
        }
        
        .top-3 {
            top: 0.75rem;
        }
        
        .right-3 {
            right: 0.75rem;
        }
        
        .text-base {
            font-size: 1rem;
        }
        
        .font-semibold {
            font-weight: 600;
        }
        
        .mb-0 {
            margin-bottom: 0;
        }
        
        .space-y-2 > * + * {
            margin-top: 0.5rem;
        }
        
        .flex {
            display: flex;
        }
        
        .items-center {
            align-items: center;
        }
        
        .justify-between {
            justify-content: space-between;
        }
        
        .gap-2 {
            gap: 0.5rem;
        }
        
        .block {
            display: block;
        }
        
        .text-sm {
            font-size: 0.875rem;
        }
        
        .font-medium {
            font-weight: 500;
        }
        
        .text-gray-400 {
            color: #9ca3af;
        }
        
        .w-16 {
            width: 4rem;
        }
        
        .text-right {
            text-align: right;
        }
        
        .w-1\/3 {
            width: 33.333333%;
        }
        
        .flex-shrink-0 {
            flex-shrink: 0;
        }
        
        .flex-col {
            flex-direction: column;
        }
        
        .-mt-6 {
            margin-top: -1.5rem;
        }
        
        .mb-1 {
            margin-bottom: 0.25rem;
        }
        
        .py-2 {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }
        
        .px-3 {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }
        
        .justify-center {
            justify-content: center;
        }
        
        .text-white {
            color: white;
        }
        
        .mt-3 {
            margin-top: 0.75rem;
        }

        /* ==================== XRPL MINI DEX STYLES END ==================== */
