#propfirm-nt-bar {
    background: #1a1a1d;
    border-bottom: 1px solid #333;
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}

#propfirm-nt-bar.is-sticky {
    position: fixed !important;
}

#propfirm-nt-bar.is-relative {
    position: absolute !important;
}

.propfirm-nt-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.propfirm-nt-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: nt-scroll var(--speed) linear infinite;
}

.nt-msg-item {
    display: flex;
    align-items: center;
    padding-right: 100px; /* Increased consistent gap after every message */
    white-space: nowrap;
}

.nt-msg-item span {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 15px; /* Gap between text and its button */
}

@keyframes nt-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.nt-btn {
    background: #f8df51;
    color: #000;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.nt-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Adjust body padding if bar is present */
body.has-propfirm-nt {
    padding-top: 40px !important;
    position: relative;
}

/* Fix for WordPress Admin Bar */
.admin-bar #propfirm-nt-bar {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar #propfirm-nt-bar {
        top: 46px !important;
    }
}

html {
    margin-top: 0 !important;
}

body {
    margin-top: 0 !important;
}
