.customer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.customer-card > .customer-card-cover,
.customer-card a.customer-card-cover {
    display: block;
    height: 110px;
    background: #e7e7e7;
    position: relative;
    text-align: center;
    text-decoration: none;
    overflow: visible;
    width: 100%;
    margin: 0;
    padding: 0;
}

.customer-card .customer-card-cover img,
.customer-card a.customer-card-cover img {
    width: 100px;
    height: 100px;
    border: 2px solid #e4e4e4;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -10px;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;
}

.customer-card > .customer-card-stretched-link,
.customer-card .customer-card-stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
    outline: none;
    border: 0;
    background: transparent;
}

.customer-card .customer-card-stretched-link:focus,
.customer-card .customer-card-stretched-link:active,
.customer-card .customer-card-stretched-link:hover {
    outline: none;
    border: 0;
    box-shadow: none;
    text-decoration: none;
}

.customer-card a:focus,
.customer-card a:active {
    outline: none;
    box-shadow: none;
}

.customer-card > .customer-card-cover,
.customer-card > .customer-card-check,
.customer-card > .customer-card-actions,
.customer-card > .customer-card-footer,
.customer-card .customer-card-cover,
.customer-card .customer-card-check,
.customer-card .customer-card-actions,
.customer-card .customer-card-footer {
    position: relative;
    z-index: 2;
}

.customer-card .customer-card-cover .customer-card-flag,
.customer-card .customer-card-flag {
    position: absolute;
    bottom: 8px;
    right: 12px;
    top: auto;
    z-index: 3;
    color: #8c8c8c;
    line-height: 1;
}

.customer-card .customer-card-cover .customer-card-flag i,
.customer-card .customer-card-flag i {
    font-size: 16px;
    float: none;
    padding: 0;
    margin: 0;
    color: inherit;
}

.customer-card .customer-card-check {
    position: absolute;
    top: 10px;
    right: 12px;
    bottom: auto;
    left: auto;
    z-index: 5;
    cursor: pointer;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke-width: 0;
}

.customer-card .customer-card-check i {
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke-width: 0;
}

.customer-card .customer-card-check i.fa-check-square {
    color: #5b3a89;
}

.customer-card .customer-card-cover.ab-dark .customer-card-flag,
.customer-card .customer-card-cover.ab-dark .customer-card-flag i {
    color: #fff;
}

.customer-card .customer-card-cover.ab-dark ~ .customer-card-check i {
    color: #fff;
}

.customer-card .customer-card-cover.ab-dark ~ .customer-card-check i.fa-check-square {
    color: #5b3a89;
}

.customer-card > .customer-card-body,
.customer-card .customer-card-body {
    display: block;
    padding: 50px 16px 20px;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.customer-card .customer-card-body:hover {
    text-decoration: none;
}

.customer-card .customer-card-body h3.customer-card-name,
.customer-card h3.customer-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #575757;
    margin: 0 0 12px;
    line-height: 1.3;
    height: auto !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-card .customer-card-body .customer-card-networks,
.customer-card .customer-card-networks {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin: 0 -8px 8px;
}

.customer-card .customer-card-body .customer-card-networks > span,
.customer-card .customer-card-body .customer-card-networks > b,
.customer-card .customer-card-networks > span,
.customer-card .customer-card-networks > b {
    display: none;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    background: #f9f9f9;
    color: #575757;
    font-size: 17px;
    line-height: 1;
    text-align: center;
    float: none;
    padding: 0;
    margin: 0;
}

.customer-card .customer-card-body .customer-card-networks > span.active,
.customer-card .customer-card-body .customer-card-networks > b.active,
.customer-card .customer-card-networks > span.active,
.customer-card .customer-card-networks > b.active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-card > .customer-card-actions,
.customer-card .customer-card-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: none;
}

.customer-card .customer-card-actions:has(> a:only-child) {
    grid-template-columns: 1fr;
}

.customer-card .customer-card-actions .customer-card-action,
.customer-card .customer-card-action {
    display: table-cell;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    color: #575757  ;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
}

.customer-card .customer-card-actions .customer-card-action:hover,
.customer-card .customer-card-actions .customer-card-action:focus,
.customer-card .customer-card-action:hover,
.customer-card .customer-card-action:focus {
    text-decoration: none;
    color: #8c8c8c;
}

.customer-card .customer-card-actions .customer-card-action > i,
.customer-card .customer-card-action > i {
    font-size: 16px;
    margin-bottom: 6px;
    float: none;
    padding: 0;
    margin-top: 0;
    color: inherit;
    padding-right: 4px;
}

.customer-card .customer-card-actions .customer-card-action .btn-acoes-perfil,
.customer-card .customer-card-action .btn-acoes-perfil {
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: block;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.customer-card > .customer-card-footer,
.customer-card .customer-card-footer {
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.customer-card .customer-card-footer:empty {
    display: none;
}

.row.m-b-xl.clientes,
.row.m-b-xl.usuarios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(450px, 100%), 1fr));
    gap: 24px;
    margin-left: 0;
    margin-right: 0;
    padding-top: 10px
}

.row.m-b-xl.clientes::before,
.row.m-b-xl.clientes::after,
.row.m-b-xl.usuarios::before,
.row.m-b-xl.usuarios::after {
    content: none;
}

.row.m-b-xl.clientes > [class*="col-"],
.row.m-b-xl.usuarios > [class*="col-"] {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    float: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.row.m-b-xl.clientes > [class*="col-"] > .customer-card,
.row.m-b-xl.usuarios > [class*="col-"] > .customer-card,
.row.m-b-xl.clientes > [class*="col-"] > section.panel.clientemod,
.row.m-b-xl.usuarios > [class*="col-"] > section.panel.clientemod {
    flex: 1 1 auto;
    width: 100%;
}

.row.m-b-xl.clientes > [class*="col-"] > section.panel.b-light.m-t.center.panel-footer.clientemod {
    height: auto;
    min-height: 254px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    margin-top: 0;
}

.row.m-b-xl.clientes > [class*="col-"] > section.panel.b-light.m-t.center.panel-footer.clientemod > .plus {
    width: 100%;
}
