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%;
}
th {
    text-align: -webkit-match-parent; /* keep for Safari < 15.4 */
    text-align: match-parent; /* standard property for modern browsers */
}
body {
    margin-bottom: 60px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%; /* standard property for Chrome, Edge, Firefox */
}

label.required::after {
    content: "\f586"; /* \f626  Unicode for 'asterisk' icon if using Bootstrap Icons */
    font-family: "bootstrap-icons";
    margin-left: 0.25rem;
    color: red;
    font-size: 0.45em;
}

.required-icon::before {
    content: "\f586"; /* \f626  Unicode for 'asterisk' icon if using Bootstrap Icons */
    font-family: "bootstrap-icons";
    margin-left: 0.25rem;
    color: red;
    font-size: 0.45em;
}

/*Bootstrap’s red borders and feedback styles kick in when the form control has .is-invalid or .is-valid*/
/*Blazor’s InputText, InputSelect, etc. do not add .is-invalid automatically — they only render a <div class="validation-message" > under the field*/
/* Validation summary (top of form) */
.validation-summary-errors {
    color: #dc3545; /* Bootstrap danger red */
    font-weight: 500;
}

/* Validation messages under fields */
.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
}

.bg-light-transparent {
    background-color: rgba(248, 249, 250, 0.8) !important;
}

.small-bullets li::marker {
    font-size: 0.6em; 
}

.btn-pantone-124 {
    background-color: #EAB817;
    border-color: #EAB817;
    color: #000; 
}
.btn-pantone-124:hover {
    background-color: #d6a614;
    border-color: #d6a614;
}
.bg-pantone-2172 {
    background-color: #407ABC !important;
}
.heading-pantone-2172 {
    color: #407ABC; /* Pantone 2172 digital approximation */
}

/*Override bootstrap for WCAG contrast issues*/
.btn-primary {
    background-color: #3D79BB;
    border-color: #3D79BB;
    color: #FFFFFF;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #1F5FCC;
    border-color: #1F5FCC;
    color: #FFFFFF;
}
.btn-primary:active {
    background-color: #174EA6;
    border-color: #174EA6;
    color: #FFFFFF;
}

/* Global link color */
a {
    color: #407ABC;
    text-decoration: none;
}
/*hover style for global links */
a:hover {
    text-decoration: underline;
    color: #305f96; 
}

.select-width-75 {
    width: 69px;
    max-width: 100%; 
}

.hr-thin {
    border: none;
    border-top: 1px solid #343a40;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.adminwarning{
    color:red!important ;
}

legend.form-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Hide reCAPTCHA badge by default */
.grecaptcha-badge {
    visibility: hidden !important;
}
/* Show badge only when explicitly allowed */
.show-recaptcha .grecaptcha-badge {
    visibility: visible !important;
}

/* Hide built-in clear icon in Chrome, Edge, Safari */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
/* Firefox doesn't show a default clear icon, but just in case */
input[type="search"]::-moz-search-clear {
    display: none;
}
.clear-btn {
    font-size: 1.5rem; /* Large like browser default */
    font-weight: 500; 
    color: #0d6efd; 
    background: none; 
    border: none; 
    line-height: 1; 
    cursor: pointer; 
    text-decoration: none; 
}
.clear-btn:hover,
.clear-btn:focus {
    color: #084298;
    text-decoration: none;
    outline: 1px solid #084298; /* keep for accessibility: visible focus ring */
    outline-offset: 0px;
}

/* Outer header row: do NOT wrap so ms-auto works */
.header-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

/* Left cluster (logo + home): CAN wrap under zoom */
.left-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    min-width: 0; /* allows text wrap instead of push */
}

/* Prevent home from covering logo at 200% zoom */
/*.header-home {
    white-space: nowrap;
    font-size: 1rem;
}*/
/* Following possible fix for link overflow for smaller widths to prevent horizontal scrolling WCAG*/
.header-home {
    font-size: 1rem;
    white-space: normal;
    overflow-wrap: break-word;
}
@media (min-width: 577px) {
    .header-home {
        white-space: nowrap;
    }
}

/* Keep header logo within safe range */
.header-logo {
    max-width: 260px !important;
    min-width: 120px;
    width: auto;
    height: auto;
}

.account-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap; /* Prevent wrapping at high zoom */
}

/*Fix iPad Safari flexbox overflow for Login button.*/
.login-btn {
    min-width: auto !important; 
    flex: 0 0 auto !important; 
    max-width: 100% !important;
}
/* Allow wrapping of button text for small screens/iPad Safari */
.login-btn span {
    white-space: normal !important;
}

.step-list {
    counter-reset: step-counter;
    padding-left: 0;
}
.step-list li {
    list-style: none;
    position: relative;
    padding-left: 2.5rem; 
    margin-bottom: 1.2rem;
}
/* Number square */
.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    width: 1.4rem; 
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0057B8; 
    color: #fff;
    font-size: 0.85rem; 
    font-weight: 700;
    border-radius: 0.25rem;
    position: absolute;
    left: 0;
    top: 0.1rem;
    transform: translateY(0); 
    /* If need mathematically perfect centering, use this instead:
top: 50%;
transform: translateY(-50%);
*/
}
.signout-link {
    font-size: 0.875rem; /* same as Bootstrap .small */
    line-height: 1.25;
    font-weight: normal;
    text-decoration: none;
}

.signout-link:hover,
.signout-link:focus {
    text-decoration: underline;
}

/*.pagination {
    flex-wrap: wrap;
}*/

.page-link:focus-visible {
    outline: 3px solid #4D97EB;
    outline-offset: 3px;
    box-shadow: none;
}
.page-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.21rem #4D97EB;
}




.rps-row {
    cursor: pointer;
}
.rps-row-selected {
    cursor: pointer;
    background-color: #DCEBFA !important;
    border-left: 4px solid #0D6EFD;
    font-weight: 600;
}
.rps-row-selected td {
    background-color: #DCEBFA !important;
}
.rps-table {
    table-layout: auto;
    width: 100%;
    font-size: 0.80rem;
}
.rps-table thead th {
    font-weight: 600;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    line-height: 1.15;
    vertical-align: middle;
}
    .rps-table td,
    .rps-table th {
        vertical-align: middle;
    }
.expand-column {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    text-align: center;
}

    .expand-column i {
        display: inline-block; /* Required for transform */
        transition: transform .15s ease;
    }

        .expand-column i.expanded {
            transform: rotate(90deg);
        }

.text-link {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}

.text-link:hover {
    color: #0a58ca;
}


.rps-adjustment-table {
    table-layout: fixed;
    width: 100%;
}
.rps-adjustment-table th,
.rps-adjustment-table td {
    width: 16.66%;
}
.rps-adjustment-table tbody tr {
    text-align: center;
    vertical-align: middle;
}
.table-header {
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    line-height: 1.2;
    font-weight: 600;
    padding: .75rem .4rem;
    word-break: normal;
    overflow-wrap: break-word;
}
.date-submitted {
    max-width: 210px;
}