/* Shuffle config modal */
.ks-shuffle-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-shuffle-modal {
    background: var(--ks-bg-surface);
    border: 1px solid var(--ks-border);
    border-radius: 6px;
    padding: 1.5rem;
    width: 100%;
    max-width: 340px;
}

.ks-shuffle-modal h3 {
    font-size: 1rem;
    color: var(--ks-accent);
    margin: 0 0 1rem;
}

.ks-shuffle-section {
    margin-bottom: 0.75rem;
}

.ks-shuffle-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.ks-shuffle-quick-actions {
    display: flex;
    gap: 0.25rem;
}

.ks-shuffle-quick-actions .ks-btn {
    color: var(--ks-text-muted);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ks-shuffle-section .ks-input {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
}

.ks-shuffle-lessons-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ks-shuffle-lessons-field {
    flex: 1;
}

.ks-shuffle-lessons-field .ks-field-label {
    margin-bottom: 0.35rem;
}

.ks-shuffle-lessons-field .ks-input {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
}

.ks-shuffle-confirm {
    width: 100%;
    margin-top: 0.5rem;
    color: var(--md-sys-color-on-primary);
}

[data-testid="shuffle-config-button"] {
    font-size: 0.9rem;
}
