/* GestRestoSco - Styles des commandes */

/* Assistant de creation */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all .3s;
}

.step-item.active .step-circle {
    background: var(--bs-primary);
    color: #fff;
}

.step-item.done .step-circle {
    background: #198754;
    color: #fff;
}

.step-label {
    font-size: .75rem;
    margin-top: 4px;
    color: #6c757d;
}

.step-item.active .step-label {
    color: var(--bs-primary);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 8px 18px;
}

.badge-mode-auto {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-mode-suggest {
    background-color: #fef3c7;
    color: #92400e;
}

/* Bon de commande */
@media print {

    .commande-detail-page .d-print-none,
    .commande-detail-page .app-topbar,
    .commande-detail-page .app-sidebar,
    .commande-detail-page .flash-container {
        display: none !important;
    }

    .commande-detail-page .d-print-block {
        display: block !important;
    }

    .commande-detail-page .app-main {
        margin-left: 0 !important;
        margin-top: 0 !important;
        padding: 1rem !important;
        width: 100% !important;
    }

    .commande-detail-page {
        padding: 0;
        margin: 0;
    }

    .commande-detail-page .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }

    .commande-detail-page .badge {
        border: 1px solid currentColor;
    }
}

@media screen {
    .commande-detail-page .d-print-block {
        display: none;
    }
}