/* ========================================
   TOP HEADER / FIXED TOP CONTAINER
   ======================================== */

.fixed-top-container {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 0;
    z-index: 10000;
    background: transparent;
    pointer-events: none;
}

.top-right-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 16px;
    max-width: 100%;
}

.action-bar-container {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.action-bar-item {
    display: flex;
    align-items: center;
    position: relative;
}

.action-bar-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
    color: var(--puna-primary);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--puna-primary);
}

.action-bar-button:hover {
    background: linear-gradient(135deg, var(--puna-primary) 0%, color-mix(in srgb, var(--puna-primary) 80%, white) 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-bar-button:hover .icon-svg,
.action-bar-button:hover .icon-img {
    filter: brightness(0) invert(1);
    color: #ffffff;
}

.action-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.action-bar-icon .icon-svg,
.action-bar-icon .icon-img {
    width: 20px;
    height: 20px;
    color: var(--puna-primary);
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(2479%) hue-rotate(202deg) brightness(97%) contrast(90%);
    transition: filter 0.2s ease, color 0.2s ease;
}

.action-bar-text {
    font-size: 12px;
    line-height: 1.4;
}


/* News button: blue default, white on hover (inverse of others) */
.action-bar-news-btn {
  background: var(--puna-primary);
  color: #fff;
  border: 1px solid var(--puna-primary);
}
.action-bar-news-btn:hover{
  background: #fff;
  color: var(--puna-primary);
  border-color: var(--puna-primary);
}
.action-bar-news-btn .action-bar-icon .icon-svg {
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease, color 0.2s ease;
}
.action-bar-news-btn:hover .action-bar-icon .icon-svg {
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(2479%) hue-rotate(202deg) brightness(97%) contrast(90%);
}

.action-bar-button[data-phone]:hover::after {
    content: attr(data-phone);
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 10001;
    pointer-events: none;
}

.action-bar-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 4px;
}

.login-button-container {
    display: flex;
    align-items: center;
}

.login-button-label {
    font-size: 14px;
    font-weight: 600;
}

/* Hide on video watch page and search page */
body.single .fixed-top-container,
body.single-video .fixed-top-container,
body.search .fixed-top-container,
.video-watch-page ~ .fixed-top-container,
.video-watch-page + .fixed-top-container {
    display: none !important;
}


