/* Top bar refinement — override without touching theme files */

.site-header__topbar.topbar:first-child {
    background: #f0f2f5;
    border-bottom: 1px solid #e2e6ea;
    height: 36px;
}
.site-header__topbar.topbar:first-child .topbar__container {
    padding-left: 12px;
    padding-right: 12px;
}
.site-header__topbar.topbar:first-child .topbar__row {
    gap: 0;
    justify-content: flex-end;
}
.site-header__topbar.topbar:first-child .topbar__item {
    margin-left: 10px;
}
.site-header__topbar.topbar:first-child .topbar__spring {
    flex: 1 1 auto;
}

/* Company name */
.site-header__topbar.topbar:first-child .currency-top-spn {
    color: #2d3748;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
}
.site-header__topbar.topbar:first-child .topbar-contact-code {
    color: #718096;
    font-size: 11px;
    font-weight: 400;
}

/* Service name label */
.site-header__topbar.topbar:first-child .serviceNameLabel {
    color: #4a5568;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    margin-top: 0;
}

/* Dropdown buttons */
.site-header__topbar.topbar:first-child .topbar-dropdown__btn {
    color: #4a5568;
    font-size: 11px;
    padding: 2px 20px 2px 8px;
}
.site-header__topbar.topbar:first-child .topbar-dropdown__btn:hover,
.site-header__topbar.topbar:first-child .topbar-dropdown__btn:focus,
.site-header__topbar.topbar:first-child .topbar-dropdown--opened .topbar-dropdown__btn {
    background: #e2e6ea;
    color: #2d3748;
}

/* CRM button */
.site-header__topbar.topbar:first-child a.btn.btn-warning {
    background: #fef3e2;
    border: 1px solid #f0d9a8;
    color: #8a5a0c;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.site-header__topbar.topbar:first-child a.btn.btn-warning:hover {
    background: #fde9c8;
    border-color: #e6c580;
    color: #6d4609;
}

/* Simple countdown timer */
.site-header__topbar.topbar:first-child .serviceCountDown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.simple-countdown {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #edf2f7, #e2e8f0);
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    padding: 2px 8px;
    gap: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.sc-digit {
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #2d3748;
    letter-spacing: .5px;
    min-width: 16px;
    text-align: center;
}
.sc-sep {
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #a0aec0;
    margin: 0 1px;
}

/* Countdown urgent state — under 30 min */
.simple-countdown.sc-urgent {
    border-color: #e09a9a;
    background: linear-gradient(to bottom, #fde8e8, #f9d4d4);
}
.simple-countdown.sc-urgent .sc-digit {
    color: #c53030;
}
.simple-countdown.sc-urgent .sc-sep {
    color: #e09a9a;
}
.simple-countdown.sc-pulse {
    animation: scPulse .6s ease;
}
@keyframes scPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* Reduce gap between top bar and information bar */
.site-header__topbar.topbar.mg-t-10 {
    margin-top: 4px !important;
}
