.connect-wallet-menu {
    position: absolute;
    display: none;
    width: 100% !important;
    top: 100%;  /* Position it right below the button */
    left: 0;
    background-color: white;  /* Optional, for better contrast */
    z-index:100;
}

.connect-wallet-menu-item {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-style: none; 
    border-bottom: none;
    background-color: #6181ef;
    

    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.connect-wallet-menu-item:hover {
    background-color: #3762ea;
}

.connect-wallet-menu-item:first-child {
    border-bottom: none;
}

.connect-wallet-menu-item:last-child {
    border-bottom: 1px solid #3762ea;
}

.connect-wallet-menu-item-icon { 
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.connect-wallet-button {
    
    /* Or enforce Bootstrap styles manually */
    background-color: var(--bs-primary) !important;
    color: white !important;
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    box-shadow: var(--bs-btn-box-shadow) !important; /* Apply Bootstrap shadow */
    border: none !important;
    font-size: 1rem !important;
    text-transform: none !important; /* if you want uppercase */
}

.connect-wallet-button:disabled {
    border-style: none;
    color: #333;
    background-color: #3762ea;
}

.connect-wallet-dropdown {
    min-width: unset !important;
    max-width: unset !important;
    width: 100% !important;  /* Ensures full width */
    font-weight: bold;
    position: relative;
    display: block;  /* Change to block for full width */
    padding-bottom: 8px;
    padding-top: 8px;
}

.connect-wallet-dropdown:hover .connect-wallet-menu {
    display: block;
}

.connect-wallet-dropdown:hover .connect-wallet-button {
    background-color: transparent;
    border-style: none;
    color: #fff;
}

.connect-wallet-desktop-menu-item {
    color: #333;
    position: relative;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-style: none;
    border-bottom: none;
    background-color: #3762ea;
    overflow: hidden;
}

.connect-wallet-desktop-menu-item:hover {
    background-color: #ccc;
}

.connect-wallet-desktop-menu-item:first-child {
    border-bottom: none;
}

.connect-wallet-desktop-menu-item:last-child {
    border-bottom: 1px solid #333;
}

.connect-wallet-desktop-menu-item &>span {
    text-transform: uppercase;
    font-size: 0.5rem;
    position: absolute;
    right: 0;
    width: 100%;
    padding: 3px;
    background: #777;
    color: #fff;
    text-align: center;
    transform: rotate(-35deg);
    translate: 25%;
}

.connect-wallet-desktop-menu-item & .connect-wallet-menu-item-icon {
    filter: brightness(0);
}

.connect-wallet-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.connect-wallet-modal-content { 
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #aeaeae;
    border-radius: 9px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connect-wallet-button:hover {
    background-color: var(--bs-primary-hover) !important; /* Adjust hover color */
    box-shadow: var(--bs-btn-hover-box-shadow) !important;
}

