/**
 * wee_communities — the app's own stylesheet, loaded through the $app_styles hook
 * (see the top of every view under system/apps/wee_communities/views/).
 *
 * It gets its own file rather than another section at the bottom of main.css for
 * the same reason digital_block and qr_code_generator do: this is a whole surface
 * with its own furniture — a feed, a thread with indentation, a vote pill — not a
 * form and a table. main.css is already past nine thousand lines.
 *
 * The rule inside here: no hardcoded accent. The app frame sets --wp-app-cor from
 * the apps table (#FFD447 for this one), so every highlight reads from that and
 * the day the card's colour changes, this follows. Only neutral greys and the
 * shared signal colours are written literally.
 *
 * Everything it can borrow, it borrows: wp-auth-campo and wp-auth-submit for the
 * forms, wp-edit-input--area for the composers, wp-paginacao for the pager,
 * wp-promo for the logged-out call to action, wp-scanner-panel__empty for the
 * empty states, wp-voltar for the back links.
 */

.wp-wc {
  margin-top: 1.25rem;
}

/* ----- the app root: a top bar, then the community grid ----- */

.wp-wc-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.wp-wc-topo__titulo {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
}

.wp-wc-topo__espaco {
  flex: 1 1 auto;
}

/* the create button rides on .wp-auth-submit for its look; this only strips the
   full-width block behaviour that class has everywhere else it is used */
.wp-wc-topo__criar {
  width: auto;
  white-space: nowrap;
}

.wp-wc-topo__filtro-ativo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.wp-wc-topo__filtro-ativo:hover {
  color: #ff8080;
  border-color: #ff8080;
}

.wp-wc-topo__filtro-ativo svg {
  width: 12px;
  height: 12px;
}

/* ----- the country filter, a native <details> ----- */

.wp-wc-filtro {
  position: relative;
}

.wp-wc-filtro__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.wp-wc-filtro__btn::-webkit-details-marker {
  display: none;
}

.wp-wc-filtro__btn svg {
  width: 13px;
  height: 13px;
}

.wp-wc-filtro[open] .wp-wc-filtro__btn {
  color: var(--wp-app-cor, #00f6ff);
  border-color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-filtro__painel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 0.4rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: max-content;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
}

.wp-wc-filtro__opcao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 4px;
}

.wp-wc-filtro__opcao:hover {
  background: rgba(255, 255, 255, 0.06);
}

.wp-wc-filtro__opcao--ativa {
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-filtro__conta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ----- the showcase grid ----- */

.wp-wc-vitrine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

@media (max-width: 720px) {
  .wp-wc-vitrine { grid-template-columns: 1fr; }
}

.wp-wc-vcard {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.wp-wc-vcard:hover {
  border-color: var(--wp-app-cor, #00f6ff);
}

/* the stand-in for a cover image (see the comment in vitrine_card.php) — kept to
   30% of a normal banner's height on purpose, so flat colour with nothing in it
   reads as trim rather than as an image that failed to load */
.wp-wc-vcard__faixa {
  height: 19px;
  background: linear-gradient(120deg, var(--wp-app-cor, #00f6ff), transparent 140%);
}

.wp-wc-vcard__corpo {
  padding: 1rem 1.1rem 1.1rem;
}

.wp-wc-vcard__cabeca {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.wp-wc-vcard__id {
  min-width: 0;
  text-decoration: none;
}

.wp-wc-vcard__nome {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-wc-vcard__id:hover .wp-wc-vcard__nome {
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-vcard__handle {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.wp-wc-vcard__entrar {
  flex: 0 0 auto;
  padding: 0.4rem 0.8rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #0a0a0a;
  text-decoration: none;
  background: var(--wp-app-cor, #00f6ff);
  border: 1px solid var(--wp-app-cor, #00f6ff);
  border-radius: 999px;
  cursor: pointer;
}

.wp-wc-vcard__entrar--on {
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.wp-wc-vcard__entrar--on:hover {
  color: #ff8080;
  border-color: #ff8080;
}

.wp-wc-vcard__descricao {
  margin: 0.7rem 0 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.wp-wc-vcard__stats {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.wp-wc-vcard__recentes {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wp-wc-vcard__recentes-rotulo {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
}

.wp-wc-vcard__chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wp-wc-vcard__chip {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  text-decoration: none;
}

.wp-wc-vcard__chip:hover {
  border-color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-vcard__chip-titulo {
  min-width: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-wc-vcard__chip-score {
  flex: 0 0 auto;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
}

.wp-wc-secao {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.wp-wc-secao__conta {
  margin-left: 0.4rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.55rem;
  color: var(--wp-app-cor, #00f6ff);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  vertical-align: middle;
}

.wp-wc-voltar {
  margin: 0 0 1rem;
}

/* ----- a post in a list ----- */

.wp-wc-posts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wp-wc-post,
.wp-wc-artigo {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  transition: border-color 0.18s ease;
}

.wp-wc-post:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

/* min-width: 0 on every grid child that holds text. Without it a single long
   unbroken word — a pasted URL in a post, someone's 60-character handle — sets
   the column's minimum to its own width and pushes the whole layout sideways,
   which is the one way a page like this breaks on a phone. */
.wp-wc-post__corpo,
.wp-wc-artigo__corpo,
.wp-wc-comment__corpo {
  min-width: 0;
}

.wp-wc-comentarios {
  margin-top: 2rem;
}

.wp-wc-post__voto,
.wp-wc-artigo__voto,
.wp-wc-comment__voto {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* the metadata line: community, who, when. Sans-serif and quiet — it is the one
   part of a post nobody is here to read */
.wp-wc-post__meta,
.wp-wc-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.4rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.wp-wc-post__comunidade {
  color: var(--wp-app-cor, #00f6ff);
  text-decoration: none;
}

.wp-wc-post__autor,
.wp-wc-comment__autor {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.wp-wc-post__comunidade:hover,
.wp-wc-post__autor:hover,
.wp-wc-comment__autor:hover {
  text-decoration: underline;
}

.wp-wc-post__ponto {
  color: rgba(255, 255, 255, 0.25);
}

.wp-wc-post__titulo {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  line-height: 1.6;
}

.wp-wc-post__titulo a {
  color: #fff;
  text-decoration: none;
}

.wp-wc-post__titulo a:hover {
  color: var(--wp-app-cor, #00f6ff);
}

/* prose, so system-ui: Press Start 2P is the chrome font here and a paragraph
   set in it is unreadable at any size */
.wp-wc-post__resumo,
.wp-wc-artigo__texto,
.wp-wc-comment__texto,
.wp-wc-card__descricao {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.wp-wc-post__rodape {
  margin: 0;
}

.wp-wc-post__rodape a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.wp-wc-post__rodape a:hover {
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-post__rodape svg {
  width: 15px;
  height: 15px;
}

/* ----- the vote pill ----- */

.wp-wc-voto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.3rem 0.35rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.wp-wc-voto svg {
  width: 18px;
  height: 18px;
}

.wp-wc-voto:hover {
  color: var(--wp-app-cor, #00f6ff);
  border-color: var(--wp-app-cor, #00f6ff);
}

/* liked: the one place on the page that glows, so the state is readable from the
   other side of the room */
.wp-wc-voto--on {
  color: var(--wp-app-cor, #00f6ff);
  border-color: var(--wp-app-cor, #00f6ff);
  box-shadow: 0 0 12px -4px var(--wp-app-cor, #00f6ff);
}

.wp-wc-voto__placar {
  min-width: 1.5em;
  text-align: center;
}

/* ----- a community card ----- */

.wp-wc-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.wp-wc-cards--grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.wp-wc-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.85rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  transition: border-color 0.18s ease;
}

.wp-wc-card:hover {
  border-color: var(--wp-app-cor, #00f6ff);
}

/* a <div> with a link inside rather than a link around everything, because the
   join button is a real <button> and cannot be nested in an <a> — the same reason
   the home grid's card had to be built this way for its favourite star */
.wp-wc-card__corpo {
  display: block;
  text-decoration: none;
}

.wp-wc-card__titulo {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-card__nome {
  margin: 0 0 0.3rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.wp-wc-card__numeros,
.wp-wc-cabecalho__numeros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.wp-wc-cabecalho__numeros a {
  color: rgba(255, 255, 255, 0.7);
}

/* ----- join / leave ----- */

.wp-wc-entrar {
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #0a0a0a;
  text-decoration: none;
  background: var(--wp-app-cor, #00f6ff);
  border: 1px solid var(--wp-app-cor, #00f6ff);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

/* already a member: the button stops shouting and becomes the quiet way out */
.wp-wc-entrar--on {
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.wp-wc-entrar--on:hover {
  color: #ff8080;
  border-color: #ff8080;
}

/* ----- a community's own header ----- */

.wp-wc-cabecalho {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.wp-wc-cabecalho__texto {
  flex: 1 1 320px;
  min-width: 0;
}

.wp-wc-cabecalho__handle {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-cabecalho__nome {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.wp-wc-cabecalho__acoes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: stretch;
}

.wp-wc-cabecalho__acoes .wp-auth-submit {
  width: auto;
  white-space: nowrap;
}

/* ----- the post page ----- */

.wp-wc-artigo {
  margin-bottom: 1.5rem;
}

.wp-wc-artigo__titulo {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #fff;
}

.wp-wc-artigo__texto {
  white-space: normal;
}

/* ----- comments ----- */

.wp-wc-composer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.wp-wc-composer textarea,
.wp-wc-reply textarea {
  width: 100%;
}

.wp-wc-threads {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wp-wc-thread {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.wp-wc-comment {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0;
}

/* the one level of nesting this app has. A left rule rather than plain padding,
   so the relationship survives on a narrow screen where the indent shrinks */
.wp-wc-comment--resposta {
  margin-left: 1.25rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 560px) {
  .wp-wc-comment--resposta { margin-left: 0.4rem; padding-left: 0.6rem; }
  .wp-wc-post,
  .wp-wc-artigo { grid-template-columns: 38px minmax(0, 1fr); padding: 0.75rem; }
}

.wp-wc-comment__texto {
  margin-bottom: 0.35rem;
}

.wp-wc-comment__texto--removido {
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

.wp-wc-comment__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.wp-wc-acao-form {
  display: inline;
}

.wp-wc-acao {
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.18s ease;
}

.wp-wc-acao:hover {
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-acao--perigo:hover {
  color: #ff8080;
}

.wp-wc-reply {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.6rem;
}

/* ----- the flag in front of a community's name ----- */

/* A touch larger than the text it sits next to: an emoji flag is drawn inside the
   glyph box with its own padding, so at matching font-size it reads noticeably
   smaller than the letters beside it. */
.wp-wc-bandeira {
  font-size: 1.15em;
  line-height: 1;
  vertical-align: -0.05em;
}

/* a community with no country renders this span empty — no country, no gap */
.wp-wc-bandeira:empty {
  display: none;
}

/* ----- the two forms ----- */

.wp-wc-formulario {
  max-width: 560px;
}

/* ----- opening a community ----- */
/*
   Centred in the page rather than left-aligned like the rest of the app, because
   this is the one screen here that is a single task with nothing beside it: no
   feed to scan, no panel, no next row. The column is narrow on purpose — a 24
   character address and a 60 character name have no use for 1100px, and a short
   measure is what makes a form feel finishable.
*/

.wp-wc-criar {
  max-width: 620px;
  margin: 0 auto;
}

.wp-wc-criar__hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

/* the one loud thing on the page: the app's own colour, glowing, above the title */
.wp-wc-criar__selo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1rem;
  color: var(--wp-app-cor, #00f6ff);
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0.35));
  border: 1px solid var(--wp-app-cor, #00f6ff);
  border-radius: 50%;
  box-shadow: 0 0 22px -6px var(--wp-app-cor, #00f6ff);
}

.wp-wc-criar__selo svg {
  width: 28px;
  height: 28px;
}

.wp-wc-criar__titulo {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
}

/* ----- the form itself ----- */

.wp-wc-criar__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* "c/" printed inside the field, so the address is read the way it will be read
   everywhere else instead of being described in a hint underneath */
.wp-wc-criar__prefixado {
  display: flex;
  align-items: stretch;
}

.wp-wc-criar__prefixo {
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--wp-app-cor, #00f6ff);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.wp-wc-criar__prefixado input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0 4px 4px 0;
}

/* ----- the country row ----- */

.wp-wc-criar__pais {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.wp-wc-criar__check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.wp-wc-criar__check input {
  width: 16px;
  height: 16px;
  accent-color: var(--wp-app-cor, #00f6ff);
  cursor: pointer;
  flex: 0 0 auto;
}

.wp-wc-criar__check span {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.wp-wc-criar__pais-lista {
  margin-top: 0.9rem;
}

.wp-wc-criar__pais-lista[hidden] {
  display: none;
}

.wp-wc-criar__pais-rotulo {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.6);
}

/* main.css already matches this element through `.wp-auth-campo select`. These
   rules restate the same look at equal specificity and win only because this
   stylesheet loads after main.css (header.php's $app_styles hook). They are here
   to pin the full-width sizing the country list needs, not to fight that rule —
   if the shared one ever changes, this is the block to reconcile it with. */
.wp-wc-criar__pais-lista select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.wp-wc-criar__pais-lista select:focus {
  outline: none;
  border-color: var(--wp-app-cor, #00f6ff);
}

/* the dropdown's own list is painted by the OS, which does not inherit the page's
   dark background — without this the options render black on black on some builds */
.wp-wc-criar__pais-lista option {
  color: #fff;
  background: #121212;
}

.wp-wc-criar__submit {
  justify-content: center;
}

/* ----- "you can change it later" ----- */

.wp-wc-criar__depois {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--wp-app-cor, #00f6ff);
  border-radius: 4px;
}

.wp-wc-criar__depois-icone {
  display: flex;
  flex: 0 0 auto;
  color: var(--wp-app-cor, #00f6ff);
}

.wp-wc-criar__depois-icone svg {
  width: 22px;
  height: 22px;
}

.wp-wc-criar__depois-titulo {
  margin: 0 0 0.35rem;
  font-size: 0.6rem;
  color: #fff;
}

.wp-wc-criar__depois-texto {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 560px) {
  .wp-wc-criar__selo { width: 52px; height: 52px; }
  .wp-wc-criar__selo svg { width: 24px; height: 24px; }
}

.wp-wc-nota {
  margin-top: 1.25rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.wp-wc-acoes-linha {
  margin-top: 1.5rem;
  max-width: 320px;
}

.wp-wc-side__links {
  margin: 0 0 1rem;
}
