/* Sticky Footer CSS */

/* Ensure footer stays at bottom on all pages */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* Header should not grow */
header {
    flex-shrink: 0;
}

/* Main content wrapper should grow to fill space */
.container-fluid.px-0 {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Main content should grow */
main {
    flex: 1 0 auto;
    padding-bottom: 2rem;
}

/* Footer should always stay at bottom */
footer {
    flex-shrink: 0;
    margin-top: auto !important;
}

/* Override any conflicting Bootstrap styles */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Fix for pages with minimal content */
@media (min-height: 600px) {
    body {
        min-height: 100vh;
    }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    main {
        padding-bottom: 1.5rem;
    }
}
