/**
 * Document Type Editor CSS
 */

/* Hover effect for table rows */
#document-types-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Ensure action buttons are aligned nicely */
.btn-group {
    display: flex;
    justify-content: center;
}

/* Toast positioning and transitions */
.toast {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toast.show {
    opacity: 1;
}

/* Modal animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

/* Tooltip styling */
.tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hide less important columns on small screens */
    #document-types-table th:nth-child(3),
    #document-types-table td:nth-child(3),
    #document-types-table th:nth-child(5),
    #document-types-table td:nth-child(5) {
        display: none;
    }
} 