/**
 * Application Styles
 */

/* General Layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container,
.container-fluid {
    flex: 1;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Alert Animations */
.alert {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 250px;
}

/* Card Hover Effect */
.card.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5em 0.75em;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .no-print {
        display: none !important;
    }

    body {
        background-color: white;
    }

    .card {
        border: 1px solid #dee2e6;
    }
}
