html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ===== Footer อยู่ล่างสุดของจอเสมอ (sticky footer) =====
   body → .page-shell → main.page-main → [เนื้อหาหน้า..., footer.sc-footer]
   เนื้อหาน้อย: footer ถูกดันลงไปติดขอบล่างจอ / เนื้อหายาว: footer ต่อท้ายเนื้อหาตามปกติ */
html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell,
.page-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.page-main > .sc-footer {
  margin-top: auto !important;
}
