/* ==========================================================================
   Currency Selector - Estilos para el selector de monedas en el sidebar
   ========================================================================== */

   .currency-selector {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.currency-selector__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-selector__toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
}

.currency-selector__current {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.currency-selector__flag {
    width: 1.5rem;
    height: 1.125rem;
    object-fit: cover;
    border-radius: 0.125rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.currency-selector__code {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
}

.currency-selector__chevron {
    color: #666;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.currency-selector__chevron.rotate-180 {
    transform: rotate(180deg);
}

/* Dropdown */
.currency-selector__dropdown {
    position: relative;
    margin-top: 0.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.currency-selector__header {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #888;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.currency-selector__option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
}

.currency-selector__option:hover {
    background: rgba(0, 0, 0, 0.03);
}

.currency-selector__option--active {
    background: rgba(59, 130, 246, 0.05);
}

.currency-selector__option--active:hover {
    background: rgba(59, 130, 246, 0.08);
}

.currency-selector__info {
    display: flex;
    flex-direction: column;
    margin-left: 0.75rem;
    flex: 1;
    min-width: 0;
}

.currency-selector__name, .currency-selector__symbol {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
}

.currency-selector__check {
    color: #3b82f6;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* Transiciones de Alpine.js */
[x-cloak] {
    display: none !important;
}