/**
 * Campos de formulário e botões sem cantos arredondados (sobrescreve rounded-* do Tailwind).
 * Bordas de botões: escopo `body` + !important para vencer utilitários Tailwind (CDN injeta CSS depois).
 */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="color"],
textarea,
select {
  border-radius: 0 !important;
}

body button,
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  border-radius: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
}

/**
 * `<a class="… border …">` — utilitário `border` do Tailwind (1px em todos os lados).
 * Não remove `border-b` / `border-t` etc. (não usam a classe isolada `border`).
 */
body a[class~="border"] {
  border-width: 0 !important;
  border-style: none !important;
}

/* Labels estilo cartão/botão (ex.: opções de rádio em configurações) */
body label[class~="border"] {
  border-width: 0 !important;
  border-style: none !important;
}

/* Links com token exato bg-primary (evita casar hover:bg-primary-dark) */
a[class~="bg-primary"],
body a[class~="bg-primary"] {
  border-radius: 0 !important;
}

/* Botão “Escolher arquivo” nativo */
::file-selector-button,
body ::file-selector-button {
  border-radius: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
}

/* Login e outros que usam a classe .rp-input */
.rp-input {
  border-radius: 0 !important;
}
