/* #main {
    max-width: 1200px;
} */

:root {
    --font-family-sans-serif: "avenir-lt-pro", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-family-bid-card: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bidspr-type-blue: #2b59c3;
    --bidspr-type-muted: #6b7280;
    --bidspr-type-ink: #111827;
    --bidspr-type-alert: #c2410c;
}

html,
body,
#nova,
#app,
.font-sans {
    font-family: "avenir-lt-pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.px-3:has(.nova-detached-filters-card) {
    width: 100% !important;
}

.advertisement {
    text-align: center;
    margin-bottom: 50px;
}

.table td {
    height: auto;
}

.modal {
    display: block !important;
    overflow: auto !important;
}

.card.overflow-hidden {
    padding-bottom: 150px;
}

.overflow-hidden.overflow-x-auto {
    overflow: auto !important;
}

@media (max-width: 993px) {
    .hidden-xs {
        display: none !important;
    }

    .visible-xs {
        display: block !important;
    }

    .w-1\/5 {
        width: 25% !important;
    }
}

@media (min-width: 994px) {
    .visible-xs {
        display: none !important;
    }

    .w-1\/5 {
        width: 25% !important;
    }
}

[dusk="global-search-component"] {
    display: none !important;
}

.category-9 {
    background-color: #E4AB3A !important;
}

.category-8 {
    background-color: #E4AB3A !important;
}

.category-7 {
    background-color: #E4AB3A !important;
}

.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: none !important;
}

.w-sidebar {
    background: #0d2554 !important;
    /* Keep top padding so nav clears the absolute logo (padding: 0 was hiding the first item for non-admins). */
    padding: 3.75rem 0 0;
}

.w-sidebar .items-center {
    padding: 12px 24px;
    margin-bottom: 0;
}

.w-sidebar .items-center.router-link-active {
    background: #091c40;
}

.w-sidebar .nova-sidebar-section {
    margin-bottom: 1.5rem;
}

.w-sidebar .nova-sidebar-section > a.cursor-pointer {
    margin-bottom: 0;
}

.w-sidebar .nova-sidebar-post-bid {
    margin-bottom: 0;
}

.w-sidebar .nova-sidebar-nested-link {
    position: relative;
    padding: 0.15rem 1.5rem 0.75rem 3.5rem;
}

.w-sidebar .nova-sidebar-nested-link::before {
    content: '';
    position: absolute;
    left: 2.125rem;
    top: -0.4rem;
    width: 0.85rem;
    height: calc(50% + 0.4rem);
    border-left: 1.5px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
}

.w-sidebar .nova-sidebar-sublink {
    display: flex;
    align-items: center;
    padding: 0.4rem 0 0.4rem 2.5rem;
    font-size: 0.9375rem;
    opacity: 0.92;
}

.w-sidebar .nova-sidebar-sublink .sidebar-icon {
    width: 1em;
    height: 1em;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.w-sidebar .nova-sidebar-sublink-last {
    padding-bottom: 0;
}

.w-sidebar .sidebar-new-tag {
    display: inline-block;
    margin-left: 0.2rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #ff7a1a;
    vertical-align: super;
}

.w-sidebar ul.list-reset.mb-8 {
    margin-bottom: 1rem;
}

/* Inter only on actual bid letter cards — not contact detail / page chrome */
.bids-cards .bid-card {
    font-family: var(--font-family-bid-card);
    font-optical-sizing: auto;
}

.bids-cards .card .card-body {
    padding: 18px 18px 14px 18px;
}

.bids-cards .card .card-footer {
    padding: 10px 14px;
    font-size: 14px;
    line-height: 20px;
    background: white;
    color: var(--bidspr-type-muted);
}

.bids-cards .card .card-footer strong,
.bids-cards .card .card-footer .bid-card__meta-label {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--bidspr-type-muted);
}

.bids-cards .card .card-footer em,
.bids-cards .card .card-footer .bid-card__meta-value {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
    color: var(--bidspr-type-ink);
}

.bids-cards .card .card-title {
    margin-bottom: 0;
}

.bids-results .card {
    margin-bottom: 50px !important;
}

.bids-details .card,
.weekly-report .card-deck .card {
    margin-bottom: 15px !important;
}

.bids-cards .card .card-title span {
    display: inline-block;
}

/* Municipality / jurisdiction label */
.bids-cards .card .owner,
.bids-cards .bid-card__municipality {
    font-size: 16px;
    font-weight: 500 !important;
    line-height: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block !important;
    color: var(--bidspr-type-blue) !important;
    margin-bottom: 6px;
}

.bids-cards .card .owner a,
.bids-cards .bid-card__municipality a {
    color: inherit !important;
    font-weight: inherit;
}

/* Bid title */
.bids-cards .card .arrow-link,
.bids-cards .bid-card__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--bidspr-type-ink);
    display: block !important;
}

/* Child category (e.g. Vehicles) vs project name in Supply */
.bids-cards .card .arrow-link:has(.bid-card__child-category),
.bids-cards .bid-card__title:has(.bid-card__child-category) {
    font-weight: 400;
}

.bids-cards .bid-card__child-category {
    font-weight: 600;
    color: var(--bidspr-type-ink);
}

.bids-cards .card .arrow-link:hover,
.bids-cards .bid-card__title:hover {
    color: var(--bidspr-type-blue);
}

/* Category tags / pills */
.bids-cards .bid-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bids-cards .bid-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8eefc;
    color: var(--bidspr-type-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

/* Card layout with closes column */
.bids-cards .bid-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.bids-cards .bid-card__content {
    min-width: 0;
    flex: 1 1 auto;
}

.bids-cards .bid-card__extra {
    margin-top: 14px;
}

.bids-cards .meeting-contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    text-align: left;
}

.bids-cards .meeting-contact-row .add-contact-button,
.bids-cards .meeting-contact-row .btn.add-contact-button {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    max-width: 100%;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-align: left;
}

.bids-cards .bid-card__extra .table {
    margin-bottom: 0;
}

.bids-cards .bid-card__closes {
    flex: 0 0 auto;
    text-align: right;
    min-width: 140px;
}

.bids-cards .bid-card__closes-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--bidspr-type-muted);
    margin-bottom: 2px;
}

.bids-cards .bid-card__closes-date {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    color: var(--bidspr-type-blue);
    font-variant-numeric: tabular-nums;
}

.bids-cards .bid-card__closes-remaining {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--bidspr-type-muted);
    margin-top: 2px;
}

.bids-cards .bid-card__closes-remaining.is-urgent {
    color: var(--bidspr-type-alert);
    font-weight: 500;
}

/* Buttons and actionable links in bid UI */
.bids-cards .btn,
.bids-cards a.text-primary,
.bids-cards .add-button {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

@media (max-width: 992px) {
    .bids-cards .card .arrow-link,
    .bids-cards .bid-card__title {
        font-size: 22px;
    }

    .bids-cards .bid-card__row {
        flex-direction: column;
        gap: 14px;
    }

    .bids-cards .bid-card__closes {
        text-align: left;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .bids-cards .card .owner,
    .bids-cards .bid-card__municipality {
        font-size: 15px;
    }

    .bids-cards .card .arrow-link,
    .bids-cards .bid-card__title {
        font-size: 20px;
    }

    .bids-cards .card .card-footer,
    .bids-cards .card .card-footer strong,
    .bids-cards .card .card-footer em,
    .bids-cards .card .card-footer .bid-card__meta-label,
    .bids-cards .card .card-footer .bid-card__meta-value {
        font-size: 14px;
    }

    .bids-cards .bid-card__closes-date {
        font-size: 18px;
        line-height: 24px;
    }
}

.tippy-tooltip {
    background-color: white;
    color: inherit;
    text-align: left;
    padding: 0;
    -webkit-box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 22%);
    box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 22%);
}

.arrow-link:hover {
    color: #007bff;
    cursor: pointer;
}

.tippy-tooltip .contact-pop {
    padding: 15px;
}

.tippy-tooltip .card {
    width: 350px !important;
}

.tippy-tooltip .bid-hover-card.card {
    width: 520px !important;
    max-width: min(520px, calc(100vw - 24px));
}

.bid-hover-card {
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.bid-hover-card .card-body.bid-card {
    padding: 14px 16px;
}

.bid-hover-card .card-title {
    margin-bottom: 0;
}

.bid-hover-card .bid-card__title {
    font-size: 20px;
    line-height: 1.25;
    width: 100%;
}

.bid-hover-card__content {
    width: 100%;
}

.bid-hover-card__due {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin-top: 8px;
}

.bid-hover-card__due .bid-card__closes-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--bidspr-type-muted);
    margin-bottom: 0;
}

.bid-hover-card__due .bid-card__closes-date {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--bidspr-type-blue);
    font-variant-numeric: tabular-nums;
}

.bid-hover-card__due .bid-card__closes-remaining {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--bidspr-type-muted);
    margin-top: 0;
}

.bid-hover-card__due .bid-card__closes-remaining.is-urgent {
    color: var(--bidspr-type-alert);
    font-weight: 500;
}

.bid-hover-card .bid-card__tags {
    margin-top: 10px;
}

.bid-hover-card .bid-card__municipality {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
}

.bid-hover-card .card-footer {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 18px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.bid-hover-card .card-footer .bid-card__meta-label,
.bid-hover-card .card-footer .bid-card__meta-value {
    font-size: 13px;
    line-height: 18px;
}

.bid-hover-link,
.bid-hover-link:hover {
    cursor: pointer;
}

.add-button {
    color: #007bff;
    font-size: 15px;
    padding: 0;
    margin-top: 5px;
}

.add-button .b-icon {
    color: #007bff;
}

.contact-pop-inline>div {
    display: inline;
}

.bids-summary .cats-columns .card-body {
    padding: 8px 20px;
}

.bids-summary .cats-columns .card {
    min-height: 239px;
    padding: 0;
    margin: 0 !important;
}

/* Widget headings only — never bid letter cards (Inter guide) */
.bids-summary .cats-columns .card-title,
.dashboard-cards .dashboard-column-card > .card-body > .card-title,
.dashboard-cards .dashboard-column-card > .card-body > .card-title.widget-filter-header,
.dashboard-cards > .card > .card-body > .card-title {
    font-family: "avenir-lt-pro", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 700 !important;
    display: block !important;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.75rem;
    font-size: 22px !important;
    min-height: 40px !important;
}

/* Calendar day modal: keep Inter bid-card typography (modal is portaled to body) */
#calendar-day-modal .bid-card {
    font-family: var(--font-family-bid-card);
    font-optical-sizing: auto;
}

#calendar-day-modal .bid-card .card-title {
    font-family: inherit;
    font-weight: inherit !important;
    font-size: inherit !important;
    min-height: 0 !important;
    margin: 0;
    border-bottom: none;
}

/* Compact bid notification cards (dashboard widget) */
.compact-bid-card {
    font-family: var(--font-family-bid-card);
    font-optical-sizing: auto;
    color: var(--bidspr-type-ink);
    padding: 14px 0 12px;
    border-bottom: 1px solid #e5e7eb;
}

.compact-bid-card:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.compact-bid-card__label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--bidspr-type-ink);
}

.compact-bid-card__project {
    margin-bottom: 10px;
}

.compact-bid-card__project .compact-bid-card__label {
    margin-bottom: 4px;
}

.compact-bid-card__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bidspr-type-blue) !important;
    text-decoration: none !important;
    cursor: pointer;
}

.compact-bid-card__title:hover {
    text-decoration: underline !important;
}

.compact-bid-card__title--muted {
    color: var(--bidspr-type-muted) !important;
    cursor: default;
}

.compact-bid-card__awardee {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.compact-bid-card__awardee .compact-bid-card__label {
    margin-right: 4px;
}

.compact-bid-card__awardee-name {
    font-weight: 400;
    color: var(--bidspr-type-ink);
}

.compact-bid-card__owner {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.compact-bid-card__owner .compact-bid-card__label {
    margin-right: 4px;
}

.compact-bid-card__owner-link {
    font-weight: 400;
    color: var(--bidspr-type-blue) !important;
    text-decoration: none !important;
}

a.compact-bid-card__owner-link:hover {
    text-decoration: underline !important;
}

.compact-bid-card__ids {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--bidspr-type-ink);
    margin-bottom: 10px;
}

.compact-bid-card__ids .compact-bid-card__label {
    margin-right: 4px;
}

.compact-bid-card__ids-sep {
    color: #d1d5db;
    font-weight: 400;
}

.compact-bid-card__footer {
    padding-top: 10px;
    border-top: 1px dotted #d1d5db;
    font-size: 13px;
    line-height: 1.4;
    color: var(--bidspr-type-ink);
}

.widgets .text-right span {
    font-family: "avenir-lt-pro", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 400;
}

.contacts-list .card {
    min-height: 280px;
}

.contact-detail,
.contact-detail__info,
.contact-detail .field {
    font-family: "avenir-lt-pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}


.max-w-login {
    font-family: "avenir-lt-pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.btn-load-more {
    height: 45px;
    color: #3c4b5f;
    letter-spacing: 1px;
    line-height: 45px;
    font-size: 12px;
    border: 1px solid #3c4b5f;
    background: #fff;
    display: inline-block;
    width: 100%;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-load-more:hover {
    color: #fff !important;
    background-color: #007bff;
    border-color: #007bff;
    text-decoration: none;
}

.btn-load-more .current-page {
    float: left;
    text-transform: none;
    font-weight: 400;
}

.btn-load-more .current-page {
    float: left;
    text-transform: none;
    color: #3c4b5f;
    font-weight: 400;
}

.btn-load-more:hover .current-page {
    color: white;
}

#toTopBtn {
    border-radius: 50%;
    position: fixed;
    bottom: 146px;
    right: 18px;
    z-index: 98;
    padding: 30px;
    background-color: white;
    background: url(/images/arrow.svg) no-repeat center white !important;
}

.btn-follow {
    background-color: #f2b51e !important;
    border-color: #f2b51e !important;
}

.btn-follow:hover {
    background: #e6a912 !important;
    border-color: #e6a912 !important;
}

.contact-pop svg:not(.bi-person-plus-fill) {
    color: rgba(60, 75, 95, 0.7)
}

.add-contact-button {
    color: #007bff !important;
    background: transparent !important;
    padding: 0 5px !important;
    border: none !important;
    vertical-align: middle !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    text-align: left !important;
}

.tawk-bubble-container .tawk-icon-right {
    display: none !important;
}

.cats-columns .card {
    height: 100% !important;
}


#tidio-chat-iframe {
    inset: auto 0 60px auto !important;
}


.contact-followed {
    color: #3c4b5f !important;
}

.contact-followed svg {
    margin-top: -4px;
}

.add-contact-button svg {
    font-size: 18px !important;
}

.add-contact-button:hover {
    text-decoration: underline !important;
}

.follow-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    color: #8b95a1;
    vertical-align: middle;
}

.follow-contact-btn:hover,
.follow-contact-btn:focus {
    color: #6f7a88;
    text-decoration: none;
    outline: none;
}

.follow-contact-btn--following {
    color: #7a2e2e;
}

.follow-contact-btn--following:hover,
.follow-contact-btn--following:focus {
    color: #5f2222;
}

.follow-contact-btn--primary {
    color: var(--primary, #4099de);
}

.follow-contact-btn--primary:hover,
.follow-contact-btn--primary:focus {
    color: var(--primary-dark, #297ec0);
}

.follow-contact-btn--icon-only {
    gap: 0;
    padding: 0 2px;
}

.follow-contact-btn--icon-only .follow-contact-btn__icon {
    font-size: 1.25rem;
}

.follow-contact-btn--disabled,
.follow-contact-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.follow-contact-btn__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.follow-contact-btn__label {
    white-space: nowrap;
}

/*-----------------------*/


/*@media print {*/

/*    .sidebar-hidden {*/
/*        display: none;*/
/*    }*/

/*    .first-page {*/
/*        width: 1720px;*/
/*        height: 2000px;*/
/*    */

/*        .print-date {*/
/*            font-size: 40px;*/
/*            line-height: normal;*/
/*            text-align: center;*/
/*        }*/
/*    }*/

/*    .print-content {*/
/*        width: 1680px;*/
/*        height: 2000px;*/
/*        margin-inline-start: 5px !important;*/
/*        margin-inline-end: 5px !important;*/
/*        */
/*    }*/
/*    */
/*    .card-body {*/
/*        width: 1670px; */
/*        padding: 10px;*/
/*    }*/

/*    .card-deck {*/
/*        width: 1670px; */
/*    }*/

/*    .card-footer {*/
/*        width: 1664px; */
/*        border: 2px solid #b3b9bf !important;*/
/*    }*/

/*    .card-header .btn {*/
/*        text-align: left !important;*/
/*        border: 4px solid #b3b9bf !important;*/
/*        padding-top: 4px;*/
/*        padding-bottom: 4px;*/
/*        font-size: 2.45rem !important;*/

/*    }*/

/*    .card {*/
/*        border: 4px solid #b3b9bf !important;*/
/*        width: 1670px;*/
/*        padding-bottom: 5px;*/
/*    }*/

/*    .table {*/
/*        border: 4px solid #b3b9bf !important;*/
/*    }*/

/*    .card-text {*/
/*        width: 600px;*/
/*    }*/

/*    @page {*/
/*        margin-bottom: 75px !important;*/
/*        margin-top: 55px !important;*/
/*    }*/
/*}*/




/* Search Form Styles */

.nova-detached-filters-card .detached-filter h3 {
    color: #7C858E !important;
    background-color: transparent !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: .60rem !important;
    padding-right: .60rem !important;
    font-size: 12pt;
    white-space: wrap !important;

}


.form-control-sm {
    font-size: 12pt !important;
    line-height: 1.5 !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 6px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: .60rem !important;
    padding-right: .60rem !important;

}

.card {

    padding-top: 1px !important;
    padding-bottom: 1px !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;

}

.nova-detached-filters-card .detached-filter h3 {

    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.nova-nested-form-with-content .border-40:has(div div div div div div.items-center) {
    height: 300px !important;
}

.button {
    border-radius: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    display: none !important;
    font-size: 16px;
    cursor: pointer;
}

#main:has(.nova-detached-filters-card) .button {
    display: block !important;
}

.hideFilters {
    display: none !important;
}

.button:hover {
    background-color: #0056b3;
}

/* Nova header: top-right widgets (Bootstrap JS for dropdown only) */
.nova-header-actions {
    flex-shrink: 0;
}

.nova-header-bids-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.625rem;
}

.nova-header-account-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.nova-header-account-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    z-index: 1050;
    float: none;
    min-width: 11.5rem;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    padding: 0.35rem 0;
    margin: 0;
    font-size: 0.875rem;
    color: #3c4b5f;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e3e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.nova-header-account-dropdown .dropdown-menu.show {
    display: block;
}

.nova-header-account-dropdown .dropdown-menu > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nova-header-account-dropdown .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.45rem 1rem;
    clear: both;
    font-weight: 400;
    color: #3c4b5f;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
}

.nova-header-account-dropdown .dropdown-item:hover,
.nova-header-account-dropdown .dropdown-item:focus {
    color: #1a202c;
    text-decoration: none;
    background-color: #f4f7fa;
}

.nova-header-account-dropdown .dropdown-divider {
    height: 0;
    margin: 0.35rem 0;
    overflow: hidden;
    border: 0;
    border-top: 1px solid #e3e7eb;
}

.nova-header-account-dropdown .dropdown-header {
    display: block;
    padding: 0.35rem 1rem 0.2rem;
    margin-bottom: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #718096;
    white-space: nowrap;
}

.nova-header-account-dropdown .dropdown-item.active {
    color: var(--primary, #4099de);
    font-weight: 600;
    background-color: #f0f7ff;
}

.nova-admin-view-as-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.nova-admin-view-as-check {
    color: var(--primary, #4099de);
    font-size: 0.8rem;
}

.nova-admin-view-as-reset {
    font-weight: 500;
    color: #718096 !important;
}

.nova-admin-view-as-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: #fff8e6;
    border-bottom: 1px solid #f0d78c;
    color: #744210;
    font-size: 0.875rem;
}

.nova-admin-view-as-banner-link {
    color: #744210;
    font-weight: 600;
    text-decoration: underline;
}

.nova-admin-view-as-banner-link:hover {
    color: #5a3308;
}

.nova-header-logout-item {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.nova-header-bids-pills .badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.nova-header-bids-pills .badge-primary {
    color: #fff;
    background-color: var(--primary, #4099de);
}

/* Shared circular control (widgets, profile, new bid) */
.nova-header-widget-link,
.nova-header-account-dropdown {
    flex: 0 0 auto;
}

.nova-header-widget-link {
    position: relative;
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    line-height: 0;
    text-decoration: none;
}

.nova-header-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: #f4f7fa;
    border: 1px solid #e3e7eb;
    color: #3c4b5f;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.nova-header-widget-link:hover .nova-header-widget {
    background-color: #eef1f4;
    border-color: #d4dce3;
    color: var(--primary, #4099de);
}

.nova-header-widget-count {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    z-index: 2;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.15rem 0.35rem;
    min-width: 1rem;
    text-align: center;
    border-radius: 10rem;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Profile dropdown toggle */
.nova-header-account-toggle.dropdown-toggle::after {
    display: none;
}

.nova-header-account-toggle {
    display: block;
    line-height: 0;
    box-shadow: none;
    cursor: pointer;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.nova-header-account-toggle:focus {
    outline: none;
}

.nova-header-account-avatar-wrap {
    position: relative;
    display: block;
    width: 2.25rem;
    height: 2.25rem;
}

.nova-header-account-widget {
    pointer-events: none;
}

.nova-header-account-dropdown-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e3e7eb;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c4b5f;
    pointer-events: none;
    z-index: 1;
}

.nova-header-account-dropdown-badge-icon {
    display: block;
    margin-top: 1px;
}

/* Account alerts (email verification, classifications) in Nova main content */
#main > .alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#main > .alert::before {
    content: "";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#main > .alert-warning {
    background-color: #fff8e6;
    border: 1px solid #f0d78c;
    color: #5c4a1a;
}

#main > .alert-warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b8860b'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}

#main > .alert a {
    color: #0d2554;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

#main > .alert a:hover {
    color: var(--primary, #4099de);
}

#main > .alert strong {
    font-weight: 700;
}

#main > .alert .system-alert-content {
    flex: 1;
    min-width: 0;
}

#main > .alert .system-alert-content a {
    margin-left: 0.25em;
}

#main > .alert .system-alert-content a.system-alert-dismiss {
    margin-left: 0.5em;
}

/* System alerts inside the Nova login box */
.max-w-login .alert,
form.max-w-login .alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.max-w-login .alert::before,
form.max-w-login .alert::before {
    content: "";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.max-w-login .alert-warning,
form.max-w-login .alert-warning {
    background-color: #fff8e6;
    border: 1px solid #f0d78c;
    color: #5c4a1a;
}

.max-w-login .alert-warning::before,
form.max-w-login .alert-warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b8860b'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}

.max-w-login .alert a,
form.max-w-login .alert a {
    color: #0d2554;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.max-w-login .alert a:hover,
form.max-w-login .alert a:hover {
    color: var(--primary, #4099de);
}

.max-w-login .alert strong,
form.max-w-login .alert strong {
    font-weight: 700;
}

.max-w-login .alert .system-alert-content,
form.max-w-login .alert .system-alert-content {
    flex: 1;
    min-width: 0;
}

.max-w-login .alert .system-alert-content a,
form.max-w-login .alert .system-alert-content a {
    margin-left: 0.25em;
    white-space: normal;
}

.max-w-login .alert.system-alert-compact,
form.max-w-login .alert.system-alert-compact {
    font-size: 0.8125rem;
}

/* Mobile header: logo in normal flow, left-aligned (same breakpoint as .visible-xs) */
@media (max-width: 993px) {
    .nova-masthead-logo-mobile {
        position: static !important;
        left: auto !important;
        width: 100px;
        max-width: 28vw;
    }

    .nova-masthead-logo-mobile img {
        width: 100%;
        height: auto;
    }
}