.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: #30a95a !important;
    box-shadow: 0 0 0 0.25rem rgba(1, 86, 45, 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-petro {
    color: #fff;
    background-color: #01562d; /* couleur par défaut */
    border-color: #01562d;
  }
  
  .btn-petro:hover,
  .btn-petro:focus {
    color: #fff;
    background-color: #88ae47; /* teinte légèrement plus foncée */
    border-color: #88ae47;
  }
  
  .btn-petro:not(:disabled):not(.disabled).active,
  .btn-petro:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #769b3d; /* encore plus foncée pour l’état actif */
    border-color: #769b3d;
  }
  
  .btn-petro.disabled,
  .btn-petro:disabled {
    color: #fff;
    background-color: #bcd98c; /* variante atténuée pour désactivé */
    border-color: #bcd98c;
  }
  
/* 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;
    }
}
