/* Hologram generator - builds on text-generators.css (.tg-* layout, panels, commands). */
.holo-toggles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
}

/* Segmented toggle (same look as the banner generator's). */
.bg-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 3px;
    border: 1px solid var(--tg-line);
    border-radius: 999px;
    background: var(--tg-field);
}

.bg-toggle button {
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.bg-toggle button i {
    margin-right: 4px;
}

.bg-toggle button.active {
    background: var(--tg-accent);
    color: #fff;
}

.holo-bg-custom {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.holo-bg-custom[hidden] {
    display: none;
}

.holo-bg-custom input[type="range"] {
    flex: 1 1 auto;
    accent-color: var(--tg-accent);
}

.holo-bg-custom span {
    min-width: 44px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}

.holo-fields {
    display: flex;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    flex-direction: column;
}

.holo-fields input[type="range"] {
    width: 100%;
    margin-top: 10px;
    accent-color: var(--tg-accent);
}

.holo-stage {
    min-height: 220px;
}

.holo-stage canvas {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.holo-commands-settings {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

@media (max-width: 520px) {
    .holo-fields {
        grid-template-columns: 1fr;
    }
}
