.currency-switcher-container {
    position: relative;
    display: inline-block;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-right: 16px;
}

.currency-switcher-container select {
    height: 32px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
}

.currency-switcher {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.currency-switcher:hover {
    border-color: #bbb;
    background-color: #f9f9f9;
}

.currency-switcher:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.currency-switcher:disabled,
.currency-switcher.loading {
    opacity: 0.6;
    cursor: wait;
    background-color: #f5f5f5;
}

.currency-loading {
    display: inline-block;
    margin-left: 10px;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.currency-loading:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ddd;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: currency-spin 1s linear infinite;
    margin-right: 5px;
    vertical-align: text-top;
}

@keyframes currency-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.currency-message {
    display: block;
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    animation: currency-fade-in 0.3s ease;
}

.currency-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.currency-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes currency-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .currency-switcher {
        min-width: 50px;
        font-size: 13px;
        padding: 6px 25px 6px 10px;
    }
}

.currency-switcher-container .form-control.currency-switcher {
    padding-right: 30px;
}

.wp-block-group .currency-switcher-container {
    margin: 0;
}

.elementor-widget-container .currency-switcher-container {
    width: 100%;
}

.elementor-widget-container .currency-switcher {
    width: 100%;
}

.woocommerce .currency-switcher-container {
    display: inline-block;
    vertical-align: top;
}

@media (prefers-color-scheme: dark) {
    .currency-switcher {
        background-color: #2c2c2c;
        color: #fff;
        border-color: #444;
    }

    .currency-switcher:hover {
        background-color: #333;
        border-color: #666;
    }

    .currency-switcher:focus {
        border-color: #0073aa;
        box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.3);
    }

    .currency-message-success {
        background-color: #1e4d2b;
        color: #90ee90;
        border-color: #2d5a3d;
    }

    .currency-message-error {
        background-color: #4a1a1a;
        color: #ffb3b3;
        border-color: #6b2c2c;
    }
}

.currency-switcher.minimal {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 20px 5px 8px;
    background-color: transparent;
}

.currency-switcher.rounded {
    border-radius: 25px;
    padding: 8px 35px 8px 15px;
}

.currency-switcher.large {
    font-size: 16px;
    padding: 12px 35px 12px 15px;
    min-width: 250px;
}

.currency-switcher.small {
    font-size: 12px;
    padding: 5px 20px 5px 8px;
    min-width: 120px;
}

.currency-switcher.luxury {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border: 2px solid #d4af37;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.currency-switcher.luxury:hover {
    border-color: #b8941f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.currency-switcher.luxury:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}