/* Support page - extends .vl-contact-form from site-wide.css */

.vl-support-intro {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  line-height: 1.55;
  opacity: 0.92;
}

.vl-support-form.vl-contact-form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  font: inherit;
  line-height: 1.4;
  cursor: pointer;
}

.vl-support-form.vl-contact-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent, #ff2b2b) 70%, transparent);
  outline-offset: 1px;
}

body.vl-theme-middle .vl-support-form.vl-contact-form select {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.vl-support-form__file {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.vl-support-form__file::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

body.vl-theme-middle .vl-support-form__file::file-selector-button {
  border-color: rgba(0, 0, 0, 0.28);
}

.vl-support-form__file-hint {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  opacity: 0.78;
  line-height: 1.45;
}

.vl-support-form__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.vl-support-form__preview {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
}

body.vl-theme-middle .vl-support-form__preview {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.04);
}

.vl-support-form__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vl-support-form__preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.vl-support-form__status {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.vl-support-form__status--error {
  color: color-mix(in srgb, var(--color-accent, #ff2b2b) 88%, #fff);
}

.vl-support-form__status--busy {
  opacity: 0.85;
}

.vl-support-form__actions .vl-liquid-btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.vl-support-thanks__actions {
  margin-top: 1.5rem;
}
