.wl-dados-alert {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  line-height: 1.6;
}

.wl-dados-alert ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.wl-dados-alert-success {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.wl-dados-alert-danger {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.wl-dados-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px;
  overflow-x: auto;
  background: #f5f7fa;
  border: 1px solid var(--borda);
  border-radius: 14px;
}

.wl-dados-tab {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  color: #475569;
  background: transparent;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.wl-dados-tab.active {
  color: #fff;
  background: var(--azul, #0d3566);
}

.wl-dados-panel {
  display: none;
}

.wl-dados-panel.active {
  display: block;
}

.wl-dados-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
}

.wl-dados-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.wl-dados-grid label > span {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.wl-dados-grid input,
.wl-dados-grid select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  background: #fff;
  font: inherit;
}

.wl-dados-grid input:focus,
.wl-dados-grid select:focus {
  border-color: var(--azul, #0d3566);
  outline: 3px solid rgba(13, 53, 102, .12);
}

.wl-dados-grid small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.wl-dados-span-2 {
  grid-column: span 2;
}

.wl-dados-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.area-wl-cadastro-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid;
  border-radius: 16px;
}

.area-wl-cadastro-status strong,
.area-wl-cadastro-status p {
  margin: 0;
}

.area-wl-cadastro-status p {
  margin-top: 4px;
  line-height: 1.55;
}

.area-wl-cadastro-incompleto {
  color: #7c2d12;
  background: #fff7ed;
  border-color: #fed7aa;
}

.area-wl-cadastro-completo {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

@media (max-width: 768px) {
  .wl-dados-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .wl-dados-span-2 {
    grid-column: auto;
  }

  .wl-dados-actions,
  .area-wl-cadastro-status {
    align-items: stretch;
    flex-direction: column;
  }

  .wl-dados-actions .btn,
  .wl-dados-actions .btn-primary,
  .area-wl-cadastro-status .btn-primary,
  .area-wl-cadastro-status .btn-secondary {
    justify-content: center;
    width: 100%;
  }
}
