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 */
}

/* 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;
}

/* 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;
    }


