.hfd-navbar {
    background-color: #ffffff; 
    color: #444444; 
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); 
}

.hfd-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hfd-logo img {
    height: 55px; 
    width: auto;
    margin-right: 60px;
}

.hfd-nav-links {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: flex-end;
}

.hfd-link {
    color: #828282;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hfd-link svg {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.hfd-link:hover {
    color: var(--color-secondary, #0851A7);
}

.hfd-utils {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hfd-util-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #828282;
    cursor: pointer;
}

.hfd-util-item svg {
    margin-top: 4px;
}


.hfd-util-divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
    margin: 0 20px;
}

.hfd-util-item {
    position: relative; 
    cursor: pointer;
}

#hfd-currency-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    
    position: absolute;
    top: 100%;
    right: -5px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 180px;
    border-radius: 4px;
    margin-top: 12px; 
}

#hfd-currency-dropdown::before {
    content: '';
    position: absolute;
    top: -6px; 
    right: 15px; 
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
    box-shadow: -3px -3px 5px rgba(0,0,0,0.02);
    z-index: -1; 
}

#hfd-currency-container.is-expanded #hfd-currency-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

#hfd-currency-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}

#hfd-currency-list::-webkit-scrollbar {
    width: 4px;
}

#hfd-currency-list::-webkit-scrollbar-track {
    background: transparent;
}

#hfd-currency-list::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

#hfd-currency-list .name {
    font-weight: 400;
    white-space: nowrap;
}

.hfd-currency-item {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    gap: 10px;
    transition: background-color 0.15s ease;
}

.hfd-currency-item:hover {
    background-color: #f5f5f5;
}

.hfd-currency-item.is-selected {
    background-color: #eaf6fb;
}

#hfd-currency-value.is-initializing {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#hfd-currency-dropdown.is-loading #hfd-currency-list {
    display: none; 
}

#hfd-currency-dropdown .currency-loader {
    display: none; 
    padding: 10px 15px;
}

#hfd-currency-dropdown.is-loading .currency-loader {
    display: block; 
}

#hfd-currency-loader .skeleton-line {
    height: 12px;
    background: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 2px;
    animation: hfd-skeleton-pulse 1.5s infinite ease-in-out;
}

@keyframes hfd-skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@media (max-width: 1024px) {
    .hfd-nav-links, .hfd-util-divider {
        display: none;
    }
    .hfd-logo img {
        height: 40px;
    }
    
    .hfd-utils{
        display: none;
    }
}