/* Currency Switcher Styles */

.currency-switcher-container {
    display: inline-block;
    position: relative;
}

.currency-switcher-dropdown {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    background-color: #0a3d91;
    color: #fff;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
    box-shadow: 0 2px 8px rgba(10, 61, 145, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.currency-switcher-dropdown:hover {
    background-color: #082d6b;
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.4);
    transform: translateY(-1px);
}

.currency-switcher-dropdown:focus {
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.5);
}

.currency-switcher-dropdown:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive styles */
@media (max-width: 768px) {
    .currency-switcher-dropdown {
        font-size: 13px;
        padding: 8px 12px;
        padding-right: 28px;
    }
}

@media (max-width: 480px) {
    .currency-switcher-dropdown {
        font-size: 12px;
        padding: 7px 10px;
        padding-right: 26px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .currency-switcher-dropdown {
        background-color: #0a3d91;
        color: #fff;
    }
    
    .currency-switcher-dropdown:hover {
        background-color: #082d6b;
    }
}

/* Integration with common themes */
.currency-switcher-container.header-widget {
    margin: 0 10px;
}

.currency-switcher-container.nav-widget {
    vertical-align: middle;
}

/* Elementor compatibility */
.elementor-widget-container .currency-switcher-container {
    width: fit-content;
}

.elementor-widget-container .currency-switcher-dropdown {
    width: auto;
}
