/* Ouvidoria — layout conforme formulário Grupo MTC / Eximport */

.exi-ombudsman-main {
  background: #fff;
  padding: 0;
  min-height: 60vh;
}

.exi-ombudsman-page {
  padding: 48px 16px 72px;
  font-family: var(--font, "Helvetica Neue", Helvetica, Arial, sans-serif);
}

.exi-ombudsman-inner {
  max-width: 980px;
  margin: 0 auto;
}

.exi-ombudsman-head {
  text-align: center;
  margin-bottom: 28px;
}

.exi-ombudsman-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: #4a4a4a;
  letter-spacing: 0.01em;
}

.exi-omb-type-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.exi-omb-type {
  appearance: none;
  border: 0;
  background: linear-gradient(165deg, #2c6938 0%, #1f4d29 48%, #163d20 100%);
  color: #fff;
  border-radius: 4px;
  padding: 14px 10px 16px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s, filter 0.15s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.exi-omb-type:hover,
.exi-omb-type.is-active {
  background: linear-gradient(165deg, #245a30 0%, #163d20 55%, #0f2a16 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 61, 32, 0.35);
}

.exi-omb-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: #fff;
}

.exi-omb-type-icon svg {
  width: 28px;
  height: 28px;
}

.exi-omb-type strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.exi-omb-type small {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  opacity: 0.92;
  font-weight: 400;
}

.exi-omb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exi-omb-field {
  display: block;
}

.exi-omb-field input,
.exi-omb-field select,
.exi-omb-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 2px;
  background: #ececec;
  color: #333;
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: box-shadow 0.2s, background 0.2s;
}

.exi-omb-field input::placeholder,
.exi-omb-field textarea::placeholder {
  color: #888;
}

.exi-omb-field input:focus,
.exi-omb-field select:focus,
.exi-omb-field textarea:focus {
  background: #e4e4e4;
  box-shadow: inset 0 0 0 2px rgba(44, 105, 56, 0.4);
}

.exi-omb-field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.exi-omb-field textarea {
  resize: vertical;
  min-height: 140px;
}

.exi-omb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.exi-omb-ident {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  background: #ececec;
  border-radius: 2px;
  padding: 12px 16px;
}

.exi-omb-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  margin: 0;
}

.exi-omb-radio input {
  width: 16px;
  height: 16px;
  accent-color: #2c6938;
}

.exi-omb-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.exi-omb-submit {
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(165deg, #2c6938 0%, #1a4224 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, filter 0.15s;
}

.exi-omb-submit:hover:not(:disabled) {
  background: linear-gradient(165deg, #245a30 0%, #0f2a16 100%);
  transform: translateY(-1px);
}

.exi-omb-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.exi-omb-error {
  margin: 0;
  color: #b42318;
  font-weight: 600;
  font-size: 14px;
}

.exi-omb-success {
  margin: 0;
  color: #0c6937;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px;
  background: rgba(12, 105, 55, 0.08);
  border-radius: 4px;
}

.exi-omb-ident-fields.is-anonymous {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .exi-omb-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .exi-ombudsman-page {
    padding-top: 32px;
  }

  .exi-omb-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exi-omb-row {
    grid-template-columns: 1fr;
  }

  .exi-omb-type {
    min-height: 118px;
    padding: 12px 8px;
  }
}
