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;
}

.btn-primary:focus, .btn-primary:active:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #0d6efd;
}

.btn-secondary:focus, .btn-success:active:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #6c757d;
}

.btn-success:focus, .btn-secondary:active:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #198754;
}

.btn-warning:focus, .btn-warning:active:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #ffc107;
}

.btn-danger:focus, .btn-danger:active:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #dc3545;
}

.btn-sm {
    padding: 0.15rem 0.25rem;
}

html {
    height: 100%;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* This ensures that the body takes at least the full height of the viewport */
    /*--bt-color: #36a2eb;
    --gr-color: #ff6384;
    --er-color: #ff9f40;
    --uc-color: #ffcd56;
    --pl-color: #4bc0c0;*/
    --bt-color: #dc3545;
    --gr-color: #6c757d;
    --er-color: #198754;
    --uc-color: #ffcd56;
    --pl-color: #4bc0c0;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

main {
    flex: 1; /* This allows the main content to take up the remaining vertical space */
    flex-grow: 1;
    margin-top: 60px; /* Adjust according to header height */
    margin-bottom: 25px; /* Adjust according to footer height */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
    padding: 20px;
}

table {
    overflow-y: auto;
    height: 38%;
    display: block;
}

.validation-error {
    color: red;
}
