::ng-deep .custom-dialog .mat-dialog-container {
  padding: 2rem;
  border-radius: 16px;
  max-height: 90vh;
  overflow-y: auto;
}
:host {
  display: block;
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-actions {
  grid-column: 1 / -1; // botón ocupa todo el ancho
  text-align: right;
  margin-top: 1.5rem;
}

