/* 
 * Currency Switcher Styles
 * Responsive, mobile-first, and matches UI specifications.
 */

.currency-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    margin: 0;
}

/* The Trigger Pill */
.currency-switcher__pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(200, 184, 154, 0.35);
    background: rgba(200, 184, 154, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Reload', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 238, 232, 0.85);
    white-space: nowrap;
    margin: 0;
    line-height: 1.6;
}

.currency-switcher__pill:hover,
.currency-switcher__pill[aria-expanded="true"] {
    border-color: #C8B89A;
    color: #C8B89A;
    background: rgba(200, 184, 154, 0.1);
}

/* The Dropdown Panel */
.currency-switcher__dropdown {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 18px;
    top: calc(100% + 10px);
    right: 0;
    background-color: #080c1a;
    border: 1px solid rgba(200, 184, 154, 0.3);
    padding: 20px;
    z-index: 200;
    min-width: 280px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.currency-switcher__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Heading */
.currency-switcher__heading {
    color: rgba(200, 184, 154, 0.85);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Options Grid */
.currency-switcher__options {
    display: flex;
    gap: 6px;
}

/* Individual Option Button */
.currency-switcher__option {
    flex: 1;
    padding: 14px 10px;
    border: 1px solid rgba(200, 184, 154, 0.2);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-family: 'Reload', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 238, 232, 0.7);
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    margin: 0;
}

.currency-switcher__option:hover,
.currency-switcher__option.is-active {
    border-color: #C8B89A;
    color: #C8B89A;
    background: rgba(200, 184, 154, 0.1);
}

/* Done Button */
.currency-switcher__done {
    width: 100%;
    background: #C8B89A;
    border: none;
    color: #080C1A;
    padding: 12px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 4px;
    line-height: 1.2;
}

.currency-switcher__done:hover {
    background-color: #d8b884;
    /* Lighter gold on hover */
}

@media (max-width: 768px) {
    .currency-switcher__pill {
        padding: 7px 14px;
        font-size: 11px;
    }

    .currency-switcher__dropdown {
        right: 0;
        left: auto;
        min-width: 200px;
        width: 100%;
        max-width: 300px;
    }
}