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: 10px;
}

table, tr, th, td {
    border: 1px solid black
}

td.notes {
    word-wrap: break-word; 
    white-space: normal;
    overflow-wrap: break-word;
}

.content-wrapper {
    display: inline-block;
}

a.clickable {
    color: #0d6efd;
    text-decoration: none;
    cursor: pointer
}

.toggle-checkbox {
    display: none;
}

.full-content {
    display: none;
}

.toggle-checkbox:checked ~ .content-wrapper .full-content {
    display: inline;
}

.toggle-checkbox:checked ~ .content-wrapper .preview {
    display: none;
}

.toggle-checkbox + .toggle-label::after {
    content: " Expand";
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.toggle-checkbox:checked + .toggle-label::after {
    content: " Collapse";
}


.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlay-content {
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#overlayText {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}