/* container flex à 3 colonnes (ajustez selon votre thème) */
.b2b-enterprise-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.woocommerce-MyAccount-content-hk{
    float: left !important;
    padding-left: 0px !important;
}

/* chaque tuile */
.b2b-enterprise-tile {
    flex: 1 0 30%;            /* 3 items par ligne */
    margin: 10px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    transition: border-color .2s, box-shadow .2s;
}

/* icône dashicon */
.b2b-enterprise-tile .dashicons {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    color: #555;
}

/* titre de la tuile */
.b2b-enterprise-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
}
.ajax-loader.is-active {
    margin: 1em auto;
    display: block;
}
/* hover */
.b2b-enterprise-tile:hover {
    border-color: #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Reprend les tuiles du dashboard Mes Entreprises */
.b2b-enterprise-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.b2b-enterprise-tile {
    flex: 1 0 30%;
    margin: 10px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    transition: border-color .2s, box-shadow .2s;
}
.b2b-enterprise-tile.active {
    border-color: #ff914d;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.b2b-enterprise-tile .dashicons {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    color: #555;
}
.b2b-enterprise-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
}
.b2b-enterprise-tile:hover {
    border-color: #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.invoice-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.button-small {
    font-size: 11px;
    padding: 4px 8px;
    height: auto;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .invoice-actions {
        flex-direction: column;
    }

    .invoice-actions .button {
        margin-bottom: 3px;
        text-align: center;
    }
}
