/* The video call background builder (static/js/background_builder.js), on the light install page and the dark
   Relay portal alike: it takes the page's own text color and draws its lines in a gray that reads on both. */
.bgb-choice { display: flex; gap: 1rem; flex-wrap: wrap; margin: .4rem 0; }
.bgb-choice label { display: flex; align-items: center; gap: .4rem; font-weight: 600; border: 1px solid rgba(148, 163, 184, .45); border-radius: 8px; padding: .5rem .8rem; cursor: pointer; }
.bgb-build { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem 1rem; margin: .5rem 0; }
.bgb-build label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; font-weight: 600; }
.bgb-build input[type=text] { padding: .45rem .55rem; border: 1px solid rgba(148, 163, 184, .6); border-radius: 8px; font: inherit; font-weight: 400; background: transparent; color: inherit; }
.bgb-build input[type=color] { width: 64px; height: 36px; border: 1px solid rgba(148, 163, 184, .6); border-radius: 8px; padding: 2px; background: #fff; }
.bgb-nologo { justify-self: start; align-self: end; font: inherit; font-size: .85rem; font-weight: 600; padding: .4rem .75rem; border-radius: 8px; border: 1px solid rgba(148, 163, 184, .6); background: transparent; color: inherit; cursor: pointer; }
.bgb-nologo[hidden], .bgb-build[hidden] { display: none; }
.bgb-preview { display: block; width: 100%; max-width: 480px; aspect-ratio: 16 / 9; height: auto; border: 1px solid rgba(148, 163, 184, .45); border-radius: 10px; margin: .6rem 0 1rem; }
