/* Styles pour les boutons d'action désactivés dans DemandeValidation */
.action.disabled,
button.disabled,
.btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

.action.disabled:hover,
button.disabled:hover,
.btn.disabled:hover {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

/* Tooltip pour les boutons désactivés */
.action[title*="Impossible de valider"],
button[title*="Impossible de valider"],
.btn[title*="Impossible de valider"] {
    position: relative;
}

.action[title*="Impossible de valider"]:hover::after,
button[title*="Impossible de valider"]:hover::after,
.btn[title*="Impossible de valider"]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.action[title*="Impossible de valider"]:hover::before,
button[title*="Impossible de valider"]:hover::before,
.btn[title*="Impossible de valider"]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    z-index: 1000;
    margin-bottom: -5px;
}

