/**
 * EUR Adaptation Frontend Styles
 */

/* General Styles */
.eur-adaptation-price {
    display: inline-block;
    font-weight: bold;
}

.eur-adaptation-price .bgn-amount {
    color: #333;
}

.eur-adaptation-price .eur-amount {
    color: #0066cc;
}

/* Converter Widget Styles */
.eur-adaptation-converter-widget {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.eur-adaptation-converter-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.eur-adaptation-converter-row label {
    display: block;
    margin-bottom: 5px;
    width: 100%;
    font-weight: bold;
}

.eur-adaptation-amount {
    width: calc(100% - 40px);
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.eur-adaptation-currency {
    width: 30px;
    text-align: center;
    font-weight: bold;
    padding-left: 10px;
}

.eur-adaptation-converter-info {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Exchange Rate Widget Styles */
.eur-adaptation-exchange-rate-widget {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
}

.eur-adaptation-rate-main {
    margin-bottom: 15px;
}

.eur-adaptation-rate-value {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.eur-adaptation-rate-reverse {
    font-size: 0.9em;
    color: #666;
}

.eur-adaptation-currency-symbol {
    font-weight: bold;
}

.eur-adaptation-equals {
    margin: 0 5px;
}

.eur-adaptation-rate {
    font-weight: bold;
}

.eur-adaptation-rate-updated {
    font-size: 0.8em;
    color: #888;
    margin-top: 10px;
}

.eur-adaptation-rate-info {
    margin-top: 10px;
    font-size: 0.9em;
    background: #fffde7;
    padding: 8px;
    border-radius: 3px;
    border-left: 3px solid #ffd600;
}

/* Responsive Styles */
@media screen and (max-width: 480px) {
    .eur-adaptation-converter-row label {
        margin-bottom: 8px;
    }
    
    .eur-adaptation-amount {
        width: calc(100% - 40px);
    }
}

/* Price Display Styles */
.eur-adaptation-dual-price {
    display: inline-block;
}

.eur-adaptation-dual-price .separator {
    margin: 0 5px;
    color: #999;
}

/* Different Display Formats */
.eur-adaptation-format-brackets .eur-amount {
    color: #0066cc;
    font-size: 0.9em;
}

.eur-adaptation-format-slash .eur-amount {
    color: #0066cc;
}

.eur-adaptation-format-equals .equals-sign {
    margin: 0 5px;
    color: #999;
}

/* Tooltip Style */
.eur-adaptation-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.eur-adaptation-tooltip .tooltip-content {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.eur-adaptation-tooltip .tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.eur-adaptation-tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}
