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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Loading spinner overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s;
    opacity: 0;
    visibility: hidden;
}

.spinner-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #dee2e6;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-text {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #007bff;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}