.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Row animations */
tr.row-animation {
    animation: rowFadeIn 0.5s ease-out;
}

@keyframes rowFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delete animation */
tr.delete-animation {
    animation: rowFadeOut 0.5s ease-out forwards;
}

@keyframes rowFadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* Success animation - only apply to table rows */
tr.success-animation {
    animation: successHighlight 1s ease-out;
}

@keyframes successHighlight {
    0% {
        background-color: #86efac;
    }
    100% {
        background-color: transparent;
    }
}

/* Modal animations */
.modal-animation {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {

        opacity: 1;
        transform: scale(1);
    }
}

.overlay-animation {
    animation: overlayFadeIn 0.3s ease-out;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
