/* BARMO — Fase 2.6.0 Data Guard / Recuperação */
.barmo-dg-panel {
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fbfdff, #fff);
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);
}

.barmo-dg-hint {
  margin: 0 0 12px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.barmo-dg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.barmo-dg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #cfe1f3;
  border-radius: 999px;
  background: #eef6ff;
  color: #102a43;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.barmo-dg-btn:hover {
  background: #e3f0ff;
  border-color: #b8d2ec;
  transform: none;
}

.barmo-dg-btn.primary {
  background: linear-gradient(180deg, #173b5d, #102a43);
  color: #fff;
  border-color: transparent;
}

.barmo-dg-btn.warn {
  background: #fff4d6;
  color: #7a5a00;
  border-color: #efd184;
}

.barmo-dg-file-label {
  cursor: pointer;
}

.barmo-dg-file-label input {
  display: none;
}

.barmo-dg-output {
  margin: 12px 0 0;
  padding: 10px 12px;
  max-height: 220px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #172033;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-all;
}

.barmo-dg-origem {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.barmo-dg-origem-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px;
}

.barmo-dg-origem-row .label {
  color: #667085;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.barmo-dg-origem-row .value,
.barmo-dg-origem-row code {
  color: #102a43;
  font-weight: 700;
  word-break: break-all;
}

.barmo-dg-alert {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff4d6;
  border: 1px solid #efd184;
  color: #684600;
  font-size: 12px;
  font-weight: 800;
}

.barmo-data-guard-block h3 {
  margin: 0 0 10px;
  color: #102a43;
  font-size: 14px;
}

.barmo-dg-diagnostico {
  margin-bottom: 12px;
}

.barmo-dg-diagnostico-title {
  margin: 0 0 8px;
  color: #102a43;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .barmo-dg-origem-row {
    grid-template-columns: 1fr;
  }
  .barmo-dg-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .barmo-dg-btn {
    width: 100%;
  }
}
