/* ============================================
    SETUP - UI
    Cards com scroll, textos visíveis
    ============================================ */

/* BADGE DE CONTADORES */
.st-setup-counter-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.st-setup-counter-badge.at-limit {
    border-color: rgba(239, 68, 68, 0.3);
    color: rgba(239, 68, 68, 0.5);
}

/* AVISO DE LIMITE */
.st-setup-limit-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.12);
    margin-bottom: 20px;
    text-align: center;
    border-radius: 12px;
}

.st-setup-limit-icon {
    color: rgba(239, 68, 68, 0.4);
}

.st-setup-limit-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: rgba(239, 68, 68, 0.5);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.st-setup-limit-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.st-setup-limit-btn {
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 8px;
}

.st-setup-limit-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* INFO DE SLOTS RESTANTES */
.st-setup-remaining-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.st-setup-remaining-info strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.st-setup-remaining-icon {
    color: rgba(255, 255, 255, 0.2);
    display: flex;
}

/* LABEL */
.st-setup-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-left: 4px;
}

.st-setup-label-counter {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

/* SCROLL DOS VÍCIOS */
.st-setup-vices-scroll {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    margin-top: 4px;
}

.st-setup-vices-scroll::-webkit-scrollbar {
    width: 3px;
}
.st-setup-vices-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.st-setup-vices-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

/* GRID DE VÍCIOS */
.st-setup-vices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* CARDS DE VÍCIOS - COMPACTOS */
.st-setup-vice-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.st-setup-vice-item:hover:not(.disabled) {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.st-setup-vice-item:active:not(.disabled) {
    transform: scale(0.96);
}

.st-setup-vice-item.selected {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.02);
}

.st-setup-vice-item.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.st-setup-vice-item.selected::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
}

.st-setup-vice-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* ÍCONE DO VÍCIO */
.st-setup-vice-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.st-setup-vice-item.selected .st-setup-vice-icon {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

/* LABEL DO VÍCIO - MAIS VISÍVEL */
.st-setup-vice-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.st-setup-vice-item.selected .st-setup-vice-label {
    color: #ffffff;
}

/* DESCRIÇÃO - MAIS VISÍVEL */
.st-setup-vice-desc {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.3;
    margin-top: 2px;
}

.st-setup-vice-item.selected .st-setup-vice-desc {
    color: rgba(255, 255, 255, 0.4);
}

/* INPUTS */
.st-setup-input {
    width: 100%;
    padding: 12px 14px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e8eaed;
    font-size: 15px !important;
    font-family: var(--font-main);
    outline: none;
    transition: all 0.25s ease;
    border-radius: 10px;
}

.st-setup-input:focus {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.02);
}

.st-setup-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* BOTÃO SUBMIT */
.st-setup-btn {
    width: 100%;
    padding: 14px;
    min-height: 52px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    margin-top: 4px;
    border-radius: 10px;
}

.st-setup-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.st-setup-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.st-setup-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.st-setup-btn.has-selection {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* RESPONSIVO */
@media (max-width: 380px) {
    .st-setup-vices-scroll {
        max-height: 260px;
    }
    .st-setup-vices-grid {
        gap: 8px;
    }
    .st-setup-vice-item {
        padding: 12px 8px 10px;
    }
    .st-setup-vice-icon {
        width: 34px;
        height: 34px;
    }
    .st-setup-vice-icon svg {
        width: 16px;
        height: 16px;
    }
    .st-setup-vice-label {
        font-size: 0.7rem;
    }
    .st-setup-vice-desc {
        font-size: 0.5rem;
    }
    .st-setup-title {
        font-size: 1.1rem;
    }
}

@media (min-width: 600px) {
    .st-setup-vices-scroll {
        max-height: 400px;
    }
    .st-setup-vices-grid {
        gap: 12px;
    }
    .st-setup-vice-item {
        padding: 16px 12px 14px;
    }
    .st-setup-vice-icon {
        width: 48px;
        height: 48px;
    }
}