.create-image-container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.loading-spinner {
  display: block;
  margin: 0 auto;
}

.mat-dialog-content.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.mat-dialog-content {
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-top: 1em;
}

.image-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.form-field {
  width: 100%;
  margin-bottom: 16px;
}

.partition-info-container {
  background-color: #f0f8ff;
  /* Un color de fondo suave */
  padding: 10px;
  border: 1px solid #ccc;
  margin-top: 10px;
  border-radius: 5px;
}

.warning-card {
  background-color: #ffebee;
  /* Rojo claro */
  color: #d32f2f;
  /* Rojo oscuro */
  padding: 16px;
  border-left: 5px solid #d32f2f;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.warning-card mat-icon {
  font-size: 24px;
}


/* Responsividad para pantallas pequeñas */
@media (max-width: 600px) {
  .form-field {
    width: 100%;
  }

  /* Alineación vertical para botones en pantallas pequeñas */
  .dialog-actions {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
    margin-left: 0;
    margin-bottom: 8px;
  }
}

.action-container {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  padding: 1.5em;
}