﻿.poke-switch-group {
    display: flex;
    flex-direction: row;
    padding: 5px;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    align-content: center;
    justify-items: center;
    background: rgba(0,0,0,0.6);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    backdrop-filter: blur(5px);
}

.poke-switch {
    position: relative;
    width: 42px;
    height: 20px;
    margin: 0 5px 0 0;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    align-self: center;
}

.poke-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    transition: background 0.2s ease;
}

.poke-switch.toggled .poke-track {
    background: #e63946;
    border-color: #e63946;
}

.poke-thumb {
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    transition: left 0.2s ease;
}

.poke-switch.toggled .poke-thumb {
    left: calc(100% - 21px);
}


.poke-progress {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    margin: 6px 0;
}

.poke-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    overflow: hidden;
}

.poke-progress-fill {
    height: 100%;
    background: #e63946;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.poke-progress-ball {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.forge-custom-select {
    position: relative;
    width: 100%;
}

.forge-custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: var(--forge-surface);
    border: 1.5px solid var(--forge-border);
    border-radius: 10px;
    color: var(--forge-text);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: var(--forge-transition);
    text-align: left;
}

    .forge-custom-select-trigger:hover,
    .forge-custom-select.open .forge-custom-select-trigger {
        border-color: var(--forge-purple);
    }

.select-chevron {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--forge-text-dim);
}

.forge-custom-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #0a0910; /* hard dark, no purple bleed */
    border: 1px solid var(--forge-border-hot);
    border-radius: 10px;
    overflow-y: scroll; /* force scrollbar */
    max-height: 260px;
    min-width: 400px;
    width: max-content;
    max-width: 500px;
    z-index: 999; /* bump way up */
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    animation: step-enter 0.15s ease both;
}

.forge-custom-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--forge-text);
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background var(--forge-transition);
}

    .forge-custom-option:last-child {
        border-bottom: none;
    }

    .forge-custom-option:hover {
        background: rgba(255,255,255,0.05);
    }

    .forge-custom-option.selected {
        color: var(--forge-electric);
    }

.option-rarity-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.option-placeholder {
    color: var(--forge-text-dim);
}
