.section {
    padding-top: 40px;
    padding-bottom: 40px;
}

    .section h2 {
        text-transform: uppercase;
    }

[data-bs-theme="light"] .text-category-color {
    color: black;
}

[data-bs-theme="dark"] .text-category-color {
    color: white;
}

[data-bs-theme="light"] .nav-link {
    color: var(--vz-heading-color);
}

[data-bs-theme="dark"] .nav-link {
    color: var(--vz-card-color);
}

[data-bs-theme="light"] .nav-link.active {
    color: black;
}

[data-bs-theme="dark"] .nav-link.active {
    color: white;
}

.w-0 {
    width: 0;
}

table.table-sm {
    font-size: 90%;
}

    table.table-sm td {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    table.table-sm a.btn {
        padding: 0;
        font-size: 50%;
    }

.wysiwyg-content p {
    margin-bottom: 0 !important;
}

.text-right {
    text-align: right;
}

td.nowrap {
    white-space: nowrap !important;
    width: 1px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* pour un scroll fluide sur iOS */
}

    .table-container table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px; /* optionnel, pour forcer un scroll si le contenu est large */
    }

.alert ul {
    margin-bottom: 0 !important;
}

/*.bg-competition {
    background-color: gray !important;
}*/

.no-select {
    user-select: none; /* Empêche la sélection du texte */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    cursor: pointer; /* (Optionnel) indique que c’est cliquable */
}

.pulse {
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.explore-box .explore-img {
    height: auto !important;
}

figure.table table {
    width: 100% !important;
}

    figure.table table td, figure.table table th {
        padding: 3px !important;
        font-size: 80% !important;
        text-align: center !important;
        border-width: 1px !important;
    }

.bg-warning-subtle {
    background-color: transparent !important;
}

.competition-menu {
    background-color: #282B30 !important;
    color-scheme: dark !important;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    #loadingOverlay.active {
        display: flex;
    }

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

figure.image img {
    width: 100% !important;
}

.blog-post {
    font-size: 110% !important;
    text-align: justify !important;
}

.mr-3 {
    margin-right: 3px !important;
}

.text-justify {
    text-align: justify !important;
}

.w-full {
    width: 100% !important;
}


.wizard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin: 30px 0;*/
    position: relative;
}

    .wizard::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        height: 4px;
        background: rgb(33, 37, 41);
        z-index: 0;
    }

.step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.circle {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgb(33, 37, 41);
    color: rgb(135, 138, 153);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.label {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.step.active .circle {
    background: rgb(94, 163, 203);
    color: rgb(255, 255, 255);
}

.step.active .label {
    color: rgba(94, 163, 203, 0.8);
}

.step.completed .circle {
    background: rgba(106, 218, 125, 0.8);
    color: rgba(255, 255, 255, 0.8);
}

.step.completed .label {
    color: rgba(106, 218, 125, 0.8);
}

.step.completed ~ .step::before {
    background: #e0e0e0;
}

@media (max-width: 600px) {
    .label {
        font-size: 12px;
    }

    .circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

.mb-1:last-child {
    margin-bottom: 0 !important;
}

.mb-2:last-child {
    margin-bottom: 0 !important;
}

.mb-3:last-child {
    margin-bottom: 0 !important;
}

.mb-4:last-child {
    margin-bottom: 0 !important;
}

.mb-5:last-child {
    margin-bottom: 0 !important;
}

tbody.tbody-font-size {
    font-size: 12px !important;
}

table.table thead, table.table tfoot {
    font-size: 13px;
    text-transform: uppercase;
    --vz-text-opacity: 1;
    color: var(--vz-secondary-color) !important;
    --vz-table-color: white;
    --vz-table-bg: var(--vz-light);
    --vz-table-border-color: var(--vz-border-color);
    --vz-table-striped-bg: var(--vz-light);
    --vz-table-striped-color: white;
    --vz-table-active-bg: var(--vz-light);
    --vz-table-active-color: white;
    --vz-table-hover-bg: var(--vz-light);
    --vz-table-hover-color: white;
}

table.table tbody {
    font-size: 13px;
}

    table.table tbody td {
        padding-top: 6px;
        padding-bottom: 6px;
    }

table.table {
    margin-bottom: 0 !important;
}

    /*.hamburger-icon {
    transform: none !important;
}*/

    /*  table.table tbody tr:hover {
        background-color: red;
    }*/

    table.table td span.badge {
        font-size: 11px !important;
        text-transform: uppercase !important;
    }

    table.table td:has(span.badge) {
        text-align: center !important;
        width: 0 !important;
    }

    table.table td:has(a.btn-icon), table.table td:has(div.btn-group) {
        text-align: center !important;
        width: 0 !important;
        padding: 3px 3px 3px 3px;
    }

    table.table td:has(span.price) {
        text-align: right !important;
        width: 0 !important;
    }

    table.table td:has(.quantity) {
        text-align: center !important;
        width: 0 !important;
    }

    table.table td:has(.date) {
        text-align: left !important;
        width: 0 !important;
        white-space: nowrap !important;
    }

.json-viewer div {
    margin-bottom: 2px;
}

td.nowrap, th.nowrap {
    white-space: nowrap !important;
}

.badge-success {
    background-color: rgba(10, 179, 156, 0.25) !important;
    color: rgb(10, 179, 156) !important;
}

.badge-primary {
    background-color: rgba(64, 81, 137, 0.25) !important;
    color: rgb(64, 81, 137) !important;
}

.badge-danger {
    background-color: rgba(240, 101, 72, 0.25) !important;
    color: rgb(240, 101, 72) !important;
}

.badge-secondary {
    background-color: rgba(53, 119, 241, 0.25) !important;
    color: rgb(53, 119, 241) !important;
}

.badge-info {
    background-color: rgba(41, 156, 219, 0.25) !important;
    color: rgb(41, 156, 219) !important;
}

.badge-warning {
    background-color: rgba(247, 184, 75, 0.25) !important;
    color: rgb(247, 184, 75) !important;
}

.badge-dark {
    background-color: rgb(49, 52, 55) !important;
    color: rgb(206, 212, 218) !important;
}

.planning-heat-min-h {
    min-height: 30px !important;
}

.sortable-ghost {
    opacity: 0.4;
}

.sortable-chosen {
    cursor: grabbing;
}

table.table-planning tr, table.table-planning tbody, table.table-planning td {
    border-style: none;
}

.task-item {
    /*border-bottom: 1px solid #282B30;*/
    margin: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 6px;
}

    .task-item:last-child {
        /*border-bottom: 0 !important;*/
    }

    .task-item h6 {
        font-size: 10pt !important;
    }

.task-item-title {
    /*text-transform: uppercase;*/
}

.task-item-assigned {
    padding-top: 10px;
}

.footer {
    height: auto !important;
}

.page-content {
    padding-bottom: 100px !important;
}

.p-lr-5 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}