/* Shared Best IT credit bar — public menu + clients page */

.footer,
.credit-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    box-sizing: border-box;
}

.credit-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 36px;
    padding: 0;
    direction: ltr;
    overflow: visible;
    background: color-mix(in srgb, var(--surface, #fff) 92%, var(--ink, #000));
    color: var(--ink, #1c1917);
    border-top: 1px solid color-mix(in srgb, var(--ink, #000) 8%, transparent);
    box-shadow: 0 -4px 16px color-mix(in srgb, var(--ink, #000) 8%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
}

.credit-footer-brand,
.credit-footer-markets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 100%;
    padding: 2px 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 160ms ease, opacity 160ms ease, color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.credit-footer-brand:hover,
.credit-footer-brand:focus-visible {
    background: color-mix(in srgb, var(--surface, #fff) 86%, #25D366);
    outline: none;
}

.credit-footer-brand:active {
    transform: translateY(1px);
}

.credit-footer-markets {
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.82;
    white-space: nowrap;
}

.credit-footer-markets i {
    font-size: 0.95rem;
    opacity: 0.9;
}

.credit-footer-markets:hover,
.credit-footer-markets:focus-visible {
    opacity: 1;
    background: color-mix(in srgb, var(--surface, #fff) 88%, var(--ink, #000));
    outline: none;
}

.credit-footer-markets:focus-visible,
.credit-footer-brand:focus-visible {
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink, #000) 28%, transparent);
}

.credit-footer-divider {
    width: 1px;
    height: 16px;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--ink, #000) 14%, transparent);
}

.credit-footer-logo {
    width: 56px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px color-mix(in srgb, var(--ink, #000) 14%, transparent));
}

/* Keep floating actions above the credit bar */
body:has(.credit-footer) #backToTop {
    bottom: 44px;
}

body:has(.credit-footer) #menu-page,
body:has(.credit-footer) .focus-menu-container,
body:has(.credit-footer) .grid-menu-container {
    padding-bottom: 44px;
}

body:has(.credit-footer) #language-page {
    padding-bottom: 110px;
}

body:has(.credit-footer) .clients-page-main {
    padding-bottom: 72px;
}
