/**
 * Currency Pricing EX Styles
 */
 
/* Currency Toggle */
.currency-toggle-container {
    margin: 20px 0;
}

.currency-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-toggle-label {
    font-weight: bold;
    margin-right: 10px;
}

.currency-toggle-switch {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.currency-toggle-option {
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
    display: flex;
    align-items: center;
}

.currency-toggle-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.currency-toggle-option.active {
    background-color: #2271b1;
    color: white;
}

.currency-toggle-option:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Pricing Containers */
.currency-pricing-container {
    font-size: 1.5em;
    font-weight: bold;
    margin: 10px 0;
}

.currency-pricing-amount {
    display: flex;
    align-items: center;
}

.currency-symbol {
    margin-right: 2px;
}

/* Button Styling */
.currency-pricing-button-container {
    margin: 15px 0;
}

.currency-pricing-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2271b1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.currency-pricing-btn:hover {
    background-color: #135e96;
    color: white;
}

/* Support for custom styled buttons */
a.currency-pricing-btn[style] {
    text-decoration: none !important;
}

a.currency-pricing-btn[style]:hover {
    text-decoration: none !important;
}

/* Error Messages */
.currency-pricing-error {
    color: #d63638;
    font-style: italic;
}

/* Admin Styling */
.pricing-item-form .submit-container {
    margin-top: 15px;
}

/* Support for responsive design */
@media (max-width: 480px) {
    .currency-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .currency-pricing-container {
        font-size: 1.2em;
    }
}
