
    .wallet-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
      }
    
      .wallet-modal-overlay.active {
        opacity: 1;
        visibility: visible;
      }
    
      .wallet-modal {
        background: #ffffff;
        border-radius: 20px;
        width: 100%;
        max-width: 1000px;
        max-height: 75vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding: 25px;
        position: relative;
        transform: translateY(40px);
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.4s ease;
      }
    
      .wallet-modal-overlay.active .wallet-modal {
        transform: translateY(0);
        opacity: 1;
        animation: wallet-shake 0.4s ease-in-out;
      }
    
      @keyframes wallet-shake {
        0% { transform: translateY(0) translateX(0); }
        25% { transform: translateY(0) translateX(-10px); }
        50% { transform: translateY(0) translateX(10px); }
        75% { transform: translateY(0) translateX(-6px); }
        100% { transform: translateY(0) translateX(0); }
      }
    
      @media (min-width: 900px) {
        .wallet-modal {
          flex-direction: row;
        }
      }
    
      .wallet-modal-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-height: 100%;
        overflow: hidden;
        padding-right: 20px;
      }
    
      .wallet-modal-header,
      .wallet-modal-subtitle {
        flex-shrink: 0;
        background: #fff;
        padding-bottom: 4px;
        z-index: 1;
      }
    
      .wallet-modal-wallet-list {
        overflow-y: auto;
        flex-grow: 1;
        padding-right: 4px;
        margin-top: 4px;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
    
      .wallet-modal-right {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 15px;
      }
    
      .wallet-modal-header {
        font-weight: bold;
        font-size: 14px;
        color: #000;
        margin-bottom: 10px;
      }
    
    
    
      .wallet-modal-subtitle {
        color: #000;
        font-size: 17px;
        font-family: '', monospace; /* or 'Courier New', monospace */
        font-weight: 100;
        margin-bottom: 8px;
        padding: 4px 7px;
        display: inline-block;
    
    
      }
    
      .wallet-modal-wallet-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 20px;
        height: 60px;
          background-color: #fff;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.1s ease;
    }
    
    .wallet-modal-wallet-item:hover {
    background-color: #f3f4f6; /* Light hover background */
    }
    
    .wallet-modal-wallet-item:active {
    transform: scale(0.98); /* Slight press effect */
    background-color: #e5e7eb; /* Slightly darker on click */
    
      }
    
      .wallet-modal-wallet-info {
        display: flex;
        align-items: center;
        gap: 12px;
      }
    
    
      .wallet-modal-wallet-info img {
    width: 40px;
    height: 40px;
    padding: 0px;
    border-radius: 10px;
    background-color: #f3f4f6; /* light background */
    border: 1px solid #e5e7eb; /* optional soft border */
    object-fit: contain;
    }
    
    
    .wallet-modal-recommended {
    font-size: 14px;
    color: #666;
    font-weight: bold;
    }
    
    
      .wallet-modal-connect-box {
        width: 100%;
        background: #f3f4f6;
        border-radius: 20px;
        height: 380px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: #666;
        padding: 20px;
      }
    
      .wallet-modal-connect-box svg {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
        stroke: #999;
      }
    
     
      .wallet-modal-wallet-list::-webkit-scrollbar {
    width: 6px;
    }
    
    .wallet-modal-wallet-list::-webkit-scrollbar-track {
    background: transparent;
    }
    
    .wallet-modal-wallet-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1); /* faint */
    border-radius: 8px;
    }
    
      /* Mobile tweaks */
      @media (max-width: 800px) {
        .wallet-modal {
          flex-direction: column;
          width: 90%;
          max-height: 120vh;
          margin: auto;
        }
    
        .wallet-modal-left {
          max-height: 400px;
          padding-right: 0;
          margin-bottom: 20px;
        }
    
        .wallet-modal-right {
          padding-top: 0;
        }
    
        .wallet-modal-wallet-item {
          padding: 10px;
        }
    
        .wallet-modal-connect-box {
          height: 130px;
        }
        .wallet-modal-wallet-list::-webkit-scrollbar {
    width: 6px;
    }
    
    .wallet-modal-wallet-list::-webkit-scrollbar-track {
    background: transparent;
    }
    
    .wallet-modal-wallet-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.082); /* faint */
    border-radius: 8px;
    }
    
      }