/**
 * Currency Switcher Styles
 */

.woofast-currency-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.woofast-currency-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #d9d9d9;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.woofast-currency-trigger:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.woofast-currency-trigger .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.woofast-currency-trigger .currency-flag {
    font-size: 20px;
}

.current-currency {
    font-weight: 600;
    font-size: 14px;
    color: #000 !important;
}

.woofast-currency-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.woofast-currency-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.currency-option:hover {
    background: #f7f9fc;
}

.currency-option.active {
    background: #e8f4fd;
    font-weight: 600;
}

.currency-flag {
    font-size: 24px;
}

.currency-code {
    font-weight: 600;
    min-width: 40px;
}

.currency-name {
    flex: 1;
    font-size: 14px;
    color: #666;
}

.currency-option .dashicons-yes {
    color: #52c41a;
}

/* Loading state */
.woofast-currency-switcher.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .woofast-currency-switcher {
        bottom: 10px;
        right: 10px;
    }

    .woofast-currency-trigger {
        padding: 10px 14px;
    }

    .woofast-currency-dropdown {
        max-width: calc(100vw - 40px);
    }
}