@media print {
    .no-print {
        display: none;
    }
}

/* Remove animations and transitions from dom with this class */
.no-transition {
    transition: none !important;
    -webkit-transition: none !important;
}

header img {
    width: 50%;
    display: block;
    margin: 0 auto;
}

body {
/* Scale only the main content, not the background */
.main-content {
    transform: scale(0.75);
    transform-origin: top left;
}
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Softer light gray */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Softer light gray */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

form.left-align {
    text-align: left;
}

input[readonly] {
    background-color: #e9ecef;
}

.bordered {
    border: 1px solid #dee2e6;
    margin-bottom: 2em;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

th.sortable:hover {
    background-color: #e9ecef;
}

.spinner-border {
    width: 3em;
    height: 3em;
    border-width: .25em;
    opacity: 0.7;
}

.spinner-small {
    width: 1em;
    height: 1em;
}

.wide-form .form-control {
    width: 100%;
}

.font-sm {
    font-size: smaller;
}

/* Updated Bootstrap primary color */
:root {
    --primary: #3498db; /* Softer blue */
    --primary-dark: #2980b9;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-color: #333;
    --text-muted: #6c757d;
}

/* example: single select with border */
.select2-container--bootstrap-5 .select2-selection--single {
    border: 1px solid #ced4da;
    /* match Bootstrap 5 default form-control border */
    border-radius: 0.375rem;
    /* match .form-control border radius in Bootstrap 5 */
    height: calc(1.5em + 0.75rem + 2px);
    /* align height if needed */
    /* padding: 0.375rem 0.75rem; */
    /* approximate bootstrap spacing */
    background-color: #fff;
}

/* on focus (when the select2 opens or gets focus) */
.select2-container--bootstrap-5 .select2-selection--single:focus,
.select2-container--bootstrap-5 .select2-selection--single.select2-focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

/* for multiple select (if you use multiple) */
.select2-container--bootstrap-5 .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    /* maybe some min-height, padding adjustments */
}

.select2-selection__rendered {
    line-height: 34px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}