/*
 * Tatar Forms — Frontend styles
 * Visitor-facing form only. Does not affect wp-admin.
 */

.tf-form {
  --tf-paper: #f5efe3;
  --tf-ink: #14110d;
  --tf-ink-2: #332c24;
  --tf-muted: #6b6353;
  --tf-line: #c4bca8;
  --tf-line-strong: #8e8574;
  --tf-mark: #4e3a8a;
  --tf-mark-soft: #8e7cc5;
  --tf-error: #9f2f2f;
  --tf-success: #35684c;
  --tf-display: "Bebas Neue", "Arial Narrow", "Impact", system-ui, sans-serif;
  --tf-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --tf-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px 20px;

  width: 100%;
  padding: clamp(26px, 4vw, 52px);

  background: var(--tf-paper);
  color: var(--tf-ink);
  border: 1px solid rgba(20, 17, 13, 0.22);

  font-family: var(--tf-sans);

  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
}

.tf-form,
.tf-form * {
  box-sizing: border-box;
}

.tf-form__text,
.tf-form__field--textarea,
.tf-form__field--radio,
.tf-form__field--checkbox,
.tf-form__field--consent,
.tf-form__status,
.tf-form__submit {
  grid-column: 1 / -1;
}

.tf-form__text {
  padding-bottom: 22px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(20, 17, 13, 0.18);

  color: var(--tf-ink-2);
  font-size: 14px;
  line-height: 1.65;
}

.tf-form__text > :first-child {
  margin-top: 0;
}

.tf-form__text > :last-child {
  margin-bottom: 0;
}

.tf-form__text h1,
.tf-form__text h2,
.tf-form__text h3,
.tf-form__text h4,
.tf-form__text h5,
.tf-form__text h6 {
  margin: 0 0 10px;
  color: var(--tf-ink);
  font-family: var(--tf-sans);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.tf-form__text h2 {
  font-size: 42px;
  line-height: 1;
}

.tf-form__text h3 {
  font-size: 36px;
  line-height: 1;
}

.tf-form__text p,
.tf-form__text ul,
.tf-form__text ol {
  margin: 0 0 12px;
}

.tf-form__text ul,
.tf-form__text ol {
  padding-left: 20px;
}

.tf-form__text a {
  color: var(--tf-mark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tf-form__field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.tf-form__label {
  display: block;
  margin: 0;

  color: var(--tf-ink);
  font-family: var(--tf-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tf-form__label span {
  color: var(--tf-mark);
}

.tf-form input[type="text"],
.tf-form input[type="email"],
.tf-form input[type="tel"],
.tf-form input[type="number"],
.tf-form input[type="date"],
.tf-form input[type="file"],
.tf-form select,
.tf-form textarea {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;

  border: 1px solid var(--tf-line);
  border-radius: 0;
  outline: none;

  background: rgba(255, 255, 255, 0.32);
  color: var(--tf-ink);

  font-family: var(--tf-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  box-shadow: none;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.tf-form input[type="text"],
.tf-form input[type="email"],
.tf-form input[type="tel"],
.tf-form input[type="number"],
.tf-form input[type="date"],
.tf-form select {
  height: 50px;
  min-height: 50px;
  padding: 0 14px;
}

.tf-form textarea {
  height: 142px;
  min-height: 142px;
  padding: 13px 14px;
  resize: vertical;
}

.tf-form input[type="file"] {
  height: 50px;
  min-height: 50px;
  padding: 8px 10px;
  cursor: pointer;
}

.tf-form input[type="text"]:hover,
.tf-form input[type="email"]:hover,
.tf-form input[type="tel"]:hover,
.tf-form input[type="number"]:hover,
.tf-form input[type="date"]:hover,
.tf-form input[type="file"]:hover,
.tf-form select:hover,
.tf-form textarea:hover {
  border-color: var(--tf-line-strong);
  background: rgba(255, 255, 255, 0.5);
}

.tf-form input[type="text"]:focus,
.tf-form input[type="email"]:focus,
.tf-form input[type="tel"]:focus,
.tf-form input[type="number"]:focus,
.tf-form input[type="date"]:focus,
.tf-form input[type="file"]:focus,
.tf-form select:focus,
.tf-form textarea:focus {
  border-color: var(--tf-mark);
  background: #fffaf1;
  box-shadow: 0 0 0 3px rgba(78, 58, 138, 0.1);
}

.tf-form input::placeholder,
.tf-form textarea::placeholder {
  color: #8a8173;
  opacity: 1;
}

.tf-form select {
  cursor: pointer;
  color: var(--tf-ink);
}

.tf-form input[type="date"] {
  color-scheme: light;
}

.tf-form input[type="file"]::file-selector-button {
  height: 32px;
  margin: 0 13px 0 0;
  padding: 0 12px;

  border: 1px solid var(--tf-ink);
  border-radius: 0;

  background: var(--tf-ink);
  color: var(--tf-paper);

  font-family: var(--tf-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}

.tf-form input[type="file"]::file-selector-button:hover {
  background: var(--tf-mark);
  border-color: var(--tf-mark);
}

.tf-form__description {
  margin: 0;
  color: var(--tf-muted);
  font-size: 14px;
  line-height: 1.5;
}

.tf-form__choices {
  display: grid;
  gap: 10px;
}

.tf-form__choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin: 0;
  color: var(--tf-ink-2);

  font-family: var(--tf-sans);
  font-size: 13px;
  line-height: 1.5;

  cursor: pointer;
}

.tf-form__choice input[type="checkbox"],
.tf-form__choice input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;

  accent-color: var(--tf-mark);
  cursor: pointer;
}

.tf-form__choice a {
  color: var(--tf-mark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tf-form__field--consent,
.tf-form__field--checkbox,
.tf-form__field--marketing_consent {
  padding-top: 2px;
}

.tf-form__field-error {
  min-height: 0;
  margin: 0;

  color: var(--tf-error);
  font-family: var(--tf-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.tf-form__field-error:empty {
  display: none;
}

.tf-form__status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.tf-form__status:empty {
  display: none;
}

.tf-form__status.is-success,
.tf-form__status.is-error {
  padding: 13px 14px;
  border: 1px solid rgba(20, 17, 13, 0.22);
  background: rgba(255, 255, 255, 0.38);
}

.tf-form__status.is-success {
  border-color: rgba(53, 104, 76, 0.42);
  color: var(--tf-success);
}

.tf-form__status.is-error {
  border-color: rgba(159, 47, 47, 0.42);
  color: var(--tf-error);
}

.tf-form__submit {
  /* Mirrors the theme's .tart-button--primary so every CTA on the site matches. */
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: 46px;
  /* No right padding: the 48px icon cell runs to the edge so the arrow is centred after the rule. */
  padding: 0 0 0 20px;

  border: 1px solid var(--tf-mark);
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;

  background: var(--tf-mark);
  color: #fffaf0;
  text-shadow: 0 1px 0 rgba(20, 17, 13, 0.2);

  font-family: var(--tf-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;

  cursor: pointer;

  -webkit-clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

/* Icon cell: 1px left rule + 18px arrow, both painted in currentColor via mask layers. */
.tf-form__submit::after {
  content: "";
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask:
    url("../icons/arrow-right.svg") calc(50% + 0.5px) center / 18px 18px no-repeat,
    linear-gradient(#000, #000) left center / 1px 100% no-repeat;
  mask:
    url("../icons/arrow-right.svg") calc(50% + 0.5px) center / 18px 18px no-repeat,
    linear-gradient(#000, #000) left center / 1px 100% no-repeat;
}

.tf-form__submit:hover,
.tf-form__submit:focus-visible {
  background: var(--tf-ink);
  border-color: var(--tf-ink);
  color: var(--tf-paper);
  transform: translateY(-1px);
}

.tf-form__submit:focus-visible {
  outline: 2px solid var(--tf-mark);
  outline-offset: 3px;
}

.tf-form__submit:disabled,
.tf-form.is-submitting .tf-form__submit {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

@media (max-width: 680px) {
  .tf-form {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 16px;

    clip-path: polygon(
      12px 0,
      100% 0,
      100% calc(100% - 12px),
      calc(100% - 12px) 100%,
      0 100%,
      0 12px
    );
  }

  .tf-form__text,
  .tf-form__field--textarea,
  .tf-form__field--radio,
  .tf-form__field--checkbox,
  .tf-form__field--consent,
  .tf-form__status,
  .tf-form__submit {
    grid-column: auto;
  }

  .tf-form__submit {
    justify-self: stretch;
    width: 100%;
  }
}

/* Per-field layout override managed by the Tatar Forms builder. */
.tf-form__field--full {
  grid-column: 1 / -1;
}

/* Inline six-digit email verification. */
.tf-form__email-verify-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.tf-form__verify-button,
.tf-form__verify-code-button,
.tf-form__verification-resend {
  border-radius: 0;
  font-family: var(--tf-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    opacity 0.16s ease;
}

.tf-form__verify-button,
.tf-form__verify-code-button {
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--tf-ink);
  background: var(--tf-ink);
  color: var(--tf-paper);
  white-space: nowrap;
}

.tf-form__verify-button:hover:not(:disabled),
.tf-form__verify-code-button:hover:not(:disabled) {
  border-color: var(--tf-mark);
  background: var(--tf-mark);
  color: #fff;
}

.tf-form__verify-button:disabled,
.tf-form__verify-code-button:disabled,
.tf-form__verification-resend:disabled {
  opacity: 0.58;
  cursor: default;
}

.tf-form__verify-button.is-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(53, 104, 76, 0.48);
  background: rgba(53, 104, 76, 0.1);
  color: var(--tf-success);
  opacity: 1;
}

.tf-form__verified-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 50%;
  background: var(--tf-success);
  fill: none;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-sizing: border-box;
}

.tf-form__verification {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.tf-form__verification[hidden],
.tf-form__verification-code-row[hidden],
.tf-form__verification-resend[hidden] {
  display: none !important;
}

.tf-form__verification-status {
  min-height: 0;
  color: var(--tf-muted);
  font-family: var(--tf-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.tf-form__verification-status.is-success {
  color: var(--tf-success);
}

.tf-form__verification-status.is-error {
  color: var(--tf-error);
}

.tf-form__verification-code-row {
  display: grid;
  grid-template-columns: minmax(0, 180px) auto;
  gap: 8px;
  justify-content: start;
}

.tf-form__verification-code-row input[type="text"] {
  font-family: var(--tf-mono);
  font-size: 17px;
  letter-spacing: 0.2em;
  text-align: center;
}

.tf-form__verification-resend {
  justify-self: start;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tf-mark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tf-form__verification-resend:hover:not(:disabled) {
  color: var(--tf-ink);
}

@media (max-width: 680px) {
  .tf-form__email-verify-control,
  .tf-form__verification-code-row {
    grid-template-columns: 1fr;
  }

  .tf-form__verify-button,
  .tf-form__verify-code-button {
    width: 100%;
  }
}

/* Managed file uploader with independent preview, replace and remove actions. */
.tf-form__file-upload {
  position: relative;
  display: grid;
  gap: 10px;
}

.tf-form .tf-form__file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tf-form__file-choose {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 118px;
  padding: 20px;
  border: 1px dashed var(--tf-line-strong);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.24);
  color: var(--tf-ink);
  font-family: var(--tf-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.tf-form__file-choose:hover,
.tf-form__file-choose:focus-visible {
  border-color: var(--tf-mark);
  background: rgba(142, 124, 197, 0.1);
  color: var(--tf-mark);
  outline: none;
}

.tf-form__file-choose[hidden] {
  display: none;
}

.tf-form__file-previews {
  display: grid;
  gap: 10px;
}

.tf-form__file-previews:empty {
  display: none;
}

.tf-form__file-preview {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--tf-line);
  background: rgba(255, 255, 255, 0.36);
}

.tf-form__file-preview-visual {
  display: grid;
  place-items: center;
  width: 86px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--tf-ink);
  color: var(--tf-paper);
  font-family: var(--tf-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: zoom-in;
}

.tf-form__file-preview-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf-form__file-preview-visual--document {
  cursor: default;
}

.tf-form__file-preview-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tf-form__file-preview-info strong,
.tf-form__file-preview-info small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-form__file-preview-info strong {
  color: var(--tf-ink);
  font-size: 12px;
}

.tf-form__file-preview-info small {
  color: var(--tf-muted);
  font-family: var(--tf-mono);
  font-size: 12px;
}

.tf-form__file-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 2;
}

.tf-form__file-preview-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tf-mark);
  font-family: var(--tf-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.tf-form__file-preview-actions button:hover,
.tf-form__file-preview-actions button:focus-visible {
  color: var(--tf-ink);
  outline: none;
}

.tf-form__file-status {
  color: var(--tf-muted);
  font-family: var(--tf-mono);
  font-size: 14px;
  line-height: 1.4;
}

.tf-form__file-status:empty {
  display: none;
}

.tf-form__file-status.is-error {
  color: var(--tf-error);
}

.tf-file-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 17, 13, 0.88);
  backdrop-filter: blur(5px);
}

.tf-file-lightbox[hidden] {
  display: none;
}

.tf-file-lightbox__content {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
}

.tf-file-lightbox__content img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.tf-file-lightbox__content p {
  margin: 0;
  color: #f5efe3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}

.tf-file-lightbox__close {
  position: fixed;
  z-index: 1;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: rgba(20, 17, 13, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 680px) {
  .tf-form__file-preview {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .tf-form__file-preview-visual {
    width: 72px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-form__submit { transition: none; }
  .tf-form__submit:hover,
  .tf-form__submit:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
 * Custom select (enhances the native <select>, which stays hidden as the
 * value holder). The panel is portalled to <body>, so it carries its own
 * copy of the palette.
 * ------------------------------------------------------------------ */
.tf-select {
  position: relative;
  min-width: 0;
}

.tf-form .tf-select__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.tf-select__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 14px;

  border: 1px solid var(--tf-line);
  background: rgba(255, 255, 255, 0.32);
  color: var(--tf-muted);

  font-family: var(--tf-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;

  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.tf-select.has-value .tf-select__trigger {
  color: var(--tf-ink);
}

.tf-select__trigger:hover {
  border-color: var(--tf-line-strong);
  background: rgba(255, 255, 255, 0.5);
}

.tf-select__trigger:focus-visible,
.tf-select.is-open .tf-select__trigger {
  border-color: var(--tf-mark);
  background: #fffaf1;
  box-shadow: 0 0 0 3px rgba(78, 58, 138, 0.1);
}

.tf-select__trigger.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tf-select__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-select__arrow {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin: -4px 2px 0 0;
  border-right: 2px solid var(--tf-ink);
  border-bottom: 2px solid var(--tf-ink);
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease, border-color 0.16s ease;
}

.tf-select.is-open .tf-select__arrow {
  margin-top: 4px;
  transform: rotate(-135deg);
  border-color: var(--tf-mark);
}

.tf-select__panel {
  --tf-paper: #f5efe3;
  --tf-ink: #14110d;
  --tf-ink-2: #332c24;
  --tf-muted: #6b6353;
  --tf-line: #c4bca8;
  --tf-mark: #4e3a8a;
  --tf-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --tf-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  position: fixed;
  z-index: 99990;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  border: 1px solid var(--tf-ink);
  background: #fffaf1;
  box-shadow: 0 18px 38px -16px rgba(20, 17, 13, 0.45);

  transform-origin: top center;
  animation: tf-select-in 0.14s ease-out;
}

.tf-select__panel.is-up {
  transform-origin: bottom center;
  box-shadow: 0 -18px 38px -16px rgba(20, 17, 13, 0.45);
}

.tf-select__panel[hidden] {
  display: none;
}

.tf-select__list {
  box-sizing: border-box;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--tf-line) transparent;
}

.tf-select__option {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 10px 40px 10px 14px;

  color: var(--tf-ink-2);
  font-family: var(--tf-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tf-select__option + .tf-select__option {
  border-top: 1px solid rgba(20, 17, 13, 0.08);
}

.tf-select__option.is-placeholder {
  color: var(--tf-muted);
  font-weight: 500;
}

.tf-select__option.is-active {
  background: rgba(78, 58, 138, 0.09);
  color: var(--tf-ink);
}

.tf-select__option[aria-selected="true"] {
  color: var(--tf-mark);
}

.tf-select__option[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 5px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--tf-mark);
  border-bottom: 2px solid var(--tf-mark);
  transform: rotate(45deg);
}

.tf-select__option[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

@keyframes tf-select-in {
  from {
    opacity: 0;
    transform: scaleY(0.96);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-select__panel {
    animation: none;
  }
  .tf-select__arrow {
    transition: none;
  }
}
