.btn-xs
{
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    margin-left: 15px;;
}

.btn-row-action
{
    margin-right: 10px;
}

.widget-list.list-horizontal
{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-left: 0;
    list-style: none;
    font-size: 18px;
}

.modal.show
{
    max-height: 100vh !important;
    overflow-y: visible !important;
}

/* Limiter la hauteur du contenu de la modal avec scroll interne */
.modal-dialog {
    max-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    margin: 30px auto;
}

.modal-content {
    max-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
}

.modal-body {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-header,
.modal-footer {
    flex-shrink: 0;
}

.logout {
    margin-top: 10px;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 0.375rem;
    color: #fff;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 0.375rem;
    color: #fff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    border-radius: 0.375rem;
    color: #fff;
    text-transform: none !important;
}
.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}
.hidden {
    display: none;
}

.col-xs-6
{
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
}