/* 
 * Sticky Footer CSS for Taska Certificate System
 * This ensures the footer always stays at the bottom of the viewport
 * even when page content is shorter than the viewport height
 */

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content wrapper - flex grow to push footer down */
.content-wrapper {
  flex: 1 0 auto;
}

/* Set a specific body class for the home page */
body.home-page {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
}

/* Footer - prevent from growing, stick to bottom */
footer {
  flex-shrink: 0;
}