/* WooCommerce Auto Currency Converter Styles */

.wc-currency-switcher {
    margin: 10px 0;
    display: inline-block;
}

.wc-currency-switcher select#currency-selector {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    min-width: 200px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.wc-currency-switcher select#currency-selector:hover {
    border-color: #999;
}

.wc-currency-switcher select#currency-selector:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.wc-currency-switcher select#currency-selector:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading state */
.wc-currency-loading {
    cursor: wait;
}

.wc-currency-loading * {
    pointer-events: none;
}

/* Currency display in products */
.woocommerce .price {
    font-weight: bold;
}

.woocommerce .price del {
    opacity: 0.7;
    text-decoration: line-through;
}

.woocommerce .price ins {
    text-decoration: none;
    color: #77a464;
}

/* Widget styling */
.widget .wc-currency-switcher {
    margin-bottom: 15px;
}

.widget .wc-currency-switcher select {
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .wc-currency-switcher select#currency-selector {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Admin page styles */
.wc-auto-currency-admin {
    max-width: 800px;
}

.wc-auto-currency-admin h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.wc-auto-currency-admin code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

/* Currency conversion notice */
.wc-currency-notice {
    background: #e7f3ff;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 15px 0;
    color: #0c5460;
}

.wc-currency-notice .currency-flag {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

/* Floating currency widget */
.wc-currency-float {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .wc-currency-float {
        position: relative;
        top: auto;
        right: auto;
        margin: 10px 0;
        box-shadow: none;
    }
}