/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.dropzone {
    border: 1px dashed #888;
    border-radius: 5px;
    background: transparent;
    min-height: 150px;
    padding: 20px;
}

/* htmx spinners take no space until their request is in flight (htmx's default only fades them) */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-block; }

/* Deleting an example is rare: show the x only while hovering its row. Touch screens can't hover, so they keep it. */
@media (hover: hover) {
  .example-delete { opacity: 0; }
  .row:hover > * > .example-delete, .example-delete:focus-visible { opacity: 1; }
}

.practice-pip { width: 22px; height: 6px; border-radius: 3px; display: inline-block; }

.chat-reply p { margin-bottom: .5rem; }

/* Face-off: each word keeps one colour everywhere (card, button, feedback), so they stop blurring together. */
.word-0 { --word: #6ea8fe; }
.word-1 { --word: #f0a640; }
.word-2 { --word: #4fc2b3; }
.word-3 { --word: #d38cf5; }
.word-color { color: var(--word); }
.word-card { border: 1px solid var(--word); border-top-width: 4px; }
.word-button { color: var(--word); border: 1px solid var(--word); background: transparent; }
.word-button:hover, .word-button:focus-visible { color: var(--bs-body-bg); background: var(--word); border-color: var(--word); }
