/* Zain Font Face - All Weights */
@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Zain Font Face - Italic Variants */
@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../fonts/Zain/Zain-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Tajawal Font Face - All Weights */
@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* TenderHeaderMenu (Logged-in header) */
:root {
    --tg-topbar-height: 70px;
    --tg-topbar-offset: var(--tg-topbar-height);
}

@media (max-width: 992px) {
    :root {
        --tg-topbar-height: 84px;
    }
}

@media (max-width: 768px) {
    :root {
        --tg-topbar-height: 96px;
    }
}

.TenderHeaderMenu {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --thm-primary: var(--brand-secondary, #2e8795);
    --thm-primary-dark: var(--brand-secondary-dark, #1d5c67);
    --thm-primary-light: var(--brand-secondary-light, #e0e7ff);
    --thm-secondary: var(--brand-text-muted, #64748b);
    --thm-secondary-light: var(--brand-bg-alt, #f1f5f9);
    --thm-dark: var(--brand-text, #747474);
    --thm-darker: var(--brand-text-strong, #0f172a);
    --thm-light: var(--brand-bg-alt, #f8fafc);
    --thm-lighter: var(--brand-bg, #ffffff);
    --thm-border: var(--brand-border, #e2e8f0);
    --thm-border-dark: var(--brand-border-strong, #cbd5e1);
    --thm-success: var(--brand-success, #98ce44);
    --thm-warning: var(--brand-warning, #f59e0b);
    --thm-danger: var(--brand-danger, #ef4444);
    --thm-info: var(--brand-info, #3b82f6);
    --thm-radius: 0.5rem;
    --thm-radius-sm: 0.25rem;
    --thm-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --thm-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --thm-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --thm-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --thm-progress-blue: var(--brand-secondary, #2e8795);
    --thm-progress-orange: var(--brand-primary, #ff7f27);
}


.TenderHeaderMenu-navbar {
    background-color: var(--thm-lighter);
    box-shadow: var(--thm-shadow);
    position: relative;
    top: auto;
    z-index: 1000;
    width: 100%;
}

.TenderHeaderMenu-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.TenderHeaderMenu-navContainer {
    height: 70px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.TenderHeaderMenu-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.TenderHeaderMenu-leftDivider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, var(--tf-gray), #ff717100);
    border-radius: 1px;
}

.TenderHeaderMenu-menuBtn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e4eff1;
    color: #2e8795;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.TenderHeaderMenu-menuBtn:hover {
    background-color: var(--thm-primary-light);
    color: var(--thm-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.TenderHeaderMenu-menuBtn:focus {
    outline: 2px solid rgba(46, 135, 149, 0.35);
    outline-offset: 2px;
}

.TenderHeaderMenu-menuBtn i {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
}

.TenderHeaderMenu-menuBtn img {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
}

.TenderHeaderMenu-menuBtn.TenderHeaderMenu-menuBtn {
    padding: 6px;
}

.TenderHeaderMenu-logoHidden {
    display: none;
}

.TenderHeaderMenu-logoLink {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.TenderHeaderMenu-logoLocale {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--thm-dark);
    line-height: 0;
    white-space: nowrap;
}

.TenderHeaderMenu-logo {
    height: 32px;
    transition: var(--thm-transition);
}

.TenderHeaderMenu-logo:hover {
    opacity: 0.9;
}

.TenderHeaderMenu-logo img {
    height: 100%;
    width: auto;
    display: block;
}

.TenderHeaderMenu-regionContainer {
    position: relative;
}

.TenderHeaderMenu-regionSelector {
    background: var(--thm-lighter);
    border-radius: 8px;
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid var(--thm-border);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* min-width: 200px;*/
}

.TenderHeaderMenu-regionSelector.is-open {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 1px #0ea5e9;
}

.TenderHeaderMenu-regionIcon {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.TenderHeaderMenu-regionLabel {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--thm-dark);
}

.TenderHeaderMenu-langLabel {
    color: var(--thm-secondary);
    font-size: 0.85rem;
    margin-left: auto;
    padding: 4px 8px;
    background: var(--thm-secondary-light);
    border-radius: 4px;
}

.TenderHeaderMenu-regionArrow {
    margin-left: 4px;
    font-size: 0.77rem;
    color: #94a3b8;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
}

.TenderHeaderMenu-regionSelector.is-open .TenderHeaderMenu-regionArrow {
    transform: rotate(90deg);
    color: #0ea5e9;
}

.TenderHeaderMenu-regionPanel {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    width: 333px;
    background: var(--thm-lighter);
    border-radius: 12px;
    box-shadow: var(--thm-shadow-lg);
    border: 1px solid var(--thm-border);
    overflow: hidden;
    z-index: 1100;
}

.TenderHeaderMenu-regionPanel.is-open {
    display: block;
}

.TenderHeaderMenu-panelHeader {
    padding: 20px;
    border-bottom: 1px solid var(--thm-secondary-light);
    background: var(--thm-light);
}

.TenderHeaderMenu-panelHeader h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--thm-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.TenderHeaderMenu-panelIcon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.TenderHeaderMenu-panelHeader p {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--thm-secondary);
}

.TenderHeaderMenu-panelContent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*    max-height: 360px;*/
}

.TenderHeaderMenu-countriesColumn {
    overflow-y: auto;
    border-right: 1px solid var(--thm-secondary-light);
}

.TenderHeaderMenu-countryGroup {
    padding: 8px 0;
    border-bottom: 1px solid var(--thm-secondary-light);
}

.TenderHeaderMenu-groupHeader {
    padding: 0 12px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--thm-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.TenderHeaderMenu-countryItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f4f5f7;
}

.TenderHeaderMenu-countryItem:hover {
    background: var(--thm-light);
}

.TenderHeaderMenu-countryItem.is-selected {
    background: var(--thm-light);
    font-weight: 600;
}

.TenderHeaderMenu-countryItem.is-selected .TenderHeaderMenu-countryName {
    color: var(--thm-primary);
}

.TenderHeaderMenu-countryFlag {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.TenderHeaderMenu-countryName {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.TenderHeaderMenu-languagesColumn {
    padding: 18px;
    display: flex;
    flex-direction: column;
    background: var(--thm-light);
}

.TenderHeaderMenu-languagesColumn h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--thm-dark);
}

.TenderHeaderMenu-languageOption {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    margin-bottom: 8px;
    border: 1px solid var(--thm-border);
    background: var(--thm-lighter);
    text-decoration: none;
}

.TenderHeaderMenu-languageOption.en {
    color: #0369a1;
}

.TenderHeaderMenu-languageOption.ar {
    color: #065f46;
}

.TenderHeaderMenu-languageOption.is-selected {
    background: var(--thm-primary);
    border-color: var(--thm-primary);
    color: #ffffff;
    font-weight: 600;
}

.TenderHeaderMenu-languageOption.is-selected.en,
.TenderHeaderMenu-languageOption.is-selected.ar {
    color: #ffffff;
}

.TenderHeaderMenu-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-inline-start: auto;
}

.TenderHeaderMenu-actionDivider {
    width: 1px;
    height: 28px;
    background: rgb(241 241 241);
    border-radius: 1px;
}

.TenderHeaderMenu-actionWrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.TenderHeaderMenu-buyerBadge {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 28px;
    height: 28px;
    z-index: 0;
    opacity: 0.95;
    pointer-events: none;
}

.TenderHeaderMenu-buyerBadge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.TenderHeaderMenu-actionBtn {
    background: rgb(228 239 241);
    border: none;
    color: #2e8795;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.TenderHeaderMenu-actionBtn:hover {
    background-color: var(--thm-primary-light);
    color: var(--thm-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.TenderHeaderMenu-actionBtn i {
    font-size: 1.33rem;
    line-height: 1;
}

.TenderHeaderMenu-actionBtn img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.TenderHeaderMenu-newsletterBadge {
    position: absolute;
    top: 2px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, 0.18);
    display: block;
    pointer-events: none;
}

.TenderHeaderMenu-newsletterBadge.is-verified {
    background: #4CAF50;
}

.TenderHeaderMenu-newsletterBadge.is-unverified {
    background: #94a3b8;
}

.TenderHeaderMenu-newsletterBtn {
    background: #e4eff1;
    color: #2e8795;
    position: relative;
}

.TenderHeaderMenu-favoritesBtn {
    background: #ffe1b5;
    color: #f5833d;
}

.TenderHeaderMenu-companyBtn {
    background: #e6f2ed;
}

.TenderHeaderMenu-buyerBtn {
    background: #e6f7f5;
    color: #0f766e;
}

/* Get Started Button (shown when logged out) */
.TenderHeaderMenu .get-started-container {
    display: inline-flex;
}

.TenderHeaderMenu .get-started-inner {
    position: relative;
    display: inline-flex;
}

.TenderHeaderMenu .get-started-btn {
    background: #ff7f27;
    color: #ffffff;
    border: 3px solid #ffffff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 6px 18px rgba(255, 127, 39, 0.28);
    min-width: 140px;
    height: 44px;
    justify-content: center;
    overflow: visible;
    animation: getStartedPulse 5s infinite;
}

@keyframes getStartedPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 127, 39, 0.6), 0 6px 18px rgba(255, 127, 39, 0.28);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 127, 39, 0), 0 6px 18px rgba(255, 127, 39, 0.28);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 127, 39, 0), 0 6px 18px rgba(255, 127, 39, 0.28);
    }
}

.TenderHeaderMenu .get-started-inner:hover .get-started-btn,
.TenderHeaderMenu .get-started-inner:focus-within .get-started-btn {
    animation: none;
    transform: translateY(-2px);
    box-shadow: none;
    background: #98ce44;
}

.TenderHeaderMenu .get-started-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 14px rgba(255, 127, 39, 0.25);
}

.TenderHeaderMenu .get-started-btn .btn-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.TenderHeaderMenu .get-started-inner:hover .btn-icon,
.TenderHeaderMenu .get-started-inner:focus-within .btn-icon {
    transform: translateX(4px);
}

.TenderHeaderMenu .get-started-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.TenderHeaderMenu .get-started-inner:hover .get-started-menu,
.TenderHeaderMenu .get-started-inner:focus-within .get-started-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.TenderHeaderMenu .get-started-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: #333333;
    text-decoration: none;
    border-radius: 9px;
    transition: all 0.2s ease;
    border: 2px solid #e0e0e0;
}

.TenderHeaderMenu .get-started-option+.get-started-option {
    margin-top: 6px;
}

.TenderHeaderMenu .get-started-option:hover {
    background-color: #f8f9fa;
    border-color: #bebebe;
    transform: translateX(4px);
}

.TenderHeaderMenu .get-started-option .option-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 50%;
    flex-shrink: 0;
}

.TenderHeaderMenu .get-started-option .login-icon {
    background: #e8f5e9;
    color: #4CAF50;
}

.TenderHeaderMenu .get-started-option .register-icon {
    background: #e3f2fd;
    color: #2196F3;
}

.TenderHeaderMenu .get-started-option .option-title {
    font-weight: 600;
    font-size: 13px;
}

.TenderHeaderMenu .get-started-option .option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.TenderHeaderMenu .get-started-option .option-desc {
    font-size: 11px;
    color: #6b7280;
}

.TenderHeaderMenu .get-started-inner[dir="rtl"] .get-started-menu {
    left: auto;
    right: 0;
    transform: translateY(-10px);
}

.TenderHeaderMenu .get-started-inner[dir="rtl"]:hover .get-started-menu,
.TenderHeaderMenu .get-started-inner[dir="rtl"]:focus-within .get-started-menu {
    transform: translateY(0);
}

.TenderHeaderMenu .get-started-inner[dir="rtl"] .get-started-btn .btn-icon {
    transform: rotate(180deg);
}

.TenderHeaderMenu .get-started-inner[dir="rtl"]:hover .get-started-btn .btn-icon,
.TenderHeaderMenu .get-started-inner[dir="rtl"]:focus-within .get-started-btn .btn-icon {
    transform: rotate(180deg) translateX(-4px);
}

.TenderHeaderMenu .get-started-inner[dir="rtl"] .get-started-btn {
    flex-direction: row-reverse;
}

.TenderHeaderMenu .get-started-inner[dir="rtl"] .get-started-option {
    flex-direction: row-reverse;
    text-align: right;
}

.TenderHeaderMenu .get-started-inner[dir="rtl"] .get-started-option .option-text {
    align-items: flex-end;
}

.TenderHeaderMenu .get-started-inner[dir="rtl"] .get-started-option:hover {
    transform: translateX(-4px);
}

.TenderHeaderMenu-buyerBtn:hover {
    background: #d7f2ee;
    color: #0f766e;
}

.TenderHeaderMenu-profileDropdown {
    position: relative;
    margin-inline-start: 0.4rem;
}

.TenderHeaderMenu-profileBtn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.55rem 0.35rem;
    border-radius: var(--thm-radius-sm);
    transition: var(--thm-transition);
}

.TenderHeaderMenu-profileBtn:hover {
    background-color: var(--thm-primary-light);
}

.TenderHeaderMenu-profileArrow {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f6f5f4;
    color: var(--thm-secondary);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.TenderHeaderMenu-profileBtn.is-open .TenderHeaderMenu-profileArrow {
    transform: rotate(180deg);
    background: var(--thm-primary-light);
    color: var(--thm-primary);
}

.TenderHeaderMenu-profileAvatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(303deg, #7FB231 0%, #2F7F6A 100%);
    color: var(--thm-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.TenderHeaderMenu-profileAvatarWrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.TenderHeaderMenu-employeeWheat {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background: url("/assets/img/employee-wheat.svg") center/contain no-repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.TenderHeaderMenu-membershipBadge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    pointer-events: none;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
    z-index: 3;
}

.TenderHeaderMenu-membershipBadge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.TenderHeaderMenu-profileNameRow {
    display: flex;
    align-items: center;
    gap: 6px;
}


.TenderHeaderMenu-verifiedBadge {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(135deg, var(--thm-primary) 0%, var(--thm-primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

.TenderHeaderMenu-verifiedBadge i {
    font-size: 10px;
    line-height: 1;
}

.TenderHeaderMenu-profileInfo {
    text-align: left;
    line-height: 16px;
}

.TenderHeaderMenu-profileName {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--thm-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.TenderHeaderMenu-displayName {
    font-weight: 700 !important;
}

.TenderHeaderMenu-profilePlan {
    font-size: 0.85rem;
    color: #656565;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}

.TenderHeaderMenu-profileClientId {
    font-size: 0.85rem;
    color: var(--thm-secondary);
    font-weight: 500;
    FONT-FAMILY: monospace;
    LINE-HEIGHT: 1.2;
}

.TenderHeaderMenu-profileDropdownMenu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 380px;
    background: var(--thm-lighter);
    box-shadow: var(--thm-shadow-lg);
    border-radius: var(--thm-radius);
    padding: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--thm-transition);
    border: 1px solid var(--thm-border);
}

.TenderHeaderMenu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 999;
}

.TenderHeaderMenu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.TenderHeaderMenu-profileDropdownMenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.TenderHeaderMenu-profileHeader {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--thm-border);
    background: linear-gradient(135deg, var(--thm-light) 0%, var(--thm-secondary-light) 100%);
}

.TenderHeaderMenu-profileDetails {
    margin-left: 0.75rem;
    flex: 1;
}

.TenderHeaderMenu-profileDetails h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--thm-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.TenderHeaderMenu-userId {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--thm-secondary-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--thm-secondary);
    border: 1px solid var(--thm-border);
}

.TenderHeaderMenu-membershipInfo {
    padding: 1rem;
    border-bottom: 1px solid var(--thm-border);
    background: #fbfdff;
}

.TenderHeaderMenu-membershipHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.TenderHeaderMenu-membershipPlan {
    flex: 1 1 auto;
    min-width: 0;
}

.TenderHeaderMenu-subDetails {
    white-space: nowrap;
}

.TenderHeaderMenu-subDetails {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 0.7rem;
}

.TenderHeaderMenu-subId {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--thm-dark);
}

.TenderHeaderMenu-subIdLabel {
    font-size: 0.65rem;
    color: var(--thm-secondary);
    font-weight: 500;
}

.TenderHeaderMenu-subDivider {
    color: var(--thm-secondary);
    font-weight: 600;
    font-size: 0.75rem;
}

.TenderHeaderMenu-subIcons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.TenderHeaderMenu-subIcon,
.TenderHeaderMenu-subIcons i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--thm-border);
    color: var(--thm-primary);
    font-size: 0.7rem;
}

.TenderHeaderMenu-subIcons i.is-inactive {
    color: #9ca3af;
    border-color: #e5e7eb;
    background: #f8fafc;
    opacity: 0.75;
}

.TenderHeaderMenu-subIcons i.is-active {
    color: var(--thm-primary);
}

.TenderHeaderMenu-subDetails.is-flag-only .TenderHeaderMenu-subId,
.TenderHeaderMenu-subDetails.is-flag-only .TenderHeaderMenu-subDivider {
    display: none;
}

.TenderHeaderMenu-subDetails.is-flag-only .TenderHeaderMenu-subIcons i {
    display: none;
}

.TenderHeaderMenu-subFlag {
    width: 14px;
    height: 10px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.TenderHeaderMenu-subList {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 6px;
}

.TenderHeaderMenu-planBadge--list {
    border: 1px solid var(--thm-border);
    border-radius: 8px;
    padding: 4px 6px;
    background: #ffffff;
    font-size: 0.65rem;
    gap: 4px;
}

.TenderHeaderMenu-subListInfo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.TenderHeaderMenu-subListDivider {
    color: var(--thm-secondary);
    font-weight: 600;
    font-size: 0.7rem;
}

.TenderHeaderMenu-subListFlag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.TenderHeaderMenu-subListCountry,
.TenderHeaderMenu-subListPlan {
    font-weight: 600;
    color: var(--thm-secondary);
    white-space: nowrap;
}

.TenderHeaderMenu-subListIcon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.TenderHeaderMenu-subListIcons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.TenderHeaderMenu-subListIcons i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--thm-border);
    color: var(--thm-primary);
    font-size: 0.6rem;
}

.TenderHeaderMenu-membershipHeaderList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.TenderHeaderMenu-membershipHeaderList .TenderHeaderMenu-membershipHeader {
    margin-bottom: 0;
}

.TenderHeaderMenu-planBadge {
    color: var(--thm-secondary);

    padding: 4px 10px;

    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.TenderHeaderMenu-membershipIcon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.TenderHeaderMenu-upgradeBtn {
    background: var(--thm-primary);
    color: var(--thm-lighter);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--thm-transition);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.TenderHeaderMenu-upgradeBtn:hover {
    background: var(--thm-primary-dark);
}

.TenderHeaderMenu-membershipStats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.TenderHeaderMenu-statItem {
    background: var(--thm-secondary-light);
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--thm-border);
    min-height: 54px;
}

.TenderHeaderMenu-statLabel {
    font-size: 0.65rem;
    color: var(--thm-secondary);
    margin-bottom: 3px;
    display: block;
}

.TenderHeaderMenu-statValue {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--thm-dark);
}

.TenderHeaderMenu-statValue.days {
    color: var(--thm-success);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.TenderHeaderMenu-statItem.is-exceeded .TenderHeaderMenu-statValue.days {
    color: var(--thm-danger);
}

.TenderHeaderMenu-statItem.is-warning .TenderHeaderMenu-statValue.days {
    color: var(--thm-warning);
}

.TenderHeaderMenu-statItem.is-ok .TenderHeaderMenu-statValue.days {
    color: var(--thm-success);
}

.TenderHeaderMenu-days-label {
    font-size: 0.7rem;
    color: var(--thm-secondary);
}

.TenderHeaderMenu-dualProgress {
    margin-top: 10px;
}

.TenderHeaderMenu-dualProgressItem {
    margin-bottom: 8px;
}

.TenderHeaderMenu-dualProgressHeader {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-bottom: 4px;
    gap: 8px;
    align-items: center;
}

.TenderHeaderMenu-dualProgressLabel {
    color: var(--thm-dark);
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.TenderHeaderMenu-dualProgressPercent {
    color: var(--thm-secondary);
    font-weight: 600;
    min-width: 36px;
    text-align: right;
}

.TenderHeaderMenu-dualProgressPercent.is-exceeded {
    color: var(--thm-danger);
}

.TenderHeaderMenu-dualProgressPercent.is-unlimited {
    color: var(--thm-success);
    font-size: 0.82rem;
    font-weight: 800;
}

.TenderHeaderMenu-dualProgressValue.is-unlimited {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}

.TenderHeaderMenu-dualProgressBar {
    height: 8px;
    background-color: var(--thm-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2px;
    flex: 1;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.TenderHeaderMenu-dualProgressFill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.TenderHeaderMenu-dualProgressFill.tenders {
    background-color: var(--thm-progress-blue);
}

.TenderHeaderMenu-dualProgressFill.buyers {
    background-color: var(--thm-progress-orange);
}

.TenderHeaderMenu-dualProgressFill.is-exceeded {
    background-color: var(--thm-danger);
}

.TenderHeaderMenu-dualProgressMeasure {
    display: flex;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--thm-secondary);
    font-weight: 600;
    gap: 6px;
}

.TenderHeaderMenu-dualProgressLine {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--thm-secondary);
    font-weight: 600;
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--thm-border);
    background: #f9fafb;
}

.TenderHeaderMenu-dualProgressValue.is-exceeded {
    color: var(--thm-danger);
}

.TenderHeaderMenu-dualProgressLine>span {
    min-width: 26px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--thm-dark);
}

.TenderHeaderMenu-dualProgressLine>span:last-child {
    color: var(--thm-secondary);
}

.TenderHeaderMenu-dualProgressLine .TenderHeaderMenu-dualProgressBar {
    margin-bottom: 0;
}

.TenderHeaderMenu-dualProgressHeader+.TenderHeaderMenu-dualProgressLine {
    margin-top: 6px;
}

.TenderHeaderMenu-dualProgressLine+.TenderHeaderMenu-dualProgressHeader {
    margin-top: 6px;
}

.TenderHeaderMenu-dualProgressDivider {
    color: var(--thm-border-dark);
    font-weight: 400;
}

.TenderHeaderMenu-profileLinks {
    list-style: none;
    padding: 0.5rem 0;
}

.TenderHeaderMenu-profileLinks>li+li {
    border-top: 1px solid var(--thm-border);
}

.TenderHeaderMenu-profileLinks li a {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    text-decoration: none;
    color: var(--thm-secondary);
    font-size: 0.8rem;
    transition: var(--thm-transition);
    font-weight: 500;
    gap: 10px;
}

.TenderHeaderMenu-profileText {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.TenderHeaderMenu-profileTitle {
    line-height: 1.15;
}

.TenderHeaderMenu-profileMeta {
    color: #8a8f98;
    font-size: 0.72rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.TenderHeaderMenu-profileCount {
    margin-inline-start: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef2f5;
    color: #4e5969;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.TenderHeaderMenu-profileLinks li a:hover {
    background-color: var(--thm-primary-light);
    color: var(--thm-primary);
}

.TenderHeaderMenu-profileLinks li a i {
    width: 28px;
    height: 28px;
    margin-right: 0;
    color: var(--thm-secondary);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--thm-secondary-light);
}

.TenderHeaderMenu-profileLinks li a:hover i {
    color: var(--thm-primary);
    background: var(--thm-primary-light);
}

.TenderHeaderMenu-logoutItem {
    margin-top: 0.5rem;
    border-top: 1px solid var(--thm-border);
}

.TenderHeaderMenu-logoutLink {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--thm-danger);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
}

.TenderHeaderMenu-logoutLink:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--thm-danger);
}

/* TenderSideMenu */
.TenderSideMenu {
    --tsm-primary: var(--brand-primary, #f5833d);
    --tsm-secondary: var(--brand-secondary, #378b95);
    --tsm-text: var(--brand-text-muted, #707070);
    --tsm-light: var(--brand-bg, #ffffff);
    --tsm-border: var(--brand-border, #bebebe);
    --tsm-hover-bg: rgba(245, 131, 61, 0.05);
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.TenderSideMenu .side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--tsm-light);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--tsm-text);
}

.TenderSideMenu .side-menu.open {
    transform: translateX(0);
}

.TenderSideMenu .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1050;
}

.TenderSideMenu .overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.TenderSideMenu .menu-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--tsm-secondary) 0%, #2a7285 100%);
    color: var(--tsm-light);
}

.TenderSideMenu .menu-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.TenderSideMenu .menu-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.TenderSideMenu .menu-logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.TenderSideMenu .menu-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--tsm-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.TenderSideMenu .menu-logo-text {
    font-weight: 600;
    font-size: 1rem;
}

.TenderSideMenu .close-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: var(--tsm-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.TenderSideMenu .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.TenderSideMenu .since-badge {
    background: var(--tsm-primary);
    color: var(--tsm-light);
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.TenderSideMenu .user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.TenderSideMenu .user-avatar {
    width: 36px;
    height: 36px;
    background: var(--tsm-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.TenderSideMenu .user-avatar-img {
    width: 48px;
    height: 48px;
    display: block;
}

.TenderSideMenu .user-details {
    flex: 1;
}

.TenderSideMenu .user-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.TenderSideMenu .user-role {
    font-size: 0.85rem;
    opacity: 0.9;
}

.TenderSideMenu .menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.TenderSideMenu .menu-section {
    margin-bottom: 1.25rem;
}

.TenderSideMenu .menu-section--cards {
    padding: 0 0.25rem;
}

.TenderSideMenu .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.TenderSideMenu .section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tsm-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.TenderSideMenu .section-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(44, 138, 148, 0.12);
    color: var(--tsm-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.TenderSideMenu .section-icon--logo img {
    width: 16px;
    height: 16px;
    display: block;
}

.TenderSideMenu .section-count {
    background: var(--tsm-primary);
    color: var(--tsm-light);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.TenderSideMenu .tender-card {
    background: var(--tsm-light);
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(55, 139, 149, 0.14);
    transition: all 0.2s ease;
}

.TenderSideMenu .tender-card:hover {
    border-color: rgba(44, 138, 148, 0.45);
    box-shadow: 0 4px 12px rgba(44, 138, 148, 0.1);
    transform: translateY(-2px);
}

.TenderSideMenu .tender-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.TenderSideMenu .tender-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tsm-text);
    line-height: 1.4;
}

.TenderSideMenu .tender-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--tsm-text);
    opacity: 0.85;
}

.TenderSideMenu .tender-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.TenderSideMenu .tender-meta-item i {
    font-size: 0.75rem;
}

.TenderSideMenu .action-btn {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(44, 138, 148, 0.08);
    border: 1px solid rgba(44, 138, 148, 0.2);
    border-radius: 8px;
    color: var(--tsm-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.TenderSideMenu .action-btn:hover {
    background: rgba(44, 138, 148, 0.15);
    border-color: rgba(44, 138, 148, 0.35);
}

.TenderSideMenu .action-btn--accent {
    background: rgba(245, 131, 61, 0.15);
    border-color: rgba(245, 131, 61, 0.35);
    color: var(--tsm-primary);
}

.TenderSideMenu .action-btn--accent:hover {
    background: rgba(245, 131, 61, 0.22);
    border-color: rgba(245, 131, 61, 0.5);
}

.TenderSideMenu .menu-section {
    margin-bottom: 1.25rem;
}

.TenderSideMenu .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.TenderSideMenu .section-title {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--tsm-secondary);
    letter-spacing: 0.5px;
}

.TenderSideMenu .section-count {
    background: var(--tsm-primary);
    color: var(--tsm-light);
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.TenderSideMenu .menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.TenderSideMenu .menu-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--tsm-text);
    transition: all 0.2s ease;
    font-size: 0.85rem;
    position: relative;
}

.TenderSideMenu .menu-item:hover {
    background: var(--tsm-hover-bg);
    color: var(--tsm-primary);
}

.TenderSideMenu .menu-item.active {
    background: rgba(55, 139, 149, 0.1);
    color: var(--tsm-secondary);
    font-weight: 500;
}

.TenderSideMenu .menu-item i {
    width: 20px;
    font-size: 0.9rem;
    margin-inline-end: 0.75rem;
    color: var(--tsm-secondary);
}

.TenderSideMenu .menu-item:hover i {
    color: var(--tsm-primary);
}

.TenderSideMenu .menu-item-compact {
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

.TenderSideMenu .item-badge {
    margin-inline-start: auto;
    background: var(--tsm-primary);
    color: var(--tsm-light);
    font-size: 0.75rem;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 600;
}

.TenderSideMenu .item-hot {
    position: absolute;
    inset-inline-end: 8px;
    top: 2px;
    color: #ff4757;
    font-size: 0.7rem;
}

.TenderSideMenu .compact-card {
    background: rgba(55, 139, 149, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(55, 139, 149, 0.1);
}

.TenderSideMenu .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.TenderSideMenu .card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--tsm-secondary);
}

.TenderSideMenu .card-status {
    background: rgba(55, 139, 149, 0.15);
    color: var(--tsm-secondary);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.TenderSideMenu .card-content {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.TenderSideMenu .buyer-portal-content {
    align-items: flex-start;
    gap: 0.75rem;
}

.TenderSideMenu .buyer-portal-logo img {
    width: 36px;
    height: 36px;
    display: block;
}

.TenderSideMenu .buyer-portal-text {
    line-height: 1.4;
}

.TenderSideMenu .buyer-portal-btn {
    background: rgba(55, 139, 149, 0.1);
    border: 1px solid rgba(55, 139, 149, 0.2);
    color: var(--tsm-secondary);
    font-weight: 600;
}

.TenderSideMenu .buyer-portal-btn:hover {
    background: rgba(55, 139, 149, 0.15);
    color: var(--tsm-secondary);
}

.TenderSideMenu .quick-stats {
    display: flex;
    gap: 0.75rem;
}

.TenderSideMenu .stat-item {
    flex: 1;
    text-align: center;
    padding: 0.55rem;
    background: var(--tsm-light);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.TenderSideMenu .stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tsm-secondary);
    margin-bottom: 2px;
}

.TenderSideMenu .stat-label {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.55);
}

.TenderSideMenu .app-links-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.TenderSideMenu .app-link-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--tsm-light);
    border: 1px solid var(--tsm-border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--tsm-text);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.TenderSideMenu .app-link-compact:hover {
    border-color: var(--tsm-primary);
    background: var(--tsm-hover-bg);
}

.TenderSideMenu .app-link-compact i {
    font-size: 0.9rem;
}

.TenderSideMenu .website-link-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(55, 139, 149, 0.1);
    border: 1px solid rgba(55, 139, 149, 0.2);
    border-radius: 6px;
    text-decoration: none;
    color: var(--tsm-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.TenderSideMenu .website-link-compact:hover {
    background: rgba(55, 139, 149, 0.15);
}

.TenderSideMenu .contact-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(190, 190, 190, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(190, 190, 190, 0.1);
    font-size: 0.8rem;
}

.TenderSideMenu .contact-item-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.TenderSideMenu .contact-item-compact i {
    color: var(--tsm-secondary);
    width: 16px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .TenderSideMenu .side-menu {
        width: 90vw;
        max-width: 360px;
        left: -90vw;
    }

    .TenderSideMenu .app-links-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {

    .TenderSideMenu,
    .TenderSideMenu .side-menu,
    .TenderSideMenu .side-menu.open,
    .TenderSideMenu .overlay {
        display: none !important;
    }

    .TenderSideMenu .side-menu {
        left: -100vw;
    }

    .TenderHeaderMenu-navContainer {
        height: 56px;
        display: grid;
        /* col 1: profile | col 2: region | col 3: logo (1fr) | col 4: notify | col 5: menu */
        grid-template-columns: auto auto 1fr auto auto;
        align-items: center;
        column-gap: 0.5rem;
        row-gap: 0;
        padding: 0.35rem 0;
        direction: ltr;
    }

    .TenderHeaderMenu-left,
    .TenderHeaderMenu-actions {
        display: contents;
    }

    .TenderHeaderMenu-leftDivider,
    .TenderHeaderMenu-actionDivider,
    .TenderHeaderMenu-actionWrapper,
    .TenderHeaderMenu-newsletterBtn,
    .TenderHeaderMenu .get-started-container {
        display: none;
    }

    .TenderHeaderMenu-logoLocale {
        display: none;
    }

    .TenderHeaderMenu-regionLabel,
    .TenderHeaderMenu-langLabel,
    .TenderHeaderMenu-regionArrow {
        display: none;
    }

    .TenderHeaderMenu-regionSelector {
        padding: 0;
        width: 36px;
        min-width: 36px;
        max-width: 36px;
        height: 36px;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        position: relative;
        flex: 0 0 36px;
    }

    .TenderHeaderMenu-regionContainer {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }

    .TenderHeaderMenu-regionIcon {
        width: 22px;
        height: 22px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }

    .TenderHeaderMenu-actionBtn {
        display: none;
    }

    .TenderHeaderMenu-actionBtn.TenderHeaderMenu-menuBtn,
    #menuIcon {
        display: inline-flex;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        grid-column: 5;
        grid-row: 1;
        justify-self: end;
    }

    /* Mobile notify button: occupies the slot just before the menu icon. When
       not active (data-has-notif="false") the auto column collapses to 0. */
    .tg-mobile-notify-btn {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    .TenderHeaderMenu-profileInfo,
    .TenderHeaderMenu-profileArrow,
    .TenderHeaderMenu-membershipBadge,
    .TenderHeaderMenu-employeeWheat {
        display: none;
    }

    .TenderHeaderMenu-profileBtn {
        padding: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 0 0 36px;
    }

    .TenderHeaderMenu-profileAvatarWrap {
        margin: 0;
        margin-left: 0;
        left: 0;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
    }

    .TenderHeaderMenu-profileDropdown {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .TenderHeaderMenu-profileAvatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .TenderHeaderMenu-logoLink {
        grid-column: 3;
        grid-row: 1;
        justify-self: center;
    }

    .TenderHeaderMenu-regionSelector,
    .TenderHeaderMenu-profileBtn {
        position: relative;
    }

    .TenderHeaderMenu-regionSelector::after,
    .TenderHeaderMenu-profileBtn::after {
        content: "\f078"; /* Font Awesome chevron-down */
        font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif;
        font-weight: 900;
        position: absolute;
        bottom: -4px;
        inset-inline-end: -4px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ffffff;
        border: 1.5px solid var(--thm-primary);
        color: var(--thm-primary);
        font-size: 8px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        pointer-events: none;
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .TenderHeaderMenu-regionSelector[aria-expanded="true"]::after,
    .TenderHeaderMenu-profileBtn[aria-expanded="true"]::after {
        transform: rotate(180deg);
        background: var(--thm-primary);
        color: #ffffff;
    }

    .TenderHeaderMenu-profileDropdownMenu {
        width: 320px;
    }

    .TenderHeaderMenu-profileDropdownMenu,
    .TenderHeaderMenu-regionPanel {
        position: fixed;
        top: var(--tg-topbar-height);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 12px 12px;
        max-height: calc(100vh - var(--tg-topbar-height));
        overflow-y: auto;
    }

    .TenderCompactNav {
        position: fixed;
        top: var(--tg-topbar-height);
        left: 0;
        right: 0;
        z-index: 950;
    }

    .TenderCompactNav .compact-navbar {
        height: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .TenderCompactNav .nav-container {
        min-height: 0;
        height: 0;
        padding: 0;
    }

    .TenderCompactNav .mobile-toggle {
        display: none;
    }

    [dir="rtl"] .TenderCompactNav .nav-main {
        left: auto;
        right: 0;
    }

    .support-widget,
    #scrollToTopBtn,
    .userway,
    #userway-widget,
    .userway-accessibility-button,
    .uwy-userway,
    .userway_p1,
    .uai,
    .uwy {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .TenderHeaderMenu-langLabel {
        display: none;
    }

    .TenderHeaderMenu-regionSelector {
        padding: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        justify-content: center;
    }

    .TenderHeaderMenu-actionBtn {
        width: 40px;
        height: 40px;
    }

    .TenderHeaderMenu-regionPanel {
        width: 340px;
        left: -60px;
    }

    .TenderHeaderMenu-panelContent {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .TenderHeaderMenu-container {
        padding: 0 0.75rem;
    }

    .TenderHeaderMenu-navContainer {
        gap: 0.75rem;
    }

    .TenderHeaderMenu-logo {
        height: 28px;
    }

    .TenderHeaderMenu-logoLocale {
        font-size: 0.6rem;
    }

    .TenderHeaderMenu-regionSelector {
        width: 100%;
        /*  justify-content: space-between;*/
    }

    .TenderHeaderMenu-left,
    .TenderHeaderMenu-actions {
        justify-content: center;
    }

    .TenderHeaderMenu-regionPanel {
        width: min(92vw, 320px);
        inset-inline-start: 0;
    }
}

[dir="rtl"] .TenderHeaderMenu-profileDetails {
    margin-left: 0;
    margin-right: 0.75rem;
}

[dir="rtl"] .TenderHeaderMenu-profileLinks li a i {
    margin-right: 0;
    margin-left: 0;
}

/* TenderCompactNav */
.TenderCompactNav {
    --tcn-primary: var(--brand-secondary, #2c8a94);
    --tcn-secondary: var(--brand-primary, #f5833d);
    --tcn-light: var(--brand-bg, #ffffff);
    --tcn-light-bg: var(--brand-bg-alt, #f8f9fa);
    --tcn-border: var(--brand-border, #e0e0e0);
    --tcn-text: var(--brand-text, #333333);
    --tcn-text-light: var(--brand-text-muted, #666666);
    --tcn-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.TenderCompactNav .compact-navbar {
    background: var(--tcn-light);
    border-bottom: 1px solid var(--tcn-border);
    padding: 0;
    position: relative;
    top: auto;
    z-index: 900;
}

.TenderCompactNav.is-fixed .compact-navbar {
    position: fixed;
    top: var(--tg-topbar-offset, 0px);
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: var(--tcn-shadow);
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.2s ease, opacity 0.2s ease;
    will-change: transform, opacity;
}

.TenderCompactNav.is-fixed.is-fixed-visible .compact-navbar {
    opacity: 1;
    transform: translateY(0);
}

.TenderCompactNav .tcn-fixed-logo {
    display: none;
    align-items: center;
    height: 44px;
    padding: 0 8px;
    margin-right: 8px;
    text-decoration: none;
}

.TenderCompactNav .tcn-fixed-logo img {
    height: 24px;
    width: auto;
    display: block;
}

.TenderCompactNav.is-fixed .tcn-fixed-logo {
    display: inline-flex;
    height: 56px;
}

.TenderCompactNav.is-fixed .tcn-fixed-logo img {
    height: 28px;
}

.TenderCompactNav.is-fixed .compact-navbar {
    height: 56px;
}

.TenderCompactNav.is-fixed .nav-container {
    min-height: 56px;
}

.TenderCompactNav.is-fixed .nav-link {
    height: 56px;
    padding: 0 12px;
    font-size: 13px;
}

.TenderCompactNav.is-fixed .nav-link-title {
    font-size: 13px;
}

.TenderCompactNav.is-fixed .nav-link-text {
    line-height: 1;
}

.TenderCompactNav.is-fixed .nav-link-kicker {
    display: none;
}

.TenderCompactNav.is-fixed .nav-link-icon {
    width: 20px;
    height: 20px;
}

[dir="rtl"] .TenderCompactNav .tcn-fixed-logo {
    margin-right: 0;
    margin-left: 8px;
}

.TenderCompactNav.is-fixed .nav-link i.fa-solid,
.TenderCompactNav.is-fixed .nav-link i.fas,
.TenderCompactNav.is-fixed .nav-link i.far {
    margin-top: 2px;
}

.TenderCompactNav.is-fixed .cta {
    padding: 6px 10px;
    gap: 6px;
}

.TenderCompactNav.is-fixed .cta::before {
    width: 30px;
    height: 30px;
}

.TenderCompactNav.is-fixed .cta-text {
    font-size: 12px;
    letter-spacing: 0.02em;
}

.TenderCompactNav.is-fixed .cta-plus {
    font-size: 16px;
}


.TenderCompactNav .nav-container {
    display: flex;
    align-items: stretch;
    min-height: 64px;
    gap: 0;
    position: relative;
}

.TenderCompactNav .mobile-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--tcn-primary);
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: xx-large
}

.TenderCompactNav .nav-main {
    flex: 1;
    display: flex;
    align-items: stretch;
    /*    padding-left: 63px;
    padding-right: 63px;*/
}

.TenderCompactNav .nav-item {
    position: relative;
}

.TenderCompactNav .nav-link {
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 700;
    color: #2e8795;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    transition: all 0.2s;
}

.TenderCompactNav .nav-link:hover,
.TenderCompactNav .nav-link.active {
    background: rgba(49, 136, 150, 0.05);
    color: var(--tcn-primary);
}

.TenderCompactNav .nav-link.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tcn-secondary);
    border-radius: 3px 3px 0 0;
}

.TenderCompactNav .nav-link .nav-link-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.TenderCompactNav .nav-link-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    align-items: flex-start;
}

.TenderCompactNav .nav-link-kicker {
    font-size: 9px;
    font-weight: 5500;
    color: #bebebe;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.TenderCompactNav .nav-link-title {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    line-height: 1.1;
}

.TenderCompactNav .nav-link i.fa-solid,
.TenderCompactNav .nav-link i.fas,
.TenderCompactNav .nav-link i.far {
    font-size: 10px;
    width: 16px;
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 10px;
    color: #858585;
}

.TenderCompactNav .nav-link .chevron {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.TenderCompactNav .nav-item.active .nav-link .chevron {
    transform: rotate(180deg);
}

.TenderCompactNav .compact-dropdown {
    position: absolute;
    background: var(--tcn-light);
    border: 1px solid var(--tcn-border);
    border-radius: 0 0 6px 6px;
    box-shadow: var(--tcn-shadow);
    min-width: 320px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    top: 100%;
    left: 0;
    margin-top: -1px;
}

.TenderCompactNav .compact-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.TenderCompactNav .dropdown-header {
    padding: 12px 16px;
    font-weight: 600;
    color: var(--tcn-primary);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(49, 136, 150, 0.05);
    border-bottom: 1px solid var(--tcn-border);
}

.TenderCompactNav .dropdown-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.TenderCompactNav .dropdown-header-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.TenderCompactNav .dropdown-header-since {
    width: 72px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin-inline-start: auto;
}

.TenderCompactNav .dropdown-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.TenderCompactNav .dropdown-header-title {
    font-weight: 500;
    color: #656565;
    font-size: 14px;
    line-height: 1.2;
}

.TenderCompactNav .dropdown-header-desc {
    font-weight: 400;
    color: var(--tcn-text-light);
    font-size: 11px;
    line-height: 1.3;
}

.TenderCompactNav .dropdown-close {
    background: none;
    border: none;
    color: #2e8795;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s;
}

.TenderCompactNav .dropdown-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--tcn-text);
    transform: rotate(90deg);
}

.TenderCompactNav .dropdown-section {
    padding: 10px 0;
}

.TenderCompactNav .dropdown-section .section-header {


    text-transform: uppercase;
    letter-spacing: 0.5px;

    padding: 0 16px 6px;
    font-size: 9px;
    font-weight: 500;
    color: #bebebe;
    letter-spacing: 0.4px;
}

/* Horizontal layout for search dropdown */
.TenderCompactNav #searchDropdown {
    min-width: 600px;
    max-width: 800px;
}

.TenderCompactNav #searchDropdown .dropdown-header {
    border-bottom: 1px solid var(--tcn-border);
}

.TenderCompactNav #searchDropdown .dropdown-sections-container {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0;
}

.TenderCompactNav #searchDropdown .dropdown-section {
    flex: 1;
    padding: 16px;
    border-bottom: none;
    border-right: 1px solid #e0e0e0;
    position: relative;
}

.TenderCompactNav #searchDropdown .dropdown-section:last-child {
    border-right: none;
}

.TenderCompactNav #searchDropdown .dropdown-section-browse {
    display: flex;
    flex-direction: column;
}

.TenderCompactNav #searchDropdown .dropdown-section-browse .dropdown-section-since {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.TenderCompactNav #searchDropdown .dropdown-section-browse .dropdown-header-since {
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.TenderCompactNav #searchDropdown .dropdown-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: #f1f1f1;
}

[dir="rtl"] .TenderCompactNav #searchDropdown .dropdown-section {
    border-right: none;
    border-left: 1px solid #e0e0e0;
}

[dir="rtl"] .TenderCompactNav #searchDropdown .dropdown-section:not(:last-child)::after {
    right: auto;
    left: 0;
}

[dir="rtl"] .TenderCompactNav #searchDropdown .dropdown-section:last-child {
    border-left: none;
}

.TenderCompactNav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: #656565;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    border-bottom: 1px solid #f1f1f1;
}

/* "New" label for dropdown items */
.TenderCompactNav .dropdown-item-new {
    display: inline-block;
    background: var(--tcn-secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-inline-start: auto;
    margin-inline-end: 0;
}

[dir="rtl"] .TenderCompactNav .dropdown-item-new {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

/* Dropdown item icons */
.TenderCompactNav .dropdown-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    color: var(--tcn-primary);
}

/* Wrapper for dropdown item with video button */
.TenderCompactNav .dropdown-item-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.TenderCompactNav .dropdown-item-wrapper .dropdown-item {
    flex: 1;
}

/* Video icon button inside dropdown item wrapper */
.TenderCompactNav .dropdown-item-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(44, 138, 148, 0.1);
    color: #2c8a94;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 14px;
    order: 0;
}

.TenderCompactNav .dropdown-item-wrapper .dropdown-item {
    order: 1;
}

.TenderCompactNav .dropdown-item-video-btn:hover {
    background: rgba(44, 138, 148, 0.2);
    color: #1d5c67;
    transform: scale(1.1);
}

/* RTL: Video button on visual left - no special handling needed as HTML order is swapped */

.TenderCompactNav .dropdown-item:hover {
    background: rgba(49, 136, 150, 0.08);
    color: var(--tcn-primary);
    padding-left: 20px;
}

.TenderCompactNav .dropdown-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--tcn-secondary);
    animation: slideInLeft 0.2s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.TenderCompactNav .count-badge {
    margin-left: auto;
    background: var(--tcn-secondary);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.TenderCompactNav .nav-link .count-badge {
    margin-left: 8px;
    margin-right: 0;
}

.TenderCompactNav .dropdown-apps {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    justify-content: center;
}

.TenderCompactNav .dropdown-app-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.TenderCompactNav .dropdown-app-link:hover {
    transform: scale(1.05);
}

/* App section at bottom and centered */
.TenderCompactNav .dropdown-section-apps {
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.TenderCompactNav #subscriptionsDropdown.show {
    display: flex;
    flex-direction: column;
}

.TenderCompactNav #subscriptionsDropdown .dropdown-section:not(.dropdown-section-apps) {
    flex: 0 0 auto;
}

.TenderCompactNav #subscriptionsDropdown .dropdown-section-apps {
    margin-top: auto;
}

.TenderCompactNav #buyersDropdown.show {
    display: flex;
    flex-direction: column;
}

.TenderCompactNav #buyersDropdown .dropdown-section:not(.dropdown-section-apps) {
    flex: 0 0 auto;
}

.TenderCompactNav #buyersDropdown .dropdown-section-apps {
    margin-top: auto;
}

.TenderCompactNav .dropdown-app-img {
    height: 32px;
    width: auto;
    display: block;
}

.TenderCompactNav .app-links-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.TenderCompactNav .app-link-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid var(--tcn-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--tcn-text);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.TenderCompactNav .app-link-compact:hover {
    border-color: var(--tcn-secondary);
    background: rgba(245, 131, 61, 0.08);
}

.TenderCompactNav .app-link-compact i {
    font-size: 0.95rem;
}

.TenderCompactNav .quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
    position: absolute;
    right: 0;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    height: 55px;
    margin: 0;
    z-index: 2;
}

.TenderCompactNav .btn-compact {
    padding: 6px 12px;
    border-radius: 3px;
    border: 1px solid var(--tcn-border);
    background: var(--tcn-light-bg);
    color: var(--tcn-primary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.TenderCompactNav .btn-compact:hover {
    background: var(--tcn-light-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.TenderCompactNav .tender-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.TenderCompactNav .cta {
    position: relative;
    margin: auto;
    padding: 10px 16px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.TenderCompactNav .cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 20px;
    background: #e4eff1;
    width: 42px;
    height: 42px;
    transition: all 0.3s ease;
}

.TenderCompactNav .cta-text {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #888;
    z-index: 1;
}

.TenderCompactNav .cta-plus {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    color: #888;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    z-index: 1;
}

.TenderCompactNav .cta:hover::before {
    width: 100%;
    background: #e4eff1;
}

.TenderCompactNav .cta:hover .cta-plus {
    transform: translateX(0);
}

.TenderCompactNav .cta:active {
    transform: scale(0.98);
}

.TenderCompactNav .tender-button {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 4px;
    padding: 0 4px;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    box-shadow: 2px 2px 0 #2e8795;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 44px;
    width: 44px;
    cursor: pointer;
    background: rgb(228 239 241);
    white-space: nowrap;
    justify-content: center;
}

.TenderCompactNav .tender-button:hover {
    background: rgb(241 241 241);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #f5833d;
    width: 150px;
    justify-content: flex-start;
}

.TenderCompactNav .tender-button:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #2e8795;
}

.TenderCompactNav .tender-button::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -150%;
    width: 300%;
    height: 300%;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;

}

.TenderCompactNav .tender-button:hover::before {
    transform: translateX(-50%) scale(1);
}

.TenderCompactNav .tender-button-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #2e8795;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    flex-shrink: 0;
    z-index: 2;
    margin: 0;
}

.TenderCompactNav .tender-button-image img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: all 0.6s ease-in-out;
    filter: brightness(0) invert(1);
}

@keyframes tenderButtonSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.TenderCompactNav .tender-button:hover .tender-button-image {
    animation: tenderButtonSpin 5s linear infinite;
    width: 30px;
    height: 30px;

}

.TenderCompactNav .tender-button:hover .tender-button-image img {
    transform: scale(0.9);
}

.TenderCompactNav .tender-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: left;
    opacity: 0;
    transform: translateX(-20px);
    z-index: 2;
    overflow: hidden;
    max-width: 0;
}

.TenderCompactNav .tender-button:hover .tender-button-text {
    opacity: 1;
    transform: translateX(0);
    max-width: 110px;
    margin-left: 4px;
    line-height: 1;
}

.TenderCompactNav .tender-button-text span:first-child {
    font-size: 12px;
    font-weight: 500;
    color: #656565;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.TenderCompactNav .tender-button-text span:last-child {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #2e8795;
}

.TenderCompactNav .arrow-indicator {
    position: absolute;
    right: 8px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.4s ease;
    color: #2e8795;
    font-size: 12px;
    z-index: 2;
}

.TenderCompactNav .tender-button:hover .arrow-indicator {
    opacity: 1;
    transform: translateX(0);
}

.TenderCompactNav .quick-actions {
    height: auto;
    overflow: visible;
}



.TenderCompactNav .btn-primary-compact {
    background: var(--tcn-secondary);
    color: #fff;
    border-color: var(--tcn-secondary);
}

.TenderCompactNav .btn-primary-compact:hover {
    background: #ff7a24;
    border-color: #ff7a24;
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 992px) {
    .TenderCompactNav .mobile-toggle {
        display: inline-flex;
        z-index: 1001;
        position: relative;
    }

    /* Off-canvas overlay/backdrop */
    .TenderCompactNav .nav-overlay {
        position: fixed;
        top: var(--tg-topbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 900;
        pointer-events: none;
    }

    body.tcn-nav-open .TenderCompactNav .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Mobile dropdown menu under toggle */
    .TenderCompactNav .nav-main {
        position: absolute;
        top: 100%;
        left: 0;
        width: 90vw;
        max-width: 90vw;
        height: auto;
        max-height: calc(100vh - var(--tg-topbar-height) - 16px);
        margin-top: 8px;
        background: var(--tcn-light);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
        z-index: 1100;
        display: flex;
        flex-direction: column;
        transform: translateY(-12px);
        transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 4px 0;
        border: 1px solid var(--tcn-border);
        border-radius: 12px;
    }

    .TenderCompactNav .nav-main.is-open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
    }

    /* RTL support for dropdown positioning */
    [dir="rtl"] .TenderCompactNav .nav-main {
        left: auto;
        right: 0;
    }

    .TenderCompactNav .quick-actions {
        display: none;
    }

    .TenderCompactNav .nav-link {
        border-right: none;
        border-bottom: 1px solid var(--tcn-border);
        padding: 12px 16px;
        width: 100%;
        justify-content: flex-start;
        height: auto;
        white-space: normal;
    }

    .TenderCompactNav .nav-link-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .TenderCompactNav .nav-link-title,
    .TenderCompactNav .nav-link-kicker {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .TenderCompactNav .nav-link.active::after {
        display: none;
    }

    .TenderCompactNav .compact-dropdown {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--tcn-border);
        min-width: 100%;
        width: 100%;
    }

    .TenderCompactNav .dropdown-close {
        display: none;
    }

    .TenderCompactNav .compact-dropdown.show {
        display: block;
    }
}

@media (max-width: 992px) {
    body.tcn-nav-open {
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        overscroll-behavior: contain;
    }

    .TenderCompactNav .nav-main {
        max-height: calc(100vh - var(--tg-topbar-height) - 16px);
        overflow-y: auto;
    }

    .TenderCompactNav .dropdown-header-content {
        flex-wrap: wrap;
    }

    .TenderCompactNav #searchDropdown {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .TenderCompactNav #searchDropdown .dropdown-sections-container {
        flex-direction: column;
    }

    .TenderCompactNav #searchDropdown .dropdown-section {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--tcn-border);
    }

    .TenderCompactNav #searchDropdown .dropdown-section:last-child {
        border-bottom: none;
    }

    .TenderCompactNav #searchDropdown .dropdown-section:not(:last-child)::after {
        display: none;
    }
}

[dir="rtl"] .TenderCompactNav .nav-link {
    border-right: none;
    border-left: 1px solid var(--tcn-border);
}

[dir="rtl"] .TenderCompactNav .nav-link .chevron {
    margin-left: 0;
    margin-right: 4px;
}

[dir="rtl"] .TenderCompactNav .compact-dropdown {
    left: auto;
    right: 0;
}

[dir="rtl"] .TenderCompactNav .nav-link,
[dir="rtl"] .TenderCompactNav .dropdown-header,
[dir="rtl"] .TenderCompactNav .dropdown-section .section-header,
[dir="rtl"] .TenderCompactNav .dropdown-item {
    text-align: right;
}

[dir="rtl"] .TenderCompactNav .nav-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .nav-link-text {
    align-items: flex-end;
    text-align: right;
}

[dir="rtl"] .TenderCompactNav .nav-link .nav-link-icon {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .TenderCompactNav .nav-link i.fa-solid,
[dir="rtl"] .TenderCompactNav .nav-link i.fas,
[dir="rtl"] .TenderCompactNav .nav-link i.far {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .TenderCompactNav .nav-link i:first-child {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .TenderCompactNav .dropdown-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .dropdown-item:hover {
    padding-left: 16px;
    padding-right: 20px;
}

[dir="rtl"] .TenderCompactNav .dropdown-item:hover::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .TenderCompactNav .dropdown-item i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .TenderCompactNav .dropdown-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .dropdown-header span {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .dropdown-header span i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .TenderCompactNav .count-badge {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .TenderCompactNav .nav-link .count-badge {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .TenderCompactNav .dropdown-header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .dropdown-header-text {
    text-align: right;
}

[dir="rtl"] .TenderCompactNav .dropdown-apps {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .quick-actions {
    padding-left: 0;
    padding-right: 0;
}

[dir="rtl"] .TenderCompactNav .btn-compact {
    flex-direction: row-reverse;
}

[dir="rtl"] .TenderCompactNav .btn-compact i {
    margin-left: 6px;
    margin-right: 0;
}

[dir="rtl"] .TenderCompactNav .mobile-toggle {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 992px) {
    .TenderCompactNav {
        position: fixed !important;
        top: var(--tg-topbar-height) !important;
        left: 0;
        right: 0;
        z-index: 950;
    }

    .TenderCompactNav .compact-navbar {
        height: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .TenderCompactNav .nav-container {
        min-height: 0 !important;
        height: 0 !important;
        padding: 0 !important;
    }

    .TenderCompactNav .mobile-toggle {
        display: none !important;
    }
}

/* Make verify banner dismissible globally */
.TenderHeaderMenu-verifyBanner {
    position: relative;
}

.verify-close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.verify-close-btn:hover {
    opacity: 1;
}

/* Nav Item Weights */
.tender-button-container .cta-text {
    font-weight: 600 !important;
}
.TenderHeaderMenu-profilePlan {
    font-size: 0.95rem !important;
}