/* Currency & Unit Converter Styles */
.currency-unit-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 200px;
    display: none;
    padding: 16px;
}

.currency-unit-dropdown .currency-option,
.currency-unit-dropdown .unit-option {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    text-align: center;
}

.currency-unit-dropdown .currency-option:hover,
.currency-unit-dropdown .unit-option:hover {
    border-color: #000;
    background: #f5f5f5;
}

.currency-unit-dropdown .currency-option.active,
.currency-unit-dropdown .unit-option.active {
    border-color: #000;
    background: #000;
    color: white;
}

.mobile-menu-lang {
    position: relative;
}

.mobile-menu-lang a {
    cursor: pointer;
    user-select: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .currency-unit-dropdown {
        right: -10px;
        left: -10px;
        min-width: auto;
        width: auto;
    }
}

/* Animation for dropdown */
.currency-unit-dropdown.show {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading indicator for rates */
.currency-unit-dropdown.loading::before {
    content: "Loading rates...";
    display: block;
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 12px;
}