.wallet-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.wallet-directory-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 100px;
    transition: box-shadow 0.2s;
}

.wallet-directory-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.wallet-directory-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wallet-directory-icon img {
    width: 55px !important;
    height: 55px !important;
    border-radius: 100% !important;
    object-fit: cover !important;
    background: #f7f7f7 !important;
    display: block !important;
}

.wallet-directory-info {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.wallet-directory-name {
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-directory-url {
    color: #888;
    font-size: 1em;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive grid: 4 columns desktop, 2 tablet, 1 mobile */
@media (max-width: 1023px) {
    .wallet-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .wallet-directory-grid {
        grid-template-columns: 1fr;
    }
    .wallet-directory-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .wallet-directory-info {
        text-align: center;
        align-items: center;
    }
    .wallet-directory-name, .wallet-directory-url {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}