.fn-navbar {
    width: 100%;
    background-color: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
    font-family: Arial, sans-serif;
}

.fn-navbar__container {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fn-navbar__logo-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fn-logo-main {
    height: 40px;
    width: auto;
}

.fn-navbar__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fn-navbar__top-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.fn-util-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

#fn-currency-value.is-initializing {
    opacity: 0;
}

#fn-currency-value {
    transition: opacity 0.2s ease;
}

#fn-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.15);
    z-index: 1000;
    min-width: 180px;
    border-radius: 6px;
    margin-top: 12px;
    overflow: hidden;
}

#fn-currency-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 18px;
    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);
}

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

#fn-currency-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
}

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

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

.fn-currency-item {
    padding: 12px 15px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    font-size: 13px;
    color: #333;
    transition: background 0.2s;
}

.fn-currency-item .fn-currency-name {
    white-space: nowrap;
    font-weight: 400;
}

.fn-currency-item:hover {
    background-color: #f8f9fa;
}

.fn-currency-item.is-selected {
    background-color: #00bbb41c; 
    font-weight: 600;
}

.currency-loader {
    display: none;
    padding: 15px;
}

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

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

#fn-currency-loader .skeleton-line {
    height: 10px;
    background: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 2px;
    animation: fn-pulse 1.5s infinite;
}

@keyframes fn-pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.fn-flag {
    width: 20px;
    height: auto;
}

.fn-util-divider {
    width: 1px;
    height: 14px;
    background-color: #ddd;
}

.fn-navbar__bottom-row {
    display: flex;
    gap: 25px;
    align-items: center;
}

.fn-nav-link {
    text-decoration: none;
    color: #444;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.fn-nav-link:hover {
    color: var(--color-secondary, #42A8C3);
}

.fn-nav-link i {
    font-size: 18px;
    color: #666;
}

@media(max-width: 600px) {
    .fn-navbar__right {
        display: none;
    }
}