@charset "UTF-8";
:root {
  --color-primary: #0b4f6c;
  --color-primary-dark: #073a51;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a2530;
  background: #f4f6f8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: #1a2530;
}

h2 {
  font-size: 1.375rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-underline-offset: 2px;
}

::selection {
  background: rgba(11, 79, 108, 0.2);
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

main.container {
  display: block;
  padding: 1.5rem 0 2rem;
}

.site-header {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}
.site-header .lead {
  margin: 0.25rem 0 0;
  opacity: 0.75;
  font-size: 0.875rem;
}

.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.brand-logo {
  max-height: 44px;
  max-width: 220px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.brand-tagline {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2rem;
  color: #5c6773;
  font-size: 0.875rem;
  text-align: center;
}

.card {
  background: #ffffff;
  border: 1px solid #dde3e8;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 32, 0.07), 0 4px 10px rgba(16, 24, 32, 0.04);
  padding: 1.5rem;
  margin: 0 0 1.5rem;
}
.card:last-child {
  margin-bottom: 0;
}
.card > h2:first-child, .card > h3:first-child {
  margin-top: 0;
}

.home .card p {
  color: #5c6773;
}

.form-card + .card {
  margin-top: 1.5rem;
}

.voltar-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.voltar-link:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(11, 79, 108, 0.08);
}

.btn-danger {
  background: #ffffff;
  color: #b3261e;
  border-color: rgba(179, 38, 30, 0.5);
}
.btn-danger:hover:not(:disabled) {
  background: rgba(179, 38, 30, 0.08);
}

.btn-mt {
  margin-top: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-recebida {
  background: rgba(58, 91, 160, 0.12);
  color: #3a5ba0;
}

.badge-em_analise {
  background: rgba(161, 92, 0, 0.14);
  color: #a15c00;
}

.badge-aguarda_informacao {
  background: rgba(140, 87, 199, 0.14);
  color: #7a3fc0;
}

.badge-concluida {
  background: rgba(28, 122, 77, 0.14);
  color: #1c7a4d;
}

.badge-arquivada {
  background: rgba(108, 117, 125, 0.16);
  color: #6c757d;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 24, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.modal[hidden] {
  display: none;
}

.modal-content {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.16);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: modal-in 0.18s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.codigo-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  background: #f4f6f8;
  border: 1px dashed #c7cfd6;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
}
.codigo-display code {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  word-break: break-all;
  color: var(--color-primary-dark);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0.5rem;
}
.status-grid dt {
  font-weight: 600;
  color: #5c6773;
  font-size: 0.875rem;
}
.status-grid dd {
  margin: 0 0 0.5rem;
}
@media (min-width: 768px) {
  .status-grid {
    grid-template-columns: 260px 1fr;
    column-gap: 1rem;
  }
  .status-grid dd {
    margin-bottom: 0;
  }
}

.mensagens-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mensagens-list li {
  border-radius: 10px;
  padding: 0.5rem 1rem;
  background: #f4f6f8;
  border: 1px solid #dde3e8;
  max-width: 85%;
}
.mensagens-list li.autor-gestor {
  border-left: 3px solid var(--color-primary);
  align-self: flex-end;
  background: rgba(11, 79, 108, 0.05);
}
.mensagens-list li.autor-denunciante {
  border-left: 3px solid #6c757d;
  align-self: flex-start;
}
.mensagens-list p {
  margin: 0;
  white-space: pre-wrap;
}
.mensagens-list .mensagem-meta {
  display: block;
  font-size: 0.75rem;
  color: #5c6773;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.anexos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.anexos-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #dde3e8;
}
.anexos-list li:last-child {
  border-bottom: none;
}
.anexos-list li.anexo-imagem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.anexos-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}
.anexos-list a:hover {
  text-decoration: underline;
}

.anexo-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #dde3e8;
  flex-shrink: 0;
  background: #f4f6f8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.rte {
  border: 1px solid #dde3e8;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  background: #f4f6f8;
  border-bottom: 1px solid #dde3e8;
}
.rte-toolbar .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.2;
}

.rte-editor {
  min-height: 320px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.5rem;
  font-size: 16px;
  line-height: 1.55;
  color: #1a2530;
}
.rte-editor:focus {
  outline: 2px solid var(--color-primary, #0b4f6c);
  outline-offset: -2px;
}
.rte-editor h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}
.rte-editor h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.5rem;
}
.rte-editor p {
  margin: 0 0 1rem;
}
.rte-editor ul, .rte-editor ol {
  margin: 0 0 1rem 1.5rem;
}
.rte-editor blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid #c7cfd6;
  color: #5c6773;
}
.rte-editor a {
  color: var(--color-primary, #0b4f6c);
}

.conteudo-legal h1 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.conteudo-legal h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}
.conteudo-legal h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.5rem;
}
.conteudo-legal p, .conteudo-legal li {
  line-height: 1.55;
}
.conteudo-legal ul, .conteudo-legal ol {
  margin: 0 0 1rem 1.5rem;
}

.aviso-rgpd {
  padding: 1rem;
  background: #f4f6f8;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.cron-manual {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dde3e8;
}
.cron-manual input[readonly] {
  font-family: monospace;
  font-size: 0.875rem;
  background: #f4f6f8;
}

.btn.btn-perigo {
  border-color: #b3261e;
  color: #b3261e;
}
.btn.btn-perigo:hover {
  background: #b3261e;
  color: #fff;
}

.aviso-retencao {
  padding: 0.5rem 1rem;
  background: rgba(58, 91, 160, 0.08);
  border-left: 3px solid #3a5ba0;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.canal-verbal-numero {
  font-size: 1.25rem;
  font-weight: 700;
}
.canal-verbal-numero a {
  color: var(--color-primary, #0b4f6c);
  text-decoration: none;
}
.canal-verbal-numero a:hover {
  text-decoration: underline;
}

.form-card {
  background: #ffffff;
  border: 1px solid #dde3e8;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 32, 0.07), 0 4px 10px rgba(16, 24, 32, 0.04);
  padding: 1.5rem;
}

.form-section {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.form-section legend {
  font-weight: 700;
  padding: 0 0 0.5rem;
  width: 100%;
  border-bottom: 1px solid #dde3e8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.form-section[hidden] {
  display: none;
}

.form-field {
  margin-bottom: 1rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: #1a2530;
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=tel],
.form-field input[type=password],
.form-field input[type=number],
.form-field input[type=date],
.form-field input[type=file],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c7cfd6;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  background: #ffffff;
  color: #1a2530;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input[type=text]::placeholder,
.form-field input[type=email]::placeholder,
.form-field input[type=tel]::placeholder,
.form-field input[type=password]::placeholder,
.form-field input[type=number]::placeholder,
.form-field input[type=date]::placeholder,
.form-field input[type=file]::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
  color: #5c6773;
  opacity: 0.8;
}
.form-field input[type=text]:hover,
.form-field input[type=email]:hover,
.form-field input[type=tel]:hover,
.form-field input[type=password]:hover,
.form-field input[type=number]:hover,
.form-field input[type=date]:hover,
.form-field input[type=file]:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #6c757d;
}
.form-field input[type=text]:focus,
.form-field input[type=email]:focus,
.form-field input[type=tel]:focus,
.form-field input[type=password]:focus,
.form-field input[type=number]:focus,
.form-field input[type=date]:focus,
.form-field input[type=file]:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 79, 108, 0.15);
}
.form-field input[type=text].field-invalid,
.form-field input[type=email].field-invalid,
.form-field input[type=tel].field-invalid,
.form-field input[type=password].field-invalid,
.form-field input[type=number].field-invalid,
.form-field input[type=date].field-invalid,
.form-field input[type=file].field-invalid,
.form-field select.field-invalid,
.form-field textarea.field-invalid {
  border-color: #b3261e;
}
.form-field input[type=text].field-invalid:focus,
.form-field input[type=email].field-invalid:focus,
.form-field input[type=tel].field-invalid:focus,
.form-field input[type=password].field-invalid:focus,
.form-field input[type=number].field-invalid:focus,
.form-field input[type=date].field-invalid:focus,
.form-field input[type=file].field-invalid:focus,
.form-field select.field-invalid:focus,
.form-field textarea.field-invalid:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235c6773'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1.1em;
  padding-right: 2.2rem;
}
.form-field input[type=file] {
  padding: 0.45rem;
  cursor: pointer;
  color: #5c6773;
}
.form-field input[type=file]::file-selector-button {
  padding: 0.4rem 0.8rem;
  margin-right: 0.5rem;
  border: none;
  border-radius: 6px;
  background: rgba(11, 79, 108, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.form-field input[type=file]::file-selector-button:hover {
  background: rgba(11, 79, 108, 0.18);
}
.form-field textarea {
  resize: vertical;
  min-height: 6rem;
}
.form-field .field-error {
  color: #b3261e;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .radio-group {
    flex-direction: row;
  }
}

.radio-option {
  flex: 1;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  border: 1px solid #c7cfd6;
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.radio-option:hover {
  border-color: var(--color-primary);
}
.radio-option:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(11, 79, 108, 0.05);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.radio-option input {
  margin-top: 4px;
  accent-color: var(--color-primary);
}
.radio-option strong {
  display: block;
  margin-bottom: 2px;
}
.radio-option small {
  display: block;
  color: #5c6773;
  font-size: 0.875rem;
}

.form-mensagens:empty {
  display: none;
}
.form-mensagens {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-mensagens.is-error {
  background: rgba(179, 38, 30, 0.08);
  color: #b3261e;
  border: 1px solid rgba(179, 38, 30, 0.3);
}
.form-mensagens.is-success {
  background: rgba(28, 122, 77, 0.08);
  color: #1c7a4d;
  border: 1px solid rgba(28, 122, 77, 0.3);
}

.form-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-inline textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c7cfd6;
  border-radius: 6px;
  font-family: inherit;
  min-height: 5rem;
}
.form-inline textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 79, 108, 0.15);
}
.form-inline .btn {
  align-self: flex-end;
}

body.admin {
  background: #f4f6f8;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.admin-sidebar {
  flex: 0 0 76px;
  width: 76px;
  background: #ffffff;
  border-right: 1px solid #dde3e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-x: visible;
  transition: flex-basis 0.15s ease, width 0.15s ease;
}
.admin-sidebar.is-expanded {
  flex-basis: 224px;
  width: 224px;
  align-items: stretch;
}
.admin-sidebar.is-expanded .admin-sidebar-brand {
  align-self: flex-start;
  width: auto;
  max-width: 180px;
  height: 56px;
  margin-left: 0.25rem;
  justify-content: flex-start;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  transition: width 0.15s ease, height 0.15s ease;
}
.admin-sidebar-brand img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-sidebar-brand-fallback {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.admin-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: none;
  color: #5c6773;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.15s ease, color 0.15s ease, width 0.15s ease;
}
.admin-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.admin-nav-item:hover {
  background: #f4f6f8;
  color: #1a2530;
}
.admin-nav-item.is-active {
  background: var(--color-primary);
  color: #fff;
}
.admin-nav-item .admin-nav-label {
  display: none;
}

.admin-sidebar:not(.is-expanded) .admin-nav-item.is-active .admin-nav-label {
  display: inline-flex;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.5rem;
  background: #1a2530;
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(16, 24, 32, 0.06);
  pointer-events: none;
  z-index: 20;
}

.admin-sidebar.is-expanded .admin-nav-item {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
  padding: 0 0.7rem;
}
.admin-sidebar.is-expanded .admin-nav-label {
  display: inline-flex;
  position: static;
  transform: none;
  background: none;
  color: inherit;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  box-shadow: none;
  pointer-events: auto;
}
.admin-sidebar.is-expanded #btn-sidebar-toggle svg {
  transform: rotate(180deg);
}

.admin-sidebar-toggle {
  margin-top: 0.5rem;
  color: #5c6773;
}
.admin-sidebar-toggle:hover {
  background: #f4f6f8;
  color: #1a2530;
}
.admin-sidebar-toggle svg {
  transition: transform 0.15s ease;
}

.admin-sidebar-user {
  position: relative;
  margin-top: 1rem;
}

.admin-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}
.admin-user-avatar:hover {
  opacity: 0.85;
}

.admin-user-menu {
  position: absolute;
  bottom: 0;
  left: calc(100% + 0.5rem);
  background: #ffffff;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.16);
  padding: 0.25rem;
  min-width: 190px;
  z-index: 30;
}
.admin-user-menu[hidden] {
  display: none;
}
.admin-user-menu .admin-user-menu-header {
  padding: 0.5rem 0.5rem 0.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #5c6773;
  border-bottom: 1px solid #dde3e8;
  margin-bottom: 0.25rem;
}
.admin-user-menu a, .admin-user-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.5rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a2530;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}
.admin-user-menu a svg, .admin-user-menu button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #5c6773;
}
.admin-user-menu a:hover, .admin-user-menu button:hover {
  background: #f4f6f8;
}

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #dde3e8;
  background: #ffffff;
}
.admin-topbar h1 {
  margin: 0;
  font-size: 1.4rem;
}

.admin-content {
  padding: 1.5rem 2rem;
  flex: 1;
}
@media (max-width: 768px) {
  .admin-content {
    padding: 1rem;
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid #dde3e8;
  border-left: 3px solid #c7cfd6;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 32, 0.07), 0 4px 10px rgba(16, 24, 32, 0.04);
  padding: 1rem;
}
.stat-card .stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}
.stat-card .stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #5c6773;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.stat-card.stat-card-recebida {
  border-left-color: #3a5ba0;
}
.stat-card.stat-card-em_analise {
  border-left-color: #a15c00;
}
.stat-card.stat-card-concluida {
  border-left-color: #1c7a4d;
}
.stat-card.stat-card-arquivada {
  border-left-color: #6c757d;
}

.admin-login-wrap {
  max-width: 380px;
}
.admin-login-wrap h1 {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  text-align: center;
  color: #5c6773;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filtros {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.filtros label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5c6773;
}
.filtros select {
  padding: 0.4rem 1.8rem 0.4rem 0.6rem;
  border: 1px solid #c7cfd6;
  border-radius: 6px;
  background-color: #ffffff;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16, 24, 32, 0.07), 0 4px 10px rgba(16, 24, 32, 0.04);
}

.admin-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #dde3e8;
  font-size: 0.875rem;
  white-space: nowrap;
}
.admin-table th {
  background: #f4f6f8;
  font-weight: 700;
  color: #5c6773;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.admin-table .th-ordenavel {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 1.4rem;
}
.admin-table .th-ordenavel:hover {
  color: #1a2530;
}
.admin-table .th-ordenavel::after {
  content: "⇅";
  position: absolute;
  right: 0.5rem;
  opacity: 0.35;
  font-size: 0.85em;
}
.admin-table .th-ordenavel.is-asc::after {
  content: "↑";
  opacity: 1;
  color: var(--color-primary);
}
.admin-table .th-ordenavel.is-desc::after {
  content: "↓";
  opacity: 1;
  color: var(--color-primary);
}
.admin-table tbody tr {
  transition: background-color 0.15s ease;
}
.admin-table tbody tr:hover {
  background: rgba(11, 79, 108, 0.035);
}
.admin-table tbody tr.linha-clicavel {
  cursor: pointer;
}
.admin-table tbody tr.linha-pendente {
  background: rgba(179, 38, 30, 0.06);
}
.admin-table tbody tr.linha-pendente:hover {
  background: rgba(179, 38, 30, 0.1);
}
.admin-table tr:last-child td {
  border-bottom: none;
}

.badge-pendente {
  background: rgba(179, 38, 30, 0.14);
  color: #b3261e;
}

.paginacao {
  display: flex;
  gap: 0.25rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.paginacao .btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
}

.form-inline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}
@media (min-width: 768px) {
  .form-inline-grid {
    grid-template-columns: repeat(3, 1fr) auto;
  }
}
.form-inline-grid .form-field {
  margin-bottom: 0;
}

.acoes-gestor {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.acoes-gestor .btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
}

.form-field-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form-field-row {
    flex-direction: row;
  }
  .form-field-row .form-field {
    flex: 1;
  }
}

input[type=color] {
  width: 100%;
  height: 42px;
  padding: 2px;
  border: 1px solid #c7cfd6;
  border-radius: 6px;
  cursor: pointer;
  background: #ffffff;
}

.logo-preview-wrap {
  margin-top: 0.5rem;
}
.logo-preview-wrap:empty {
  display: none;
}

.logo-preview {
  max-height: 60px;
  max-width: 220px;
  object-fit: contain;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  padding: 0.25rem;
  background: #ffffff;
}

.texto-ajuda {
  color: #5c6773;
  font-size: 0.875rem;
  font-weight: 400;
}

p.texto-ajuda {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.form-field-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}
.form-field-checkbox label input {
  width: auto;
  accent-color: var(--color-primary);
}

.teste-envio {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.teste-envio input {
  flex: 1;
  min-width: 220px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c7cfd6;
  border-radius: 6px;
}

/*# sourceMappingURL=main.css.map */
