.red-g{
    color:#f06548;
}

.btn-pink {
    color: #fff;
    background-color: #ed1b60;
    border-color: #ed1b60; }
    .btn-pink:hover, .btn-pink:focus {
      color: #fff;
      background-color: #df195f;
      border-color: #df195f; }
    .btn-pink:not(:disabled):not(.disabled).active, .btn-pink:not(:disabled):not(.disabled):active {
      color: #fff;
      background-color: #be1b54;
      border-color: #be1b54; }
    .btn-pink.disabled, .btn-pink:disabled {
      color: #fff;
      background-color: #f68daf;
      border-color: #f68daf; }

  /* Style personnalisé pour les champs de saisie */
.form-control:focus {
  border-color: #d49d0c !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 157, 12, 0.25) !important;
}

/* Style pour les champs de saisie invalides */
.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.btn-nsia {
  color: #fff;
  background-color: #d49d0c;
  border-color: #d49d0c;
}
.bg-nsia {
  background-color: #cd9a2e !important;
  color: #fff;
}

.btn-nsia:hover,
.btn-nsia:focus {
  color: #fff;
  background-color: #b88c0a; /* une teinte plus foncée pour le hover */
  border-color: #b88c0a;
}

.btn-nsia:not(:disabled):not(.disabled).active,
.btn-nsia:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #9a7608; /* encore plus foncé pour l'état actif */
  border-color: #9a7608;
}

.btn-nsia.disabled,
.btn-nsia:disabled {
  color: #fff;
  background-color: #e2bc5f; /* variante atténuée pour désactivé */
  border-color: #e2bc5f;
}

/* Responsive Button and Icon Styles */
@media (max-width: 768px) {
    /* Button container styles */
    .flex-shrink-0 {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    /* Button styles */
    .btn {
        width: 100%;
        margin: 0.25rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }

    /* Icon styles */
    .btn i,
    .card-title i {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    /* Dropdown styles */
    .btn-group {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .btn-group .dropdown-toggle {
        width: 100%;
        margin-top: 0.25rem;
    }

    .dropdown-menu {
        width: 100%;
        position: static !important;
        transform: none !important;
        margin-top: 0.25rem;
    }

    /* Card title container */
    .d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch !important;
    }

    .card-title {
        margin-bottom: 1rem !important;
        text-align: center;
    }

    /* Breadcrumb responsive styles */
    .breadcrumb-item {
        display: none;
    }
    
    .breadcrumb-item:nth-last-child(2),
    .breadcrumb-item:nth-last-child(1) {
        display: inline-block;
    }
    
    .breadcrumb-item:nth-last-child(2)::before {
        content: "...";
        padding: 0 0.5rem;
        color: #6c757d;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
    .btn {
        font-size: 0.9rem;
    }

    .btn i,
    .card-title i {
        font-size: 1rem;
    }
}

/* Responsive table styles */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }

    .table {
        display: block;
        width: 100%;
    }

    .table thead {
        display: none;
    }

    .table tbody {
        display: block;
        width: 100%;
    }

    .table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.5rem;
        background-color: #fff;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    }

    .table td {
        display: block;
        padding: 0.75rem;
        border: none;
        border-bottom: 1px solid #dee2e6;
        text-align: left;
    }

    .table td:last-child {
        border-bottom: 0;
    }

    .table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #495057;
        margin-bottom: 0.5rem;
    }

    /* Action buttons container */
    .table td:last-child {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .table td:last-child::before {
        display: none;
    }

    /* Center align specific columns */
    .table td.text-center {
        text-align: center;
    }

    /* Badge styles in mobile */
    .table .badge {
        display: inline-block;
        padding: 0.5em 0.75em;
    }
}
/* annulation css dans les tableaux */
.cancelled-row {
    background-color: #f8d7da !important;
    opacity: 0.8;
}

.cancelled-row:hover {
    background-color: #f5c6cb !important;
    opacity: 1;
}

.cancelled-row td {
    border-color: #f5c6cb !important;
}

.text-muted {
    color: #6c757d !important;
}

.badge.bg-danger {
    font-size: 0.75em;
    padding: 0.25em 0.5em;
}

.cancelled-row .badge.bg-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

.filter-controls {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.filter-controls label {
    margin-right: 15px;
    font-weight: 500;
}
