/* Topbar Styles with Original Color Scheme */
.topbarbkgd {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(82,82,82,1) 50%, rgba(0,0,0,1) 100%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure topbar stays in single line */
.topbarbkgd .row {
    align-items: center;
    min-height: 60px;
    flex-wrap: nowrap;
    width: 100%;
}

.topbarbkgd .col-lg-6 {
    display: flex;
    align-items: center;
    min-height: inherit;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    min-width: 0;
    overflow: hidden;
    width: 50% !important;
    box-sizing: border-box;
}

.topbarbkgd .col-lg-6.text-start {
    justify-content: flex-start;
}

.topbarbkgd .col-lg-6.text-end {
    justify-content: flex-end;
}

.topbar_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin-right: 0.5rem;
    border-radius: 12px;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.topbar_btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, #0080FF 0%, #0066cc 100%);
    box-shadow: 0 4px 15px rgba(0,128,255,0.3);
}

.topbar_btn:hover img {
    filter: brightness(0) invert(1);
}

.topbar_btn img {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(26%) sepia(75%) saturate(2500%) hue-rotate(200deg);
}

.topbar_align {
    height: 100%;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.4rem;
    transition: all 0.3s ease;
    flex-shrink: 1;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.topbar_align:hover {
    transform: translateY(-1px);
}

.smallfont {
    color: #9B9B9B !important;
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 1.1;
    margin-left: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
    flex-shrink: 1;
}

.smallfont a {
    color: #9B9B9B !important;
    text-decoration: none;
}

.smallfont a:hover {
    color: #ffffff !important;
}

/* Desktop responsive adjustments */
@media (min-width: 992px) and (max-width: 1200px) {
    .smallfont {
        font-size: 0.7rem;
        max-width: 120px;
    }
    
    .topbar_align {
        padding: 0.3rem 0.4rem;
    }
    
    .topbar_btn {
        width: 26px;
        height: 26px;
        margin-right: 0.3rem;
    }
    
    .topbarbkgd .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Large desktop - more space */
@media (min-width: 1400px) {
    .smallfont {
        font-size: 0.85rem;
    }
    
    .topbar_align {
        padding: 0.6rem 0.9rem;
    }
}

/* Mobile - Topbar Hidden as Requested */
@media (max-width: 991.98px) {
    .topbarbkgd {
        display: none;
    }
}

/* Logo hover effect */
#navlogo {
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
}

#navlogo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0,128,255,0.2));
}
