/* Campos de seleção no padrão visual do site e do sistema. */

/* Campo fechado: igual aos outros campos, com seta própria. Vale em todos os navegadores. */
select{
  -webkit-appearance:none;appearance:none;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B2424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:18px;
  padding-right:44px !important;
  cursor:pointer;
  color:#0B2424;
  transition:border-color .15s, box-shadow .15s;
}
select:hover{border-color:#14937D !important}
select:focus-visible{outline:none;border-color:#14937D !important;box-shadow:0 0 0 3px rgba(20,147,125,.18)}
select:disabled{opacity:.6;cursor:not-allowed}

/* Lista de opções personalizável: Edge e Chrome recentes.
   Nos outros navegadores a lista aberta continua a do sistema, com o campo fechado já estilizado. */
@supports (appearance: base-select){
  select{appearance:base-select;background-image:none}
  select::picker-icon{
    content:"";width:18px;height:18px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B2424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/18px no-repeat;
    transition:transform .2s;
  }
  select:open::picker-icon{transform:rotate(180deg)}
  select{display:flex;align-items:center;padding-right:14px !important}
  ::picker(select){
    appearance:base-select;
    border:1px solid #DDE8E6;border-radius:14px;padding:6px;margin-top:6px;
    background:#fff;box-shadow:0 18px 44px -18px rgba(11,36,36,.35);
    max-height:min(360px,60vh);overflow:auto;
  }
  select option{
    display:flex;align-items:center;gap:10px;
    padding:11px 12px;border-radius:10px;font-size:15px;color:#0B2424;cursor:pointer;
    min-height:44px;white-space:normal;
  }
  select option:hover,select option:focus-visible{background:#F2F7F6;outline:none}
  select option:checked{background:#E3F3EF;color:#0E5A4C;font-weight:600}
  select option::checkmark{content:"✓";color:#14937D;font-weight:700;order:1;margin-left:auto}
  select option:disabled{color:#9AB0AC;cursor:default}
}

/* Caixa de consentimento (LGPD) nos formulários */
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.5;color:#3F5D5A;cursor:pointer}
.consent input{flex:0 0 auto;width:18px;height:18px;margin:2px 0 0;accent-color:#14937D;cursor:pointer}
.consent a{color:#0F6E5C;text-decoration:underline}
