/* iWebClue WooCurrency — Widget Styles */

.iwcwc-widget {
    position: fixed;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
}

/* Positions */
.iwcwc-top_right    { top: 20px;    right: 20px; }
.iwcwc-top_left     { top: 20px;    left: 20px; }
.iwcwc-bottom_right { bottom: 20px; right: 20px; }
.iwcwc-bottom_left  { bottom: 20px; left: 20px; }

/* Toggle button */
.iwcwc-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 14px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    font-size: 14px;
    font-weight: 500;
    color: #222;
    transition: box-shadow 0.2s;
    white-space: nowrap;
}

.iwcwc-toggle:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.iwcwc-flag { font-size: 18px; line-height: 1; }
.iwcwc-code { font-weight: 600; letter-spacing: 0.5px; }
.iwcwc-arrow { font-size: 11px; color: #888; transition: transform 0.2s; }
.iwcwc-widget.open .iwcwc-arrow { transform: rotate(180deg); }

/* Dropdown */
.iwcwc-dropdown {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    min-width: 160px;
    margin-top: 6px;
}

/* Position dropdown above for bottom placements */
.iwcwc-bottom_right .iwcwc-dropdown,
.iwcwc-bottom_left  .iwcwc-dropdown {
    bottom: calc(100% + 6px);
    top: auto;
    margin-top: 0;
    margin-bottom: 0;
}

/* Currency option buttons */
.iwcwc-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    text-align: left;
    transition: background 0.15s;
}

.iwcwc-option:hover    { background: #f5f5f5; }
.iwcwc-option.iwcwc-active { background: #f0f7ff; font-weight: 600; color: #0066cc; }

.iwcwc-sym {
    display: inline-block;
    width: 22px;
    text-align: center;
    font-weight: 600;
    color: #555;
}

/* Inline shortcode select */
.iwcwc-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}
