/**
 * TopPigeon Currency Switcher - Styles
 * File: assets/tp-currency-switcher.css
 */

/* Main switcher container */
.tp-currency-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Dropdown select */
.tp-cs-select {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    min-width: 180px;
    appearance: auto;
}

.tp-cs-select:hover {
    border-color: #999;
}

.tp-cs-select:focus {
    outline: 2px solid #2271b1;
    outline-offset: 1px;
}

/* Info note below switcher */
.tp-cs-note {
    display: block;
    font-size: 11px;
    color: #888;
    font-style: italic;
    margin-top: 4px;
    width: 100%;
}

/* Floating switcher (auto-inserted) */
.tp-cs-floating {
    position: fixed;
    top: 80px;
    right: 15px;
    z-index: 9999;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.tp-cs-floating .tp-cs-select {
    min-width: 160px;
    font-size: 13px;
}

.tp-cs-floating .tp-cs-note {
    max-width: 160px;
    font-size: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tp-cs-floating {
        top: auto;
        bottom: 15px;
        right: 10px;
        left: 10px;
        text-align: center;
        border-radius: 10px;
    }
    
    .tp-cs-floating .tp-cs-select {
        width: 100%;
    }
    
    .tp-cs-floating .tp-cs-note {
        max-width: 100%;
    }
}
