/* VoxSwap AI — extends MegaMix app styles */

.navbar-links a.nav-active {
    color: #a78bfa;
}
.navbar-links a.nav-active::after {
    transform: scaleX(1);
    opacity: 1;
}

.voxswap-hero-title {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin: 0 0 8px;
    font-weight: 600;
}

.voxswap-hero-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0 0 24px;
    max-width: 52rem;
}

.voice-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 12px;
    margin: 12px 0 20px;
}

.voice-preset-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.25);
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
    text-align: center;
    font: inherit;
    color: inherit;
}

.voice-preset-card:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(30, 41, 59, 0.8);
}

.voice-preset-card.selected {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35);
}

.voice-preset-card.voice-preset-card--instrumental {
    border-style: dashed;
}

.voice-preset-card.voice-preset-card--instrumental.selected {
    border-style: solid;
}

.voice-preset-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: normal;
    line-height: 1.3;
}

.voice-preset-emoji {
    font-size: 2rem;
    line-height: 1;
}

.voice-preset-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.voice-swap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.voxswap-step-locked {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.voxswap-step-locked .voxswap-unlock-hint {
    opacity: 1;
    pointer-events: auto;
}

.voxswap-unlock-hint {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 12px;
}

.voxswap-export-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.voxswap-voice-change-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.voxswap-voice-change-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.voxswap-mini-voices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.voxswap-mini-voice-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
}

.voxswap-mini-voice-btn.active {
    border-color: #8b5cf6;
    color: #c4b5fd;
}
