html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.custom-card-header {
    background-color: #429BCC;
    color: white;
}

tr, td {
    border-left: 1pt solid blue !important;
}

table {
    border: 1pt solid blue !important;
}

.tabledown {
    border-bottom: 1pt solid blue !important;
}


#loadingSpinner img {
    opacity: .8;
    height: 100px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensure the overlay is on top of other content */
}

#loadingSpinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input, select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

select-size {
    width: 375px !important;
    height: 30px !important;
}

.custom-select:focus {
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* */
.collapsible-section {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
}

.collapsible-header {
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 0;
}

collapsible-content {
    padding-top: 0.5rem;
}

.custom-number-input {
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    outline: none; /* Removes browser default outline */
}

    .custom-number-input:focus {
        outline: 2px solid #007bff; /* Custom color and thickness */
        outline-offset: 1px;
    }

.radio-outline-group {
    border: 2px solid #007bff;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 1rem;
}

    .radio-outline-group legend {
        font-size: 0.95rem;
        font-weight: 600;
        width: auto;
        padding: 0 6px;
        border: none;
        margin-bottom: 0;
    }
    .radio-outline-group legend {
        font-size: 1.1rem; /* Standard browser default is ~1rem; increase as needed */
        font-weight: 700;
        width: auto;
        padding: 0 8px;
        border: none;
        margin-bottom: 0;
    }

summary {
    font-weight: normal;
    background-color: transparent;
    color: inherit;
    padding: 4px 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    /* Highlighted state (Active match state) */
    summary.highlighted {
        font-weight: bold;
        color: #0d6efd;
        background-color: #e8f0fe;
        border-left: 4px solid #0d6efd;
        border-radius: 4px;
    }